Skip to content

Commit

Permalink
add ci test
Browse files Browse the repository at this point in the history
Signed-off-by: zhouyu5 <[email protected]>
  • Loading branch information
zhouyu5 committed Jan 26, 2025
1 parent 6038128 commit 1975785
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .buildkite/run-hpu-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=$?

0 comments on commit 1975785

Please sign in to comment.