Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Datasets] Make data nightly tests still work with lazy execution #31460

Merged
merged 2 commits into from
Jan 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Revert change in ray_sgd_training.py
Signed-off-by: Cheng Su <[email protected]>
  • Loading branch information
c21 committed Jan 19, 2023
commit 0591d4c6f3bf2a4bf26ad5ae9b7137b86698915d
4 changes: 1 addition & 3 deletions release/nightly_tests/dataset/ray_sgd_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@

def read_dataset(path: str) -> ray.data.Dataset:
print(f"reading data from {path}")
ds = ray.data.read_parquet(path).repartition(400).random_shuffle()
ds.fully_executed()
return ds
return ray.data.read_parquet(path).repartition(400).random_shuffle()


class DataPreprocessor:
Expand Down