From 4fa0d1c7f61ee1b30ac0c8b90b6abcbed0ad64f7 Mon Sep 17 00:00:00 2001 From: Ryan McCormick Date: Wed, 23 Oct 2024 12:20:45 -0700 Subject: [PATCH] fix: Copy models out of NFS before starting Triton to avoid intermittent startup timeouts (#7730) --- qa/L0_client_nobatch/test.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qa/L0_client_nobatch/test.sh b/qa/L0_client_nobatch/test.sh index 58b1b3dc58..e768f385e5 100755 --- a/qa/L0_client_nobatch/test.sh +++ b/qa/L0_client_nobatch/test.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved. +# Copyright 2018-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -46,9 +46,10 @@ CLIENT_TEST=client_test.py EXPECTED_NUM_TESTS="4" DATADIR=/data/inferenceserver/${REPO_VERSION} - +MODELDIR="${PWD}/qa_model_repository" +rm -rf ${MODELDIR} && cp -r "${DATADIR}/qa_model_repository" ${MODELDIR} SERVER=/opt/tritonserver/bin/tritonserver -SERVER_ARGS="--model-repository=$DATADIR/qa_model_repository" +SERVER_ARGS="--model-repository=${MODELDIR}" SERVER_LOG="./inference_server.log" source ../common/util.sh