From 8d1eceb25a866e8e6a6872c664b0911ea68ce3d8 Mon Sep 17 00:00:00 2001 From: Indrajit Bhosale Date: Tue, 15 Oct 2024 14:14:50 -0700 Subject: [PATCH] Remove comments --- qa/L0_perf_nomodel/run_test.sh | 13 +------------ qa/L0_perf_nomodel_new/run_test.sh | 13 +------------ 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/qa/L0_perf_nomodel/run_test.sh b/qa/L0_perf_nomodel/run_test.sh index 5996e7c11e..4f92b5caa5 100755 --- a/qa/L0_perf_nomodel/run_test.sh +++ b/qa/L0_perf_nomodel/run_test.sh @@ -186,17 +186,6 @@ for BACKEND in $BACKENDS; do set +e set -o pipefail PA_MAX_TRIALS=${PA_MAX_TRIALS:-"20"} - # Update the command to add a subcommand - # timeout $TIMEOUT_PERIOD $PERF_CLIENT -v \ - # -p${PERF_CLIENT_STABILIZE_WINDOW} \ - # -s${PERF_CLIENT_STABILIZE_THRESHOLD} \ - # ${PERF_CLIENT_EXTRA_ARGS} \ - # -m ${MODEL_NAME} \ - # -b${STATIC_BATCH} -t${CONCURRENCY} \ - # --max-trials "${PA_MAX_TRIALS}" \ - # --shape ${INPUT_NAME}:${SHAPE} \ - # ${SERVICE_ARGS} \ - # -f ${RESULTDIR}/${NAME}.csv 2>&1 > ${RESULTDIR}/${NAME}.log && cat ${RESULTDIR}/${NAME}.log || (echo "FAILURE TO RUN FULL TEST timeout occured GDB BT below" && gdb -p $SERVER_PID -batch -ex "thread apply all bt" > ${RESULTDIR}/${NAME}.gdb_backtrace_$SERVER_PID.log 2>/dev/null && cat ${RESULTDIR}/${NAME}.gdb_backtrace_$SERVER_PID.log) timeout $TIMEOUT_PERIOD $PERF_CLIENT -v \ -p${PERF_CLIENT_STABILIZE_WINDOW} \ @@ -207,7 +196,7 @@ for BACKEND in $BACKENDS; do --max-trials "${PA_MAX_TRIALS}" \ --shape ${INPUT_NAME}:${SHAPE} \ ${SERVICE_ARGS} \ - -f ${RESULTDIR}/${NAME}.csv 2>&1 > ${RESULTDIR}/${NAME}.log && cat ${RESULTDIR}/${NAME}.log || (echo "FAILURE TO RUN FULL TEST timeout occured SERVER logs below" && cat $SERVER_LOG) + -f ${RESULTDIR}/${NAME}.csv 2>&1 > ${RESULTDIR}/${NAME}.log && cat ${RESULTDIR}/${NAME}.log || (echo "FAILURE TO RUN FULL TEST timeout occurred SERVER logs below" && cat $SERVER_LOG) if [ $? -ne 0 ]; then echo -e "\n***\n*** FAILED Perf Analyzer measurement\n***" diff --git a/qa/L0_perf_nomodel_new/run_test.sh b/qa/L0_perf_nomodel_new/run_test.sh index 0bb94645eb..d3ea4be3fa 100755 --- a/qa/L0_perf_nomodel_new/run_test.sh +++ b/qa/L0_perf_nomodel_new/run_test.sh @@ -193,17 +193,6 @@ for BACKEND in $BACKENDS; do set -o pipefail PA_MAX_TRIALS=${PA_MAX_TRIALS:-"20"} - # Update the command to add a subcommand - # timeout $TIMEOUT_PERIOD $PERF_CLIENT -v \ - # -p${PERF_CLIENT_STABILIZE_WINDOW} \ - # -s${PERF_CLIENT_STABILIZE_THRESHOLD} \ - # ${PERF_CLIENT_EXTRA_ARGS} \ - # -m ${MODEL_NAME} \ - # -b${STATIC_BATCH} -t${CONCURRENCY} \ - # --max-trials "${PA_MAX_TRIALS}" \ - # --shape ${INPUT_NAME}:${SHAPE} \ - # ${SERVICE_ARGS} \ - # -f ${RESULTDIR}/${NAME}.csv 2>&1 > ${RESULTDIR}/${NAME}.log && cat ${RESULTDIR}/${NAME}.log || (echo "FAILURE TO RUN FULL TEST timeout occured GDB BT below" && gdb -p $SERVER_PID -batch -ex "thread apply all bt" > ${RESULTDIR}/${NAME}.gdb_backtrace_$SERVER_PID.log 2>/dev/null && cat ${RESULTDIR}/${NAME}.gdb_backtrace_$SERVER_PID.log) timeout $TIMEOUT_PERIOD $PERF_CLIENT -v \ -p${PERF_CLIENT_STABILIZE_WINDOW} \ -s${PERF_CLIENT_STABILIZE_THRESHOLD} \ @@ -213,7 +202,7 @@ for BACKEND in $BACKENDS; do --max-trials "${PA_MAX_TRIALS}" \ --shape ${INPUT_NAME}:${SHAPE} \ ${SERVICE_ARGS} \ - -f ${RESULTDIR}/${NAME}.csv 2>&1 > ${RESULTDIR}/${NAME}.log && cat ${RESULTDIR}/${NAME}.log || (echo "FAILURE TO RUN FULL TEST timeout occured SERVER logs below" && cat $SERVER_LOG) + -f ${RESULTDIR}/${NAME}.csv 2>&1 > ${RESULTDIR}/${NAME}.log && cat ${RESULTDIR}/${NAME}.log || (echo "FAILURE TO RUN FULL TEST timeout occurred SERVER logs below" && cat $SERVER_LOG) if [ $? -ne 0 ]; then echo -e "\n***\n*** FAILED Perf Analyzer measurement\n***"