Skip to content

Commit 025a26e

Browse files
leofangclaude
andcommitted
Improve CI job name format with descriptive labels
Use "Python X.Y, CUDA X.Y.Z (wheels/local), GPU type" format. For nightly: append just the version ("latest" or "2.9.1") for pytorch, "latest" for numba-cuda. Avoids redundancy with the parent workflow name. Examples: Standard: Python 3.12, CUDA 13.2.1 (local), GPU l4 PyTorch: Python 3.12, CUDA 12.6.3 (wheels), GPU l4 (TCC), latest numba: Python 3.12, CUDA 13.2.1 (wheels), GPU l4, latest Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0415bab commit 025a26e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test-wheel-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
echo "OLD_BRANCH=${OLD_BRANCH}" >> "$GITHUB_OUTPUT"
9696
9797
test:
98-
name: py${{ matrix.PY_VER }}, ${{ matrix.CUDA_VER }}, ${{ (matrix.LOCAL_CTK == '1' && 'local') || 'wheels' }}, ${{ matrix.GPU }}${{ matrix.GPU_COUNT != '1' && format('(x{0})', matrix.GPU_COUNT) || '' }}${{ matrix.FLAVOR && format(', {0}', matrix.FLAVOR) || '' }}${{ matrix.TORCH_VER && format(', torch {0} ({1})', matrix.TORCH_VER, matrix.TORCH_CUDA) || '' }}${{ matrix.MODE == 'nightly-numba-cuda' && ', numba-cuda' || '' }}
98+
name: Python ${{ matrix.PY_VER }}, CUDA ${{ matrix.CUDA_VER }} (${{ (matrix.LOCAL_CTK == '1' && 'local') || 'wheels' }}), GPU ${{ matrix.GPU }}${{ matrix.GPU_COUNT != '1' && format(' (x{0})', matrix.GPU_COUNT) || '' }}${{ matrix.FLAVOR && format(', {0}', matrix.FLAVOR) || '' }}${{ matrix.TORCH_VER && format(', {0}', matrix.TORCH_VER) || '' }}${{ matrix.MODE == 'nightly-numba-cuda' && ', latest' || '' }}
9999
needs: compute-matrix
100100
strategy:
101101
fail-fast: false

.github/workflows/test-wheel-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
echo "MATRIX=${MATRIX}" | tee --append "${GITHUB_OUTPUT}"
8888
8989
test:
90-
name: py${{ matrix.PY_VER }}, ${{ matrix.CUDA_VER }}, ${{ (matrix.LOCAL_CTK == '1' && 'local') || 'wheels' }}, ${{ matrix.GPU }} (${{ matrix.DRIVER_MODE }})${{ matrix.TORCH_VER && format(', torch {0} ({1})', matrix.TORCH_VER, matrix.TORCH_CUDA) || '' }}${{ matrix.MODE == 'nightly-numba-cuda' && ', numba-cuda' || '' }}
90+
name: Python ${{ matrix.PY_VER }}, CUDA ${{ matrix.CUDA_VER }} (${{ (matrix.LOCAL_CTK == '1' && 'local') || 'wheels' }}), GPU ${{ matrix.GPU }} (${{ matrix.DRIVER_MODE }})${{ matrix.TORCH_VER && format(', {0}', matrix.TORCH_VER) || '' }}${{ matrix.MODE == 'nightly-numba-cuda' && ', latest' || '' }}
9191
# The build stage could fail but we want the CI to keep moving.
9292
needs: compute-matrix
9393
strategy:

0 commit comments

Comments
 (0)