File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
components/backends/trtllm/performance_sweeps/scripts Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,10 @@ python3 ${SCRIPTS_DIR}/scripts/bench/benchmark_serving.py \
163
163
--host ${hostname} \
164
164
--port ${port}
165
165
166
+ mkdir -p ${log_path} /results
166
167
echo " Starting benchmark..."
167
168
for concurrency in ${concurrency_list} ; do
169
+ original_concurrency=${concurrency}
168
170
concurrency=$(( concurrency * num_gen_servers))
169
171
num_prompts=$(( concurrency * multi_round))
170
172
echo " Benchmarking with concurrency ${concurrency} ... ${num_prompts} prompts"
@@ -186,7 +188,10 @@ for concurrency in ${concurrency_list}; do
186
188
--percentile-metrics ttft,tpot,itl,e2el \
187
189
--max-concurrency " $concurrency " \
188
190
--host ${hostname} \
189
- --port ${port}
191
+ --port ${port} \
192
+ --save-result \
193
+ --result-dir " ${log_path} /results" \
194
+ --result-filename " results_concurrency_${original_concurrency} _gpus_${total_gpus} .json"
190
195
191
196
echo " Benchmark with concurrency ${concurrency} done"
192
197
do_get_logs ${log_path} /output_workers.log ${log_path} /concurrency_${concurrency}
You can’t perform that action at this time.
0 commit comments