[train] Fix py312 GPU test filter#57559
Conversation
Signed-off-by: Justin Yu <justinvyu@anyscale.com>
| --python-version {{matrix.python}} | ||
| --build-name mlgpubuild-py{{matrix.python}} | ||
| --only-tags gpu | ||
| --only-tags gpu,train_v2_gpu |
There was a problem hiding this comment.
There was a problem hiding this comment.
The purpose of the py312 job is to duplicate the other tests that usually run in a lower py version.
There was a problem hiding this comment.
Code Review
This pull request correctly fixes a CI configuration issue where GPU tests were running on a CPU-only test runner. The changes to include train_v2_gpu in the GPU test suite and exclude it from the CPU test suite are logical and directly address the problem described. I've added a couple of suggestions to potentially remove a now-legacy gpu tag for improved clarity, based on the information in the PR description. Overall, this is a good, targeted fix.
| --workers 4 --worker-id {{matrix.worker_id}} --parallelism-per-worker 3 | ||
| --python-version {{matrix.python}} | ||
| --except-tags gpu,minimal,doctest,needs_credentials,soft_imports,rllib | ||
| --except-tags gpu,train_v2_gpu,minimal,doctest,needs_credentials,soft_imports,rllib |
There was a problem hiding this comment.
Based on the PR description, gpu tags were replaced with train_v2_gpu. If the gpu tag is no longer in use, we could remove it from this list to improve clarity and avoid maintaining a legacy tag. This would make it clear that train_v2_gpu is the new standard for these tests.
If the gpu tag is still in use for some tests, then this change is correct as is. In that case, it might be helpful to clarify in the PR summary that both tags are active.
--except-tags train_v2_gpu,minimal,doctest,needs_credentials,soft_imports,rllibThere was a problem hiding this comment.
"gpu" tag is still in use for v1 gpu tests.
ray-project#56868 replaced `gpu` tags with `train_v2_gpu` in order to separate out the tests into 2 CI pipelines. However, there's a py312 test that only runs in postmerge that filters out the `gpu` tag. This resulted in GPU tests running on the py312 CPU test runner. This PR fixes the issue by filtering out the new `train_v2_gpu` tag as well. Signed-off-by: Justin Yu <justinvyu@anyscale.com>
ray-project#56868 replaced `gpu` tags with `train_v2_gpu` in order to separate out the tests into 2 CI pipelines. However, there's a py312 test that only runs in postmerge that filters out the `gpu` tag. This resulted in GPU tests running on the py312 CPU test runner. This PR fixes the issue by filtering out the new `train_v2_gpu` tag as well. Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Josh Kodi <joshkodi@gmail.com>
ray-project#56868 replaced `gpu` tags with `train_v2_gpu` in order to separate out the tests into 2 CI pipelines. However, there's a py312 test that only runs in postmerge that filters out the `gpu` tag. This resulted in GPU tests running on the py312 CPU test runner. This PR fixes the issue by filtering out the new `train_v2_gpu` tag as well. Signed-off-by: Justin Yu <justinvyu@anyscale.com>
ray-project#56868 replaced `gpu` tags with `train_v2_gpu` in order to separate out the tests into 2 CI pipelines. However, there's a py312 test that only runs in postmerge that filters out the `gpu` tag. This resulted in GPU tests running on the py312 CPU test runner. This PR fixes the issue by filtering out the new `train_v2_gpu` tag as well. Signed-off-by: Justin Yu <justinvyu@anyscale.com>
ray-project#56868 replaced `gpu` tags with `train_v2_gpu` in order to separate out the tests into 2 CI pipelines. However, there's a py312 test that only runs in postmerge that filters out the `gpu` tag. This resulted in GPU tests running on the py312 CPU test runner. This PR fixes the issue by filtering out the new `train_v2_gpu` tag as well. Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: xgui <xgui@anyscale.com>
#56868 replaced `gpu` tags with `train_v2_gpu` in order to separate out the tests into 2 CI pipelines. However, there's a py312 test that only runs in postmerge that filters out the `gpu` tag. This resulted in GPU tests running on the py312 CPU test runner. This PR fixes the issue by filtering out the new `train_v2_gpu` tag as well. Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: elliot-barn <elliot.barnwell@anyscale.com>
ray-project#56868 replaced `gpu` tags with `train_v2_gpu` in order to separate out the tests into 2 CI pipelines. However, there's a py312 test that only runs in postmerge that filters out the `gpu` tag. This resulted in GPU tests running on the py312 CPU test runner. This PR fixes the issue by filtering out the new `train_v2_gpu` tag as well. Signed-off-by: Justin Yu <justinvyu@anyscale.com>
ray-project#56868 replaced `gpu` tags with `train_v2_gpu` in order to separate out the tests into 2 CI pipelines. However, there's a py312 test that only runs in postmerge that filters out the `gpu` tag. This resulted in GPU tests running on the py312 CPU test runner. This PR fixes the issue by filtering out the new `train_v2_gpu` tag as well. Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Aydin Abiar <aydin@anyscale.com>
ray-project#56868 replaced `gpu` tags with `train_v2_gpu` in order to separate out the tests into 2 CI pipelines. However, there's a py312 test that only runs in postmerge that filters out the `gpu` tag. This resulted in GPU tests running on the py312 CPU test runner. This PR fixes the issue by filtering out the new `train_v2_gpu` tag as well. Signed-off-by: Justin Yu <justinvyu@anyscale.com> Signed-off-by: Future-Outlier <eric901201@gmail.com>
Summary
#56868 replaced
gputags withtrain_v2_gpuin order to separate out the tests into 2 CI pipelines. However, there's a py312 test that only runs in postmerge that filters out thegputag. This resulted in GPU tests running on the py312 CPU test runner. This PR fixes the issue by filtering out the newtrain_v2_gputag as well.