mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-04 23:49:44 +08:00
[MISC][XPU] quick fix for XPU CI (#10859)
Signed-off-by: yan ma <yan.ma@intel.com>
This commit is contained in:
parent
3bc94cab69
commit
2f2cdc745a
@ -13,6 +13,7 @@ trap remove_docker_container EXIT
|
||||
remove_docker_container
|
||||
|
||||
# Run the image and test offline inference/tensor parallel
|
||||
docker run -it -d --name xpu-test --device /dev/dri -v /dev/dri/by-path:/dev/dri/by-path xpu-test /bin/bash
|
||||
docker exec xpu-test bash -c "python3 examples/offline_inference.py"
|
||||
docker exec xpu-test bash -c "python3 examples/offline_inference_cli.py -tp 2"
|
||||
docker run --name xpu-test --device /dev/dri -v /dev/dri/by-path:/dev/dri/by-path --entrypoint="" xpu-test sh -c '
|
||||
python3 examples/offline_inference.py
|
||||
python3 examples/offline_inference_cli.py -tp 2
|
||||
'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user