Skip to content

Commit f1fbb09

Browse files
committed
ip
1 parent d29198c commit f1fbb09

File tree

1 file changed

+7
-2
lines changed
  • ci/L0_backend_vllm/accuracy_test

1 file changed

+7
-2
lines changed

ci/L0_backend_vllm/accuracy_test/test.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,17 @@ RET=0
4848
set +e
4949
# Need to generate baseline first, since running 2 vLLM engines causes
5050
# memory issues: https://github.com/vllm-project/vllm/issues/2248
51-
VLLM_USE_V1=0 VLLM_WORKER_MULTIPROC_METHOD=spawn python3 $CLIENT_PY --generate-baseline >> $VLLM_ENGINE_LOG 2>&1 & BASELINE_PID=$!
51+
export VLLM_USE_V1=0
52+
export VLLM_WORKER_MULTIPROC_METHOD=spawn
53+
python3 $CLIENT_PY --generate-baseline >> $VLLM_ENGINE_LOG 2>&1 & BASELINE_PID=$!
5254
wait $BASELINE_PID
5355

54-
VLLM_USE_V1=0 VLLM_WORKER_MULTIPROC_METHOD=spawn python3 $CLIENT_PY --generate-guided-baseline > $VLLM_ENGINE_LOG 2>&1 & BASELINE_PID=$!
56+
python3 $CLIENT_PY --generate-guided-baseline > $VLLM_ENGINE_LOG 2>&1 & BASELINE_PID=$!
5557
wait $BASELINE_PID
5658

59+
unset VLLM_USE_V1
60+
unset VLLM_WORKER_MULTIPROC_METHOD
61+
5762
set -e
5863

5964
run_server

0 commit comments

Comments
 (0)