Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
indrajit96 committed Oct 15, 2024
1 parent cc72b7f commit 8d1eceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
13 changes: 1 addition & 12 deletions qa/L0_perf_nomodel/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand All @@ -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***"
Expand Down
13 changes: 1 addition & 12 deletions qa/L0_perf_nomodel_new/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand All @@ -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***"
Expand Down

0 comments on commit 8d1eceb

Please sign in to comment.