Skip to content

Commit 1975785

Browse files
author
zhouyu5
committed
add ci test
Signed-off-by: zhouyu5 <yu.zhou@intel.com>
1 parent 6038128 commit 1975785

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.buildkite/run-hpu-test.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,10 @@ trap remove_docker_container_and_exit EXIT
2020
remove_docker_container
2121

2222
# Run the image and launch offline inference
23-
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
23+
docker run --runtime=habana --name=hpu-test --network=host \
24+
-e HABANA_VISIBLE_DEVICES=all -e VLLM_SKIP_WARMUP=true \
25+
--entrypoint="" hpu-test-env \
26+
/bin/bash -c "python3 examples/offline_inference/basic.py \
27+
&& python3 -m pip install pytest \
28+
&& pytest -v -s /workspace/vllm/tests/entrypoints/llm/test_guided_generate.py"
2429
EXITCODE=$?

0 commit comments

Comments
 (0)