Skip to content

Commit 898b132

Browse files
committed
dont show arg parsing set +x oops
1 parent 271091d commit 898b132

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

benchmarks/benchmark_lib.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ wait_for_server_ready() {
5959
# Show logs until server is ready
6060
tail -f "$server_log" &
6161
local TAIL_PID=$!
62-
set +x
6362
until curl --output /dev/null --silent --fail http://0.0.0.0:$port/health; do
6463
if ! kill -0 "$server_pid" 2>/dev/null; then
6564
echo "Server died before becoming healthy. Exiting."
@@ -85,6 +84,7 @@ wait_for_server_ready() {
8584
# --result-filename: Result filename without extension
8685
# --result-dir: Result directory
8786
run_benchmark_serving() {
87+
set +x
8888
local model=""
8989
local port=""
9090
local backend=""
@@ -210,4 +210,5 @@ run_benchmark_serving() {
210210
--percentile-metrics 'ttft,tpot,itl,e2el' \
211211
--result-dir "$result_dir" \
212212
--result-filename "$result_filename.json"
213+
set +x
213214
}

0 commit comments

Comments
 (0)