Skip to content

Commit dc7c37f

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/disaggregated/slurm/benchmark/disaggr_torch.slurm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ if [ "${benchmark_mode}" != "gen_only" ] && [ "${benchmark_mode}" != "e2e" ]; th
111111
benchmark_mode="e2e"
112112
fi
113113

114-
if [ -z "${TRT_LLM_GIT_COMMIT}" ]; then
114+
if [ -z "${TRT_LLM_GIT_COMMIT:-}" ]; then
115115
export TRT_LLM_GIT_COMMIT=$(git -C ${trtllm_repo} rev-parse --short HEAD 2>/dev/null || echo "unknown")
116116
echo "TRT_LLM_GIT_COMMIT: ${TRT_LLM_GIT_COMMIT}"
117117
fi

0 commit comments

Comments
 (0)