[CI/Build] Add tests for the V1 tpu_model_runner. (#14843)

Signed-off-by: Yarong Mu <ymu@google.com>
This commit is contained in:
yarongmu-google
2025-03-25 09:27:16 -07:00
committed by GitHub
parent d0cfec7ab9
commit 0a049c7d86
3 changed files with 310 additions and 1 deletions

View File

@@ -30,7 +30,9 @@ docker run --privileged --net host --shm-size=16G -it \
&& echo TEST_4 \
&& pytest -s -v /workspace/vllm/tests/tpu/test_quantization_accuracy.py \
&& echo TEST_5 \
&& python3 /workspace/vllm/examples/offline_inference/tpu.py" \
&& python3 /workspace/vllm/examples/offline_inference/tpu.py \
&& echo TEST_6 \
&& pytest -s -v /workspace/vllm/tests/tpu/worker/test_tpu_model_runner.py" \
# TODO: This test fails because it uses RANDOM_SEED sampling