Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Data] Throw exception for non-streaming HF datasets with "override_n…
…um_blocks" argument (ray-project#47559) ## Why are these changes needed? As in the issue ray-project#47507, from_huggingface() does not support override_num_blocks for non-streaming HF Datasets, so we should throw exception, also we need to pass other arguments for from_huggingface() if they are using streaming dataset ## Related issue number Close ray-project#47507 ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] I've run `scripts/format.sh` to lint the changes in this PR. - [ ] I've included any doc changes needed for https://docs.ray.io/en/master/. - [ ] I've added any new APIs to the API Reference. For example, if I added a method in Tune, I've added it in `doc/source/tune/api/` under the corresponding `.rst` file. - [ ] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/ - Testing Strategy - [ ] Unit tests - [ ] Release tests - [ ] This PR is not tested :( I did manual test on exception part. Let me know if I need to do more tests. --------- Signed-off-by: Xingyu Long <xingyulong97@gmail.com> Co-authored-by: Scott Lee <scottjlee@users.noreply.github.com> Signed-off-by: ujjawal-khare <ujjawal.khare@dream11.com>
- Loading branch information