From e62ab7c970673f556a844c8e57a4ae20771ab1dd Mon Sep 17 00:00:00 2001 From: yy-fighting Date: Fri, 10 Jul 2026 04:57:22 +0000 Subject: [PATCH] sglang tp_dp_matrix: export MODEL_PATH and RESULT_BASE for bash -c subshells export -f only exports the function definition, not the variables it references. MODEL_PATH and RESULT_BASE were empty inside timeout bash -c subshells, causing docker run -v ::ro invalid spec. Add explicit export for all variables used by run_bench_serving(). --- experiments/dsv4_h200_sglang_tp_dp_matrix/run_bench.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiments/dsv4_h200_sglang_tp_dp_matrix/run_bench.sh b/experiments/dsv4_h200_sglang_tp_dp_matrix/run_bench.sh index 619d25d..a1bc182 100755 --- a/experiments/dsv4_h200_sglang_tp_dp_matrix/run_bench.sh +++ b/experiments/dsv4_h200_sglang_tp_dp_matrix/run_bench.sh @@ -13,7 +13,7 @@ source "${SCRIPT_DIR}/../../scripts/common/platform.sh" source "${SCRIPT_DIR}/config.env" # Export variables used inside functions that are called via bash -c subshells. -export DATASET_PATH +export DATASET_PATH MODEL_PATH RESULT_BASE RUN_ID="${RUN_ID:-$(date '+%Y%m%d-%H%M%S')}" RESULT_BASE="${SCRIPT_DIR}/results"