Skip to content

[train][data] Enable Train v2 for ray/air/tests - #57534

Merged
justinvyu merged 12 commits into
ray-project:masterfrom
justinvyu:air_enable_v2
Oct 9, 2025
Merged

justinvyu merged 12 commits into
ray-project:masterfrom
justinvyu:air_enable_v2

Conversation

@justinvyu

@justinvyu justinvyu commented Oct 8, 2025 •

Copy link
Copy Markdown
Contributor

Summary

  • Enables V2 env variable for most ray/air/tests and py_doctest[air].
  • Explicitly disables V2 for certain tests that test legacy behavior such as the old Tune integration, or marks them for migration in a followup.
  • Removes some unmaintained/deprecated code (DummyTrainer, custom_trainer)
  • Moved some tests to ray/data for utils that live in ray.air but are only used in Ray Data. Note that I didn't move the util source code to Data as that would have been a large change, but I moved the tests out of this deprecated "air tests" suite:
    • test_arrow -> test_arrow_type_conversion
    • test_data_batch_conversion
    • test_object_extension
    • test_tensor_extension
    • test_torch_tensor_utils

Justin Yu added 11 commits October 7, 2025 17:15
Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Justin Yu <[email protected]>
@justinvyu
justinvyu marked this pull request as ready for review October 8, 2025 18:30
@justinvyu
justinvyu requested review from a team as code owners October 8, 2025 18:30
@justinvyu justinvyu changed the title enable v2 for air tests [train][data] Enable Train v2 for ray/air/tests Oct 8, 2025
@ray-gardener ray-gardener Bot added the train Ray Train Related Issue label Oct 8, 2025
@justinvyu
justinvyu enabled auto-merge (squash) October 9, 2025 00:39
@github-actions github-actions Bot added the go add ONLY when ready to merge, run all tests label Oct 9, 2025
@github-actions
github-actions Bot disabled auto-merge October 9, 2025 17:26

@bveeramani bveeramani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Stamp

@justinvyu
justinvyu merged commit d15f4ca into ray-project:master Oct 9, 2025
@justinvyu
justinvyu deleted the air_enable_v2 branch October 9, 2025 21:41
pavitrabhalla pushed a commit to superserve-ai/ray that referenced this pull request Oct 10, 2025
* Enables V2 env variable for most `ray/air/tests` and
`py_doctest[air]`.
* Explicitly disables V2 for certain tests that test legacy behavior
such as the old Tune integration, or marks them for migration in a
followup.
* Removes some unmaintained/deprecated code (`DummyTrainer`,
`custom_trainer`)
* Moved some tests to `ray/data` for utils that live in `ray.air` but
are only used in Ray Data. Note that I didn't move the util source code
to Data as that would have been a large change, but I moved the tests
out of this deprecated "air tests" suite:
    * `test_arrow` -> `test_arrow_type_conversion`
    * `test_data_batch_conversion`
    * `test_object_extension`
    * `test_tensor_extension`
    * `test_torch_tensor_utils`

---------

Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Pavitra Bhalla <[email protected]>
ArturNiederfahrenhorst pushed a commit to ArturNiederfahrenhorst/ray that referenced this pull request Oct 13, 2025
* Enables V2 env variable for most `ray/air/tests` and
`py_doctest[air]`.
* Explicitly disables V2 for certain tests that test legacy behavior
such as the old Tune integration, or marks them for migration in a
followup.
* Removes some unmaintained/deprecated code (`DummyTrainer`,
`custom_trainer`)
* Moved some tests to `ray/data` for utils that live in `ray.air` but
are only used in Ray Data. Note that I didn't move the util source code
to Data as that would have been a large change, but I moved the tests
out of this deprecated "air tests" suite:
    * `test_arrow` -> `test_arrow_type_conversion`
    * `test_data_batch_conversion`
    * `test_object_extension`
    * `test_tensor_extension`
    * `test_torch_tensor_utils`

---------

Signed-off-by: Justin Yu <[email protected]>
harshit-anyscale pushed a commit that referenced this pull request Oct 15, 2025
* Enables V2 env variable for most `ray/air/tests` and
`py_doctest[air]`.
* Explicitly disables V2 for certain tests that test legacy behavior
such as the old Tune integration, or marks them for migration in a
followup.
* Removes some unmaintained/deprecated code (`DummyTrainer`,
`custom_trainer`)
* Moved some tests to `ray/data` for utils that live in `ray.air` but
are only used in Ray Data. Note that I didn't move the util source code
to Data as that would have been a large change, but I moved the tests
out of this deprecated "air tests" suite:
    * `test_arrow` -> `test_arrow_type_conversion`
    * `test_data_batch_conversion`
    * `test_object_extension`
    * `test_tensor_extension`
    * `test_torch_tensor_utils`

---------

Signed-off-by: Justin Yu <[email protected]>
justinvyu pushed a commit that referenced this pull request Oct 16, 2025
Ports over the remaining unit tests that were marked as TODOs from this
series of PRs: #57534, #57256, #56868, #56820, #56816.

Notably:
* `test_new_dataset_config -> test_data_integration`
* `test_backend -> test_torch_trainer, test_worker_group`
* `test_gpu -> test_torch_gpu`

This PR also finishes migrating the Tune LightGBM/Keras examples which
were unblocked by #57042 and
#57121.

---------

Signed-off-by: Justin Yu <[email protected]>
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Oct 22, 2025
* Enables V2 env variable for most `ray/air/tests` and
`py_doctest[air]`.
* Explicitly disables V2 for certain tests that test legacy behavior
such as the old Tune integration, or marks them for migration in a
followup.
* Removes some unmaintained/deprecated code (`DummyTrainer`,
`custom_trainer`)
* Moved some tests to `ray/data` for utils that live in `ray.air` but
are only used in Ray Data. Note that I didn't move the util source code
to Data as that would have been a large change, but I moved the tests
out of this deprecated "air tests" suite:
    * `test_arrow` -> `test_arrow_type_conversion`
    * `test_data_batch_conversion`
    * `test_object_extension`
    * `test_tensor_extension`
    * `test_torch_tensor_utils`

---------

Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: xgui <[email protected]>
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Oct 22, 2025
Ports over the remaining unit tests that were marked as TODOs from this
series of PRs: ray-project#57534, ray-project#57256, ray-project#56868, ray-project#56820, ray-project#56816.

Notably:
* `test_new_dataset_config -> test_data_integration`
* `test_backend -> test_torch_trainer, test_worker_group`
* `test_gpu -> test_torch_gpu`

This PR also finishes migrating the Tune LightGBM/Keras examples which
were unblocked by ray-project#57042 and
ray-project#57121.

---------

Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: xgui <[email protected]>
elliot-barn pushed a commit that referenced this pull request Oct 23, 2025
* Enables V2 env variable for most `ray/air/tests` and
`py_doctest[air]`.
* Explicitly disables V2 for certain tests that test legacy behavior
such as the old Tune integration, or marks them for migration in a
followup.
* Removes some unmaintained/deprecated code (`DummyTrainer`,
`custom_trainer`)
* Moved some tests to `ray/data` for utils that live in `ray.air` but
are only used in Ray Data. Note that I didn't move the util source code
to Data as that would have been a large change, but I moved the tests
out of this deprecated "air tests" suite:
    * `test_arrow` -> `test_arrow_type_conversion`
    * `test_data_batch_conversion`
    * `test_object_extension`
    * `test_tensor_extension`
    * `test_torch_tensor_utils`

---------

Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
elliot-barn pushed a commit that referenced this pull request Oct 23, 2025
Ports over the remaining unit tests that were marked as TODOs from this
series of PRs: #57534, #57256, #56868, #56820, #56816.

Notably:
* `test_new_dataset_config -> test_data_integration`
* `test_backend -> test_torch_trainer, test_worker_group`
* `test_gpu -> test_torch_gpu`

This PR also finishes migrating the Tune LightGBM/Keras examples which
were unblocked by #57042 and
#57121.

---------

Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
* Enables V2 env variable for most `ray/air/tests` and
`py_doctest[air]`.
* Explicitly disables V2 for certain tests that test legacy behavior
such as the old Tune integration, or marks them for migration in a
followup.
* Removes some unmaintained/deprecated code (`DummyTrainer`,
`custom_trainer`)
* Moved some tests to `ray/data` for utils that live in `ray.air` but
are only used in Ray Data. Note that I didn't move the util source code
to Data as that would have been a large change, but I moved the tests
out of this deprecated "air tests" suite:
    * `test_arrow` -> `test_arrow_type_conversion`
    * `test_data_batch_conversion`
    * `test_object_extension`
    * `test_tensor_extension`
    * `test_torch_tensor_utils`

---------

Signed-off-by: Justin Yu <[email protected]>
landscapepainter pushed a commit to landscapepainter/ray that referenced this pull request Nov 17, 2025
Ports over the remaining unit tests that were marked as TODOs from this
series of PRs: ray-project#57534, ray-project#57256, ray-project#56868, ray-project#56820, ray-project#56816.

Notably:
* `test_new_dataset_config -> test_data_integration`
* `test_backend -> test_torch_trainer, test_worker_group`
* `test_gpu -> test_torch_gpu`

This PR also finishes migrating the Tune LightGBM/Keras examples which
were unblocked by ray-project#57042 and
ray-project#57121.

---------

Signed-off-by: Justin Yu <[email protected]>
Future-Outlier pushed a commit to Future-Outlier/ray that referenced this pull request Dec 7, 2025
* Enables V2 env variable for most `ray/air/tests` and
`py_doctest[air]`.
* Explicitly disables V2 for certain tests that test legacy behavior
such as the old Tune integration, or marks them for migration in a
followup.
* Removes some unmaintained/deprecated code (`DummyTrainer`,
`custom_trainer`)
* Moved some tests to `ray/data` for utils that live in `ray.air` but
are only used in Ray Data. Note that I didn't move the util source code
to Data as that would have been a large change, but I moved the tests
out of this deprecated "air tests" suite:
    * `test_arrow` -> `test_arrow_type_conversion`
    * `test_data_batch_conversion`
    * `test_object_extension`
    * `test_tensor_extension`
    * `test_torch_tensor_utils`

---------

Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Future-Outlier pushed a commit to Future-Outlier/ray that referenced this pull request Dec 7, 2025
Ports over the remaining unit tests that were marked as TODOs from this
series of PRs: ray-project#57534, ray-project#57256, ray-project#56868, ray-project#56820, ray-project#56816.

Notably:
* `test_new_dataset_config -> test_data_integration`
* `test_backend -> test_torch_trainer, test_worker_group`
* `test_gpu -> test_torch_gpu`

This PR also finishes migrating the Tune LightGBM/Keras examples which
were unblocked by ray-project#57042 and
ray-project#57121.

---------

Signed-off-by: Justin Yu <[email protected]>
Signed-off-by: Future-Outlier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests train Ray Train Related Issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants