[Data] Remove dead code#59627
Merged
bveeramani merged 2 commits intoray-project:masterfrom Dec 27, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request removes dead code from python/ray/data/util/data_batch_conversion.py and python/ray/data/util/torch_utils.py. The changes correctly identify and remove several unused or deprecated functions and an enum, which helps to clean up the codebase. I've verified that the removed code is not referenced in the provided files. The changes look good.
Signed-off-by: will <zzchun8@gmail.com>
e782e48 to
529d300
Compare
AYou0207
pushed a commit
to AYou0207/ray
that referenced
this pull request
Jan 13, 2026
## Description Remove dead code in `python/ray/data/util/data_batch_conversion.py` and `python/ray/data/util/torch_utils.py`, which is related to PR: ray-project#59420 ## Related issues Related to ray-project#59420. Signed-off-by: will <zzchun8@gmail.com> Co-authored-by: Balaji Veeramani <balaji@anyscale.com> Signed-off-by: jasonwrwang <jasonwrwang@tencent.com>
lee1258561
pushed a commit
to pinterest/ray
that referenced
this pull request
Feb 3, 2026
## Description Remove dead code in `python/ray/data/util/data_batch_conversion.py` and `python/ray/data/util/torch_utils.py`, which is related to PR: ray-project#59420 ## Related issues Related to ray-project#59420. Signed-off-by: will <zzchun8@gmail.com> Co-authored-by: Balaji Veeramani <balaji@anyscale.com>
peterxcli
pushed a commit
to peterxcli/ray
that referenced
this pull request
Feb 25, 2026
## Description Remove dead code in `python/ray/data/util/data_batch_conversion.py` and `python/ray/data/util/torch_utils.py`, which is related to PR: ray-project#59420 ## Related issues Related to ray-project#59420. Signed-off-by: will <zzchun8@gmail.com> Co-authored-by: Balaji Veeramani <balaji@anyscale.com> Signed-off-by: peterxcli <peterxcli@gmail.com>
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.
Description
Remove dead code in
python/ray/data/util/data_batch_conversion.pyandpython/ray/data/util/torch_utils.py,which is related to PR: #59420
Related issues
Related to #59420.