Skip to content

Commit

Permalink
Clean-up changes
Browse files Browse the repository at this point in the history
  • Loading branch information
indrajit96 committed Oct 14, 2024
1 parent 5af36b4 commit a280014
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions qa/L0_perf_nomodel/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ for BACKEND in $BACKENDS; do
echo "Time after perf analyzer trials: $(date)"
end_time=$(date +%s)
time_diff=$((end_time - start_time))
echo "Time taken by $NAME: $time_diff seconds" | tee -a ${RESULTDIR}/test_time.log
echo "Time taken by $NAME: $time_diff seconds"
set +o pipefail
set -e

Expand All @@ -233,7 +233,6 @@ for BACKEND in $BACKENDS; do
echo -e "\"s_shared_memory\":\"${SHARED_MEMORY}\"," >> ${RESULTDIR}/${NAME}.tjson
echo -e "\"l_instance_count\":${INSTANCE_CNT}," >> ${RESULTDIR}/${NAME}.tjson
echo -e "\"s_architecture\":\"${ARCH}\"}]" >> ${RESULTDIR}/${NAME}.tjson
# echo -e "\"s_test_runtime\":\"${time_diff}\"}]" >> ${RESULTDIR}/${NAME}.tjson

# SERVER_PID may not be set if using "triton_c_api" for example
if [[ -n "${SERVER_PID}" ]]; then
Expand Down
3 changes: 1 addition & 2 deletions qa/L0_perf_nomodel_new/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ for BACKEND in $BACKENDS; do
echo "Time after perf analyzer trials: $(date)"
end_time=$(date +%s)
time_diff=$((end_time - start_time))
echo "Time taken by $NAME: $time_diff seconds" | tee -a ${RESULTDIR}/test_time.log
echo "Time taken by $NAME: $time_diff seconds"
set +o pipefail
set -e

Expand All @@ -240,7 +240,6 @@ for BACKEND in $BACKENDS; do
echo -e "\"s_shared_memory\":\"${SHARED_MEMORY}\"," >> ${RESULTDIR}/${NAME}.tjson
echo -e "\"l_instance_count\":${INSTANCE_CNT}," >> ${RESULTDIR}/${NAME}.tjson
echo -e "\"s_architecture\":\"${ARCH}\"}]" >> ${RESULTDIR}/${NAME}.tjson
# echo -e "\"s_test_runtime\":\"${time_diff}\"}]" >> ${RESULTDIR}/${NAME}.tjson

# SERVER_PID may not be set if using "triton_c_api" for example
if [[ -n "${SERVER_PID}" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion qa/L0_perf_nomodel_new/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ TEST_CONCURRENCY+=(
16
16
16)
TEST_BACKENDS=${BACKENDS:="plan custom graphdef"}
TEST_BACKENDS=${BACKENDS:="plan graphdef custom"}

mkdir -p ${REPO_VERSION}

Expand Down

0 comments on commit a280014

Please sign in to comment.