mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
[Datasets] Fix API breakage in Datasets nightly test.
This commit is contained in:
parent
c3e3fc7637
commit
ca731d7c86
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ def create_torch_iterator(split, batch_size, rank=None):
|
|||
|
||||
def create_dataset(filenames, repeat_times):
|
||||
pipeline = ray.data.read_parquet(list(filenames))\
|
||||
.repeat(times=repeat_times).random_shuffle()
|
||||
.repeat(times=repeat_times).random_shuffle_each_window()
|
||||
return pipeline
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue