11# CI - Benchmark ROCm
22#
3- # This workflow runs ROCm benchmarks in ROCm team's GHCR containers.
3+ # This workflow runs the ROCm benchmarks in ROCm team's GHCR containers.
44# It can be triggered manually via workflow_dispatch or called by other workflows
55# via workflow_call.
66#
77# It consists of the following job:
8- # run-benchmark :
8+ # run-benchmarks :
99# - Runs in ROCm team's container (ghcr.io/rocm/jax-base-ubu24-rocm*:latest)
1010# - Downloads the JAX and jaxlib wheels from GCS, and ROCm plugins from S3.
11- # - Executes the target benchmark runner script at `targets/<target>/run.sh`.
11+ # - Executes the target benchmark scripts at `targets/<target>/run.sh`.
1212name : CI - Benchmark ROCm
1313on :
1414 workflow_dispatch :
135135 UV_DEFAULT_INDEX : " https://us-python.pkg.dev/ml-oss-artifacts-published/pypi-mirror/simple"
136136
137137jobs :
138- run-benchmark :
138+ run-benchmarks :
139139 defaults :
140140 run :
141141 # Set the shell to bash as GitHub actions run with /bin/sh by default
@@ -144,7 +144,7 @@ jobs:
144144 continue-on-error : true
145145 # Run in ROCm team's GHCR container with GPU access
146146 container :
147- image : ghcr.io/rocm/jax-base-ubu24.rocm722:2d65281b00de2bcafc811247d563b6e5e7c887af
147+ image : ghcr.io/rocm/jax-base-ubu24.${{ inputs.rocm-tag }}:latest # zizmor: ignore[unpinned-images]
148148 credentials :
149149 username : ${{ github.actor }}
150150 password : ${{ secrets.GITHUB_TOKEN }}
@@ -187,7 +187,7 @@ jobs:
187187 TARGET : ${{ inputs.target }}
188188 WORKLOAD : ${{ inputs.workload }}
189189 timeout-minutes : 120
190- run : ./ci/benchmark_targets/${TARGET}/run_${TARGET}_rocm.sh" --workload "${WORKLOAD}"
190+ run : ./ci/benchmark_targets/${TARGET}/run_${TARGET}_rocm.sh --workload "${WORKLOAD}"
191191 - name : Upload GitHub artifacts
192192 if : always()
193193 continue-on-error : true
0 commit comments