Repository navigation
[Data] Add memory hint for reads to image_embedding_from_jsonl (#64717) (cherry-pick 2.56.1) - #64757
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the nightly dataset benchmark script to prevent Out-Of-Memory (OOM) errors. It introduces a READ_MEMORY constant set to 3 GiB, which is passed to ray.data.read_json. Additionally, it enables default_map_logical_memory_enabled on the Ray DataContext as a best practice. There are no review comments, so I have no feedback to provide.
) Reads can use lots of memory in the `image_embedding_from_jsonl` release test. To prevent expected OOMs, I'm adding a memory hint for the read based on the historical heap usage. --------- Signed-off-by: Balaji Veeramani <[email protected]> Co-authored-by: Elliot Barnwell <[email protected]> Signed-off-by: elliot-barn <[email protected]>
elliot-barn
force-pushed
the
cherry-pick-2.56.1-64717
branch
from
July 14, 2026 22:48
be064a3 to
b006e5d
Compare
3 of 5 tasks
elliot-barn
added a commit
that referenced
this pull request
Jul 15, 2026
…64630) (cherry-pick 2.56.1) (#64761) Cherry-pick of #64630 onto `releases/2.56.1` to fix the failing ReadTheDocs build on the 2.56.1 release line. Original PR: #64630 ## Why The docs build on `releases/2.56.1` fails under `fail_on_warning` (-W) with 3 warnings, all from stale references to a renamed sphinx-collections example: ``` tune/examples/index.rst:25: WARNING: toctree contains reference to nonexisting document '_collections/tune/examples/tune_pytorch_asha/tune_pytorch_asha' tune/examples/index.rst:48: WARNING: unknown document: '.../tune_pytorch_asha/tune_pytorch_asha' tune-pytorch-cifar.ipynb: WARNING: unknown document: '.../tune_pytorch_asha/tune_pytorch_asha' ``` The ASHA example is pulled at build time via `sphinx-collections`; its published notebook was renamed to `README.ipynb`, so the canonical document is now `.../tune_pytorch_asha/README`. The old `tune_pytorch_asha` document no longer exists in the published archive. ## What - `conf.py`: remove the now-wrong `_collections/tune/examples/tune_pytorch_asha/README.md` exclusion (that exclusion was deleting the canonical README page). - `tune/examples/index.rst`: repoint the toctree entry and the `:doc:` list-table row to `.../tune_pytorch_asha/README`. - `tune/examples/tune-pytorch-cifar.ipynb`: repoint the `{doc}` link in the "See More PyTorch Examples" cell. Clean cherry-pick (no conflicts). Verified no `tune_pytorch_asha/tune_pytorch_asha` references remain. ## Note This is a pre-existing docs-build breakage on the release branch (independent of any code cherry-picks). Once merged, in-flight 2.56.1 cherry-pick PRs (#64757, #64758) can be rebased to get green docs builds. --------- Signed-off-by: Douglas Strodtman <[email protected]> Signed-off-by: elliot-barn <[email protected]> Co-authored-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
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 #64717 onto
releases/2.56.1.Original PR: #64717
Summary
Reads can use lots of memory in the
image_embedding_from_jsonlrelease test. To prevent expected OOMs, this adds a memory hint for the read.Clean cherry-pick, no conflicts.