File tree 1 file changed +4
-5
lines changed
qa/L0_backend_fastertransformer
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 27
27
FASTERTRANSFORMER_BRANCH_TAG=${FASTERTRANSFORMER_BRANCH_TAG:= " main" }
28
28
FASTERTRANSFORMER_BRANCH=${FASTERTRANSFORMER_BRANCH:= " https://github.com/triton-inference-server/fastertransformer_backend.git" }
29
29
SERVER_TIMEOUT=600
30
- SERVER_LOG_BASE=" . /inference_server"
31
- CLIENT_LOG_BASE=" . /client"
30
+ SERVER_LOG_BASE=" $PWD /inference_server"
31
+ CLIENT_LOG_BASE=" $PWD /client"
32
32
33
- MODEL_DIR=${MODEL_DIR:= ` $pwd ` / fastertransformer_backend/ all_models/ t5/ }
33
+ MODEL_DIR=${MODEL_DIR:= $PWD / fastertransformer_backend/ all_models/ t5/ }
34
34
TRITON_DIR=${TRITON_DIR:= " /opt/tritonserver" }
35
35
SERVER=${TRITON_DIR} /bin/tritonserver
36
36
BACKEND_DIR=${TRITON_DIR} /backends
@@ -48,7 +48,6 @@ python3 -m pip install --upgrade pip && \
48
48
pip3 install --upgrade numpy
49
49
50
50
# Clone repo
51
- rm -r fastertransformer_backend*
52
51
git clone --single-branch --depth=1 -b ${FASTERTRANSFORMER_BRANCH_TAG} ${FASTERTRANSFORMER_BRANCH}
53
52
cd fastertransformer_backend
54
53
SERVER_LOG=$SERVER_LOG_BASE .log
@@ -57,7 +56,7 @@ CLIENT_LOG=$CLIENT_LOG_BASE.log
57
56
run_server
58
57
59
58
# in separate container
60
- python3 tools/issue_request.py tools/requests/sample_request_single_t5.json > $CLIENT_LOG 2>&1
59
+ python3 tools/issue_request.py tools/requests/sample_request_single_t5.json > $CLIENT_LOG 2>&1
61
60
if [ $? -ne 0 ]; then
62
61
cat $CLIENT_LOG
63
62
RET=1
You can’t perform that action at this time.
0 commit comments