-
Notifications
You must be signed in to change notification settings - Fork 7.1k
[train] Enable v2 for train py_doctest #57256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
Overall, the changes in this pull request are well-aligned with the goal of enabling and fixing doctests for Ray Train V2. The modifications to the build files and the updates to the doctest examples are logical and consistent. I've found one critical issue that needs to be addressed.
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
liulehui
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Enables Train V2 for py_doctest. Train v2 doctest wasn't running before this, so this PR also enables those to run in CI. This was because Bazel glob stops at nested BUILD.bazel files. --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com>
Enables Train V2 for py_doctest. Train v2 doctest wasn't running before this, so this PR also enables those to run in CI. This was because Bazel glob stops at nested BUILD.bazel files. --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Josh Kodi <joshkodi@gmail.com>
Enables Train V2 for py_doctest. Train v2 doctest wasn't running before this, so this PR also enables those to run in CI. This was because Bazel glob stops at nested BUILD.bazel files. --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com>
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 <justinvyu@anyscale.com>
Enables Train V2 for py_doctest. Train v2 doctest wasn't running before this, so this PR also enables those to run in CI. This was because Bazel glob stops at nested BUILD.bazel files. --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com>
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 <justinvyu@anyscale.com>
Enables Train V2 for py_doctest. Train v2 doctest wasn't running before this, so this PR also enables those to run in CI. This was because Bazel glob stops at nested BUILD.bazel files. --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: xgui <xgui@anyscale.com>
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 <justinvyu@anyscale.com> Signed-off-by: xgui <xgui@anyscale.com>
Original PR #57256 by justinvyu Original: ray-project/ray#57256
Merged from original PR #57256 Original: ray-project/ray#57256
Enables Train V2 for py_doctest. Train v2 doctest wasn't running before this, so this PR also enables those to run in CI. This was because Bazel glob stops at nested BUILD.bazel files. --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
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 <justinvyu@anyscale.com> Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
Enables Train V2 for py_doctest. Train v2 doctest wasn't running before this, so this PR also enables those to run in CI. This was because Bazel glob stops at nested BUILD.bazel files. --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com>
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 <justinvyu@anyscale.com>
Enables Train V2 for py_doctest. Train v2 doctest wasn't running before this, so this PR also enables those to run in CI. This was because Bazel glob stops at nested BUILD.bazel files. --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Aydin Abiar <aydin@anyscale.com>
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 <justinvyu@anyscale.com> Signed-off-by: Aydin Abiar <aydin@anyscale.com>
Enables Train V2 for py_doctest. Train v2 doctest wasn't running before this, so this PR also enables those to run in CI. This was because Bazel glob stops at nested BUILD.bazel files. --------- Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Future-Outlier <eric901201@gmail.com>
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 <justinvyu@anyscale.com> Signed-off-by: Future-Outlier <eric901201@gmail.com>
Summary
Enables Train V2 for py_doctest.
Train v2 doctest wasn't running before this, so this PR also enables those to run in CI. This was because Bazel glob stops at nested BUILD.bazel files.