Skip to content

Commit 5124544

Browse files
authored
[tritonbench] fix tritonbench update (#139)
1 parent 595b540 commit 5124544

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/tritonbench.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ jobs:
168168
mv .benchmarks results-${{ env.CONDA_ENV }}
169169
170170
# post-process result.json
171+
. "${SETUP_SCRIPT}"
171172
latest_result_json=$(find ./results-${CONDA_ENV} -name "result.json" | sort -r | head -n 1)
172173
python3 ./.ci/test_infra/oss_ci_benchmark_v3.py --json ${latest_result_json} \
173174
--add-github-env --output ${latest_result_json}
@@ -194,12 +195,14 @@ jobs:
194195
if: ${{ env.TRITONBENCH_SCRIBE_GRAPHQL_ACCESS_TOKEN != '' }}
195196
working-directory: triton-benchmarks/tritonbench
196197
run: |
198+
. "${SETUP_SCRIPT}"
197199
latest_result_json=$(find ./results-${CONDA_ENV} -name "result.json" | sort -r | head -n 1)
198200
python3 ./.ci/upload/scribe.py --json ${latest_result_json}
199201
200202
- name: Rewrite Tritonbench result json to ClickHouse style
201203
working-directory: triton-benchmarks/tritonbench
202204
run: |
205+
. "${SETUP_SCRIPT}"
203206
latest_result_json=$(find ./results-${CONDA_ENV} -name "result.json" | sort -r | head -n 1)
204207
python3 ./.ci/test_infra/oss_ci_benchmark_v3.py --json ${latest_result_json} \
205208
--output clickhouse-results/result-${CONDA_ENV}.json

0 commit comments

Comments
 (0)