Skip to content

Commit 80de5b6

Browse files
committed
Fix
Signed-off-by: Kaiyu Xie <[email protected]>
1 parent dc7c37f commit 80de5b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/disaggregated/slurm/benchmark/start_worker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ benchmark_mode=$5
1111
concurrency=$6
1212
enable_pdl=$7
1313
work_dir=$8
14-
nsys_folder=$9
14+
nsys_folder=${9:-}
1515

1616
unset UCX_TLS
1717
echo "config_file: ${config_file}, concurrency: ${concurrency}, enable_pdl: ${enable_pdl}, work_dir: ${work_dir}"
@@ -48,7 +48,7 @@ if [ "${SLURM_NODEID}" = "0" ]; then
4848
fi
4949

5050
#check if nsys_folder is provided
51-
if [ -z "${nsys_folder}" ]; then
51+
if [ -z "${nsys_folder:-}" ]; then
5252
echo "nsys is not enabled, start normal flow"
5353
trtllm-llmapi-launch trtllm-serve ${model_path} --host $(hostname) --port ${port} --extra_llm_api_options ${config_file}
5454
else

0 commit comments

Comments
 (0)