Repository navigation
[Data] Enable memory-safety best practices in video object detection benchmark (#64125) (cherry-pick 2.56.1) - #64827
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request configures the memory parameter (set to approximately 3.5 GB) for the ExtractImageFeatures high-memory UDF in the Ray Data pipeline to prevent out-of-memory (OOM) errors during nightly test runs. There are no review comments to address, and I have no additional feedback to provide.
…benchmark (#64125) (cherry-pick 2.56.1) Cherry-pick of #64125 onto `releases/2.56.1`. Original PR: #64125 ## Summary Enables the opt-in memory-safety best practices for the video object detection multimodal benchmark so it exercises (and validates) the OOM guardrails we recommend to users. Specifically, it sets `memory=3_529_273_344` (~3.5 GB) on the high-memory `ExtractImageFeatures` UDF (the max USS observed in previous nightly runs), since Ray Data can't prevent OOMs unless `memory` is set for high-memory UDFs. ## Cherry-pick notes One conflict resolved in `release/nightly_tests/multimodal_inference_benchmarks/video_object_detection/ray_data_main.py`: the `isolate_read_workers` / `default_map_logical_memory_enabled` `DataContext` settings that #64125 adds are already present on the branch (introduced by the earlier cherry-pick of #64298, using the `DataContext.get_current()` accessor). Kept the branch's `get_current()` form; the net change from this cherry-pick is the `memory=3_529_273_344` argument on the `ExtractImageFeatures` `map_batches` call. Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: Balaji Veeramani <[email protected]> Signed-off-by: sai-miduthuri <[email protected]>
sai-miduthuri
force-pushed
the
cherry-pick-2.56.1-64125
branch
from
July 17, 2026 00:08
d439ff9 to
d1dc4cc
Compare
elliot-barn
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick of #64125 onto
releases/2.56.1.Original PR: #64125
Summary
Enables the opt-in memory-safety best practices for the video object detection multimodal benchmark so it exercises (and validates) the OOM guardrails we recommend to users. Specifically, it sets
memory=3_529_273_344(~3.5 GB) on the high-memoryExtractImageFeaturesUDF (the max USS observed in previous nightly runs), since Ray Data can't prevent OOMs unlessmemoryis set for high-memory UDFs.Cherry-pick notes
One conflict resolved in
release/nightly_tests/multimodal_inference_benchmarks/video_object_detection/ray_data_main.py: theisolate_read_workers/default_map_logical_memory_enabledDataContextsettings that #64125 adds are already present on the branch (introduced by the earlier cherry-pick of #64298, using theDataContext.get_current()accessor). Kept the branch'sget_current()form; the net change from this cherry-pick is thememory=3_529_273_344argument on theExtractImageFeaturesmap_batchescall.