Skip to content

Commit e64ca58

Browse files
committed
test
1 parent 35c6592 commit e64ca58

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/_linux-benchmark-h100.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,23 +105,23 @@ jobs:
105105
- name: Upload result to Scribe
106106
run: |
107107
. "${SETUP_SCRIPT}"
108-
if [ -n "${TRITONBENCH_SIDE_A_ENV}" ]; then
108+
if [[ -n "${TRITONBENCH_SIDE_A_ENV}" ]]; then
109109
triton_side_a_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_A_ENV} -name "result.json" | sort -r | head -n 1)
110110
python ./.ci/upload/scribe.py --json ${triton_side_a_json}
111111
fi
112-
if [ -n "${TRITONBENCH_SIDE_B_ENV}" ]; then
112+
if [[ -n "${TRITONBENCH_SIDE_B_ENV}" ]]; then
113113
triton_side_b_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_B_ENV} -name "result.json" | sort -r | head -n 1)
114114
python ./.ci/upload/scribe.py --json ${triton_side_b_json}
115115
fi
116116
- name: Rewrite Tritonbench json to ClickHouse style
117117
run: |
118118
. "${SETUP_SCRIPT}"
119-
if [ -n "${TRITONBENCH_SIDE_A_ENV}"" ]; then
119+
if [[ -n "${TRITONBENCH_SIDE_A_ENV}"" ]]; then
120120
triton_side_a_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_A_ENV} -name "result.json" | sort -r | head -n 1)
121121
python ./.ci/test_infra/oss_ci_benchmark_v3.py --json "${triton_side_a_json}" \
122122
--output "benchmark-output/clickouse-results/result-${TRITONBENCH_SIDE_A_ENV}.json"
123123
fi
124-
if [ -n "${TRITONBENCH_SIDE_B_ENV}"" ]; then
124+
if [[ -n "${TRITONBENCH_SIDE_B_ENV}"" ]]; then
125125
triton_side_a_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_B_ENV} -name "result.json" | sort -r | head -n 1)
126126
python ./.ci/test_infra/oss_ci_benchmark_v3.py --json "${triton_side_a_json}" \
127127
--output "benchmark-output/clickouse-results/result-${TRITONBENCH_SIDE_B_ENV}.json"

.github/workflows/_linux-benchmark-mi350.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,22 +151,22 @@ jobs:
151151
path: benchmark-output/
152152
- name: Upload result to Scribe
153153
run: |
154-
if [ -n "${TRITONBENCH_SIDE_A_ENV}" ]; then
154+
if [[ -n "${TRITONBENCH_SIDE_A_ENV}" ]]; then
155155
latest_result_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_A_ENV} -name "result.json" | sort -r | head -n 1)
156156
python3 ./.ci/upload/scribe.py --json ${latest_result_json}
157157
fi
158-
if [ -n "${TRITONBENCH_SIDE_B_ENV}" ]; then
158+
if [[ -n "${TRITONBENCH_SIDE_B_ENV}" ]]; then
159159
latest_result_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_B_ENV} -name "result.json" | sort -r | head -n 1)
160160
python3 ./.ci/upload/scribe.py --json ${latest_result_json}
161161
fi
162162
- name: Rewrite Tritonbench json to ClickHouse style
163163
run: |
164-
if [ -n "${TRITONBENCH_SIDE_A_ENV}" ]; then
164+
if [[ -n "${TRITONBENCH_SIDE_A_ENV}" ]]; then
165165
latest_result_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_A_ENV} -name "result.json" | sort -r | head -n 1)
166166
python3 ./.ci/test_infra/oss_ci_benchmark_v3.py --json ${latest_result_json} \
167167
--output benchmark-output/clickhouse-results/result-${TRITONBENCH_SIDE_A_ENV}.json
168168
fi
169-
if [ -n "${TRITONBENCH_SIDE_B_ENV}" ]; then
169+
if [[ -n "${TRITONBENCH_SIDE_B_ENV}" ]]; then
170170
latest_result_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_B_ENV} -name "result.json" | sort -r | head -n 1)
171171
python3 ./.ci/test_infra/oss_ci_benchmark_v3.py --json ${latest_result_json} \
172172
--output benchmark-output/clickhouse-results/result-${TRITONBENCH_SIDE_B_ENV}.json

0 commit comments

Comments
 (0)