Skip to content

[Data] Remove dead code#59627

Merged
bveeramani merged 2 commits intoray-project:masterfrom
zzchun:move_type_extensions_v2
Dec 27, 2025
Merged

[Data] Remove dead code#59627
bveeramani merged 2 commits intoray-project:masterfrom
zzchun:move_type_extensions_v2

Conversation

@zzchun
Copy link
Copy Markdown
Contributor

@zzchun zzchun commented Dec 23, 2025

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: #59420

Related issues

Related to #59420.

@zzchun zzchun requested a review from a team as a code owner December 23, 2025 11:04
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@zzchun zzchun force-pushed the move_type_extensions_v2 branch from e782e48 to 529d300 Compare December 23, 2025 11:26
@ray-gardener ray-gardener bot added data Ray Data-related issues community-contribution Contributed by the community labels Dec 23, 2025
Copy link
Copy Markdown
Member

@bveeramani bveeramani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty!

@bveeramani bveeramani added the go add ONLY when ready to merge, run all tests label Dec 26, 2025
@bveeramani bveeramani enabled auto-merge (squash) December 26, 2025 09:45
@github-actions github-actions bot disabled auto-merge December 26, 2025 20:16
@bveeramani bveeramani merged commit dc5ff02 into ray-project:master Dec 27, 2025
6 checks passed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contributed by the community data Ray Data-related issues go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants