[export] Remove serialization of old 16-bit nr_devices #12639
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI - Bazel CUDA tests | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| halt-for-connection: | |
| description: 'Should this workflow run wait for a remote connection?' | |
| type: choice | |
| required: true | |
| default: 'no' | |
| options: | |
| - 'yes' | |
| - 'no' | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| - 'release/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| # Don't cancel in-progress jobs for main/release branches. | |
| cancel-in-progress: ${{ !contains(github.ref, 'release/') && github.ref != 'main' }} | |
| permissions: {} | |
| jobs: | |
| build-cuda-artifacts: | |
| uses: ./.github/workflows/build_artifacts.yml | |
| strategy: | |
| fail-fast: false # don't cancel all jobs on failure | |
| matrix: | |
| # Python values need to match the matrix stategy in the CUDA tests job below | |
| runner: ["linux-x86-n4-16"] | |
| artifact: ["jax-cuda-plugin", "jax-cuda-pjrt"] | |
| python: ["3.14",] | |
| cuda-version: ["13"] | |
| name: "Build ${{ format('{0}', 'CUDA') }} artifacts" | |
| with: | |
| runner: ${{ matrix.runner }} | |
| artifact: ${{ matrix.artifact }} | |
| python: ${{ matrix.python }} | |
| cuda-version: ${{ matrix.cuda-version }} | |
| clone_main_xla: 1 | |
| upload_artifacts_to_gcs: false | |
| run-tests: | |
| if: github.event.repository.fork == false | |
| uses: ./.github/workflows/bazel_cuda.yml | |
| # Begin Presubmit Naming Check - name modification requires internal check to be updated | |
| strategy: | |
| fail-fast: false # don't cancel all jobs on failure | |
| matrix: | |
| python: ["3.11", "3.14"] | |
| runner: ["linux-x86-n4-16"] | |
| jaxlib-version: ["head", "pypi_latest"] | |
| enable-x64: [1, 0] | |
| cuda-version: ["12", "13"] | |
| exclude: | |
| # Exclude x64=1 on the oldest Python and x64=0 on the newest Python. As long as we have | |
| # coverage for one of each, we don't need to run both. | |
| - python: "3.11" | |
| enable-x64: 1 | |
| - python: "3.11" | |
| enable-x64: 0 | |
| jaxlib-version: "head" | |
| - python: "3.11" | |
| enable-x64: 0 | |
| jaxlib-version: "pypi_latest" | |
| cuda-version: "13" | |
| - python: "3.14" | |
| enable-x64: 0 | |
| - python: "3.14" | |
| enable-x64: 1 | |
| jaxlib-version: "pypi_latest" | |
| # Exclude CUDA 12 on jaxlib head because it's too slow. | |
| - cuda-version: "12" | |
| jaxlib-version: "head" | |
| name: "Bazel single accelerator ${{ format('{0}', 'CUDA tests') }}" | |
| # End Presubmit Naming Check github-cuda-presubmits | |
| with: | |
| runner: ${{ matrix.runner }} | |
| python: ${{ matrix.python }} | |
| download-jax-from-gcs: 0 | |
| skip-download-jaxlib-and-cuda-plugins-from-gcs: 0 | |
| jaxlib-version: ${{ matrix.jaxlib-version }} | |
| halt-for-connection: ${{ inputs.halt-for-connection }} | |
| cuda-version: ${{ matrix.cuda-version }} | |
| enable-x64: ${{ matrix.enable-x64 }} | |
| build_jaxlib: ${{ (matrix.jaxlib-version == 'head' && true) || false }} | |
| build_jax: 'true' | |
| run_multiaccelerator_tests: 'false' |