From 19757851141febeb3b0579f25d3f80cff9bcb433 Mon Sep 17 00:00:00 2001 From: zhouyu5 Date: Fri, 24 Jan 2025 05:15:54 +0200 Subject: [PATCH] add ci test Signed-off-by: zhouyu5 --- .buildkite/run-hpu-test.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.buildkite/run-hpu-test.sh b/.buildkite/run-hpu-test.sh index 1edcb1d2669e9..39afee0412c93 100644 --- a/.buildkite/run-hpu-test.sh +++ b/.buildkite/run-hpu-test.sh @@ -20,5 +20,10 @@ trap remove_docker_container_and_exit EXIT remove_docker_container # Run the image and launch offline inference -docker run --runtime=habana --name=hpu-test --network=host -e HABANA_VISIBLE_DEVICES=all -e VLLM_SKIP_WARMUP=true --entrypoint="" hpu-test-env python3 examples/offline_inference/basic.py +docker run --runtime=habana --name=hpu-test --network=host \ + -e HABANA_VISIBLE_DEVICES=all -e VLLM_SKIP_WARMUP=true \ + --entrypoint="" hpu-test-env \ + /bin/bash -c "python3 examples/offline_inference/basic.py \ + && python3 -m pip install pytest \ + && pytest -v -s /workspace/vllm/tests/entrypoints/llm/test_guided_generate.py" EXITCODE=$?