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

Add objects GC in dataset iterator #34030

Merged
merged 16 commits into from
Apr 6, 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
Next Next commit
add a little more memory as it's close to the limit and may make test…
… flaky
  • Loading branch information
jianoaix committed Apr 5, 2023
commit 017f14ffe44d21fd61c58f66c370804ff572b4bf
4 changes: 2 additions & 2 deletions python/ray/data/tests/test_object_gc.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def test_iter_batches_no_spilling_upon_no_transformation(shutdown_only):


def test_torch_iteration(shutdown_only):
# The object store is about 300MB.
ctx = ray.init(num_cpus=1, object_store_memory=300e6)
# The object store is about 400MB.
ctx = ray.init(num_cpus=1, object_store_memory=400e6)
# The size of dataset is 500*(80*80*4)*8B, about 100MB.
ds = ray.data.range_tensor(500, shape=(80, 80, 4), parallelism=100)

Expand Down