File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -105,23 +105,23 @@ jobs:
105
105
- name : Upload result to Scribe
106
106
run : |
107
107
. "${SETUP_SCRIPT}"
108
- if [ -n "${TRITONBENCH_SIDE_A_ENV}" ]; then
108
+ if [[ -n "${TRITONBENCH_SIDE_A_ENV}" ] ]; then
109
109
triton_side_a_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_A_ENV} -name "result.json" | sort -r | head -n 1)
110
110
python ./.ci/upload/scribe.py --json ${triton_side_a_json}
111
111
fi
112
- if [ -n "${TRITONBENCH_SIDE_B_ENV}" ]; then
112
+ if [[ -n "${TRITONBENCH_SIDE_B_ENV}" ] ]; then
113
113
triton_side_b_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_B_ENV} -name "result.json" | sort -r | head -n 1)
114
114
python ./.ci/upload/scribe.py --json ${triton_side_b_json}
115
115
fi
116
116
- name : Rewrite Tritonbench json to ClickHouse style
117
117
run : |
118
118
. "${SETUP_SCRIPT}"
119
- if [ -n "${TRITONBENCH_SIDE_A_ENV}"" ]; then
119
+ if [[ -n "${TRITONBENCH_SIDE_A_ENV}"" ] ]; then
120
120
triton_side_a_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_A_ENV} -name "result.json" | sort -r | head -n 1)
121
121
python ./.ci/test_infra/oss_ci_benchmark_v3.py --json "${triton_side_a_json}" \
122
122
--output "benchmark-output/clickouse-results/result-${TRITONBENCH_SIDE_A_ENV}.json"
123
123
fi
124
- if [ -n "${TRITONBENCH_SIDE_B_ENV}"" ]; then
124
+ if [[ -n "${TRITONBENCH_SIDE_B_ENV}"" ] ]; then
125
125
triton_side_a_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_B_ENV} -name "result.json" | sort -r | head -n 1)
126
126
python ./.ci/test_infra/oss_ci_benchmark_v3.py --json "${triton_side_a_json}" \
127
127
--output "benchmark-output/clickouse-results/result-${TRITONBENCH_SIDE_B_ENV}.json"
Original file line number Diff line number Diff line change @@ -151,22 +151,22 @@ jobs:
151
151
path : benchmark-output/
152
152
- name : Upload result to Scribe
153
153
run : |
154
- if [ -n "${TRITONBENCH_SIDE_A_ENV}" ]; then
154
+ if [[ -n "${TRITONBENCH_SIDE_A_ENV}" ] ]; then
155
155
latest_result_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_A_ENV} -name "result.json" | sort -r | head -n 1)
156
156
python3 ./.ci/upload/scribe.py --json ${latest_result_json}
157
157
fi
158
- if [ -n "${TRITONBENCH_SIDE_B_ENV}" ]; then
158
+ if [[ -n "${TRITONBENCH_SIDE_B_ENV}" ] ]; then
159
159
latest_result_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_B_ENV} -name "result.json" | sort -r | head -n 1)
160
160
python3 ./.ci/upload/scribe.py --json ${latest_result_json}
161
161
fi
162
162
- name : Rewrite Tritonbench json to ClickHouse style
163
163
run : |
164
- if [ -n "${TRITONBENCH_SIDE_A_ENV}" ]; then
164
+ if [[ -n "${TRITONBENCH_SIDE_A_ENV}" ] ]; then
165
165
latest_result_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_A_ENV} -name "result.json" | sort -r | head -n 1)
166
166
python3 ./.ci/test_infra/oss_ci_benchmark_v3.py --json ${latest_result_json} \
167
167
--output benchmark-output/clickhouse-results/result-${TRITONBENCH_SIDE_A_ENV}.json
168
168
fi
169
- if [ -n "${TRITONBENCH_SIDE_B_ENV}" ]; then
169
+ if [[ -n "${TRITONBENCH_SIDE_B_ENV}" ] ]; then
170
170
latest_result_json=$(find ./benchmark-output/${TRITONBENCH_SIDE_B_ENV} -name "result.json" | sort -r | head -n 1)
171
171
python3 ./.ci/test_infra/oss_ci_benchmark_v3.py --json ${latest_result_json} \
172
172
--output benchmark-output/clickhouse-results/result-${TRITONBENCH_SIDE_B_ENV}.json
You can’t perform that action at this time.
0 commit comments