Skip to content

Commit 98edccd

Browse files
authored
fix: Copy models out of NFS before starting Triton to avoid intermittent startup timeouts (#7730)
1 parent ff1c674 commit 98edccd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

qa/L0_client_nobatch/test.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
2+
# Copyright 2018-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions
@@ -46,9 +46,10 @@ CLIENT_TEST=client_test.py
4646
EXPECTED_NUM_TESTS="4"
4747

4848
DATADIR=/data/inferenceserver/${REPO_VERSION}
49-
49+
MODELDIR="${PWD}/qa_model_repository"
50+
rm -rf ${MODELDIR} && cp -r "${DATADIR}/qa_model_repository" ${MODELDIR}
5051
SERVER=/opt/tritonserver/bin/tritonserver
51-
SERVER_ARGS="--model-repository=$DATADIR/qa_model_repository"
52+
SERVER_ARGS="--model-repository=${MODELDIR}"
5253
SERVER_LOG="./inference_server.log"
5354
source ../common/util.sh
5455

0 commit comments

Comments
 (0)