Skip to content

[ROCm] Add Python 3.15 to the ROCm CI matrices - #40304

Open
mminutoli wants to merge 1 commit into
jax-ml:mainfrom
ROCm:user/mminutoli/add_py315_rocm_ci
Open

[ROCm] Add Python 3.15 to the ROCm CI matrices#40304
mminutoli wants to merge 1 commit into
jax-ml:mainfrom
ROCm:user/mminutoli/add_py315_rocm_ci

Conversation

@mminutoli

@mminutoli mminutoli commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Adds Python 3.15 coverage to the ROCm CI, matching how 3.13 and 3.14 are already handled.

  • Build jax-rocm-plugin for 3.15 in wheel_tests_continuous.yml and wheel_tests_nightly_release.yml, and run the nightly ROCm pytest and Bazel legs against 3.15.
  • Keep jax-rocm-pjrt excluded at 3.15, since it is built once against 3.12.
  • Offer 3.15 in the build_rocm_artifacts.yml manual dispatch choices.
  • Add 3.15 to the default version list in build/rocm/tools/build_wheels.py, used by build/rocm/ci_build. The default was a list rather than a comma-separated string, so it raised AttributeError on .split(",") whenever the flag was not passed explicitly; it is now a string.
Build jax-rocm-plugin wheels for Python 3.15 in both the continuous and
nightly/release workflows, and run the nightly ROCm pytest and Bazel test
legs against 3.15. As with 3.13 and 3.14, jax-rocm-pjrt is excluded since
it is built once against 3.12. Also offer 3.15 in the manual dispatch
choices of build_rocm_artifacts.yml.

Add 3.15 to the default version list of build/rocm/tools/build_wheels.py,
which build/rocm/ci_build uses to build wheels in the manylinux container.
The default was also a list rather than a comma-separated string, so it
crashed in the argument parsing when the flag was not passed explicitly;
make it a string.

Hermetic Python 3.15 is already available (build/requirements_lock_3_15.txt
and MODULE.bazel), and the nightly CPU/CUDA legs already publish cp315
jax/jaxlib wheels for the ROCm test jobs to download.

@magaonka-amd magaonka-amd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks , LGTM

@google-ml-butler google-ml-butler Bot added kokoro:force-run pull ready Ready for copybara import and testing labels Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kokoro:force-run pull ready Ready for copybara import and testing

2 participants