Skip to content

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
krishung5 committed Jul 7, 2023
1 parent 6845240 commit 048be2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qa/L0_backend_python/python_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

import sys

sys.path.append("/opt/tritonserver/qa/common")
sys.path.append("../../common")

import test_util as tu
import shm_util
Expand Down
5 changes: 4 additions & 1 deletion qa/L0_warmup/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export CUDA_VISIBLE_DEVICES=0

CLIENT=../clients/image_client
CLIENT_LOG="./client.log"
CLIENT_PY=/opt/tritonserver/qa/L0_backend_python/python_unittest.py
CLIENT_PY=./python_unittest.py
EXPECTED_NUM_TESTS="1"
TEST_RESULT_FILE='test_results.txt'

Expand Down Expand Up @@ -449,6 +449,9 @@ mkdir -p models/bls_onnx_warmup/1/
cp ../python_models/bls_onnx_warmup/model.py models/bls_onnx_warmup/1/
cp ../python_models/bls_onnx_warmup/config.pbtxt models/bls_onnx_warmup/.

cp ../L0_backend_python/python_unittest.py .
sed -i 's#sys.path.append("../../common")#sys.path.append("../common")#g' python_unittest.py

run_server
if [ "$SERVER_PID" == "0" ]; then
echo -e "\n***\n*** Failed to start $SERVER\n***"
Expand Down

0 comments on commit 048be2a

Please sign in to comment.