@@ -145,7 +145,7 @@ jobs:
145145 fi
146146
147147 CONDA_ENV="triton-main"
148- DOCKER_IMAGE="meta-pytorch/tritonbench:${IMAGE_SUFFIX}"
148+ DOCKER_IMAGE="ghcr.io/ meta-pytorch/tritonbench:${IMAGE_SUFFIX}"
149149 echo "DOCKER_IMAGE=$DOCKER_IMAGE" >> "$GITHUB_ENV"
150150 echo "CONDA_ENV=$CONDA_ENV" >> "$GITHUB_ENV"
151151 echo "Using docker image: $DOCKER_IMAGE "
@@ -171,12 +171,9 @@ jobs:
171171 )
172172
173173 docker exec -t -w /tmp/workspace "${container_name}" bash -c " \
174- set -eux && cd /workspace/tritonbench &&
175- bash .ci/tritonbench/run-benchmark.sh ${{ matrix.BENCHMARKS }} --conda-env ${{ env.CONDA_ENV }} "
176-
177- docker exec -t -w /tmp/workspace "${container_name}" bash -c " \
178- set -eux && cd /workspace/tritonbench && mv .benchmarks /tmp/workspace/triton-benchmarks/tritonbench/results
179- "
174+ set -eux && cd /workspace/tritonbench && \
175+ bash .ci/tritonbench/run-benchmark.sh ${{ matrix.BENCHMARKS }} --conda-env ${{ env.CONDA_ENV }} && \
176+ mv /workspace/tritonbench/.benchmarks /tmp/workspace/triton-benchmarks/tritonbench/results "
180177
181178 - name : Authenticate with AWS
182179 # AWS CUDA runners already have access to the bucket via its runner IAM role
@@ -199,15 +196,15 @@ jobs:
199196 - name : Upload result to Scribe
200197 working-directory : triton-benchmarks/tritonbench
201198 run : |
202- latest_result_json=$(find ./results/${TRITONBENCH_SIDE_A_ENV } -name "result.json" | sort -r | head -n 1)
199+ latest_result_json=$(find ./results/${CONDA_ENV } -name "result.json" | sort -r | head -n 1)
203200 python3 ./.ci/upload/scribe.py --json ${latest_result_json}
204201
205202 - name : Rewrite Tritonbench result json to ClickHouse style
206203 working-directory : triton-benchmarks/tritonbench
207204 run : |
208- latest_result_json=$(find ./results/${TRITONBENCH_SIDE_A_ENV } -name "result.json" | sort -r | head -n 1)
205+ latest_result_json=$(find ./results/${CONDA_ENV } -name "result.json" | sort -r | head -n 1)
209206 python3 ./.ci/test_infra/oss_ci_benchmark_v3.py --json ${latest_result_json} \
210- --output clickhouse-results/result-${TRITONBENCH_SIDE_A_ENV }.json
207+ --output clickhouse-results/result-${CONDA_ENV }.json
211208
212209 - name : Upload result to ClickHouse
213210 uses : pytorch/test-infra/.github/actions/upload-benchmark-results@main
0 commit comments