Skip to content

Commit

Permalink
fix: Copy models out of NFS before starting Triton to avoid intermitt…
Browse files Browse the repository at this point in the history
…ent startup timeouts (#7730)
  • Loading branch information
rmccorm4 authored and indrajit96 committed Oct 23, 2024
1 parent f234911 commit 4fa0d1c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions qa/L0_client_nobatch/test.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 4fa0d1c

Please sign in to comment.