Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
2c5ebec0
Unverified
Commit
2c5ebec0
authored
Jul 07, 2025
by
Liangliang Ma
Committed by
GitHub
Jul 07, 2025
Browse files
[XPU][CI] add v1/core test in xpu hardware ci (#20537)
Signed-off-by:
Ma, Liangliang
<
liangliang.ma@intel.com
>
parent
2e610deb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
.buildkite/scripts/hardware_ci/run-xpu-test.sh
.buildkite/scripts/hardware_ci/run-xpu-test.sh
+4
-2
docker/Dockerfile.xpu
docker/Dockerfile.xpu
+1
-1
vllm/platforms/xpu.py
vllm/platforms/xpu.py
+1
-5
No files found.
.buildkite/scripts/hardware_ci/run-xpu-test.sh
View file @
2c5ebec0
...
...
@@ -27,4 +27,6 @@ docker run \
"
${
image_name
}
"
\
sh
-c
'
VLLM_USE_V1=1 python3 examples/offline_inference/basic/generate.py --model facebook/opt-125m --block-size 64 --enforce-eager
cd tests
pytest -v -s v1/core
'
docker/Dockerfile.xpu
View file @
2c5ebec0
...
...
@@ -47,7 +47,7 @@ FROM vllm-base AS vllm-openai
# install additional dependencies for openai api server
RUN --mount=type=cache,target=/root/.cache/pip \
pip install accelerate hf_transfer 'modelscope!=1.15.0'
pip install accelerate hf_transfer
pytest
'modelscope!=1.15.0'
ENV VLLM_USAGE_SOURCE production-docker-image \
TRITON_XPU_PROFILE 1
...
...
vllm/platforms/xpu.py
View file @
2c5ebec0
...
...
@@ -93,10 +93,6 @@ class XPUPlatform(Platform):
"mode."
)
model_config
.
enforce_eager
=
True
if
vllm_config
.
speculative_config
is
not
None
:
raise
NotImplementedError
(
"XPU does not support speculative decoding"
)
if
vllm_config
.
device_config
is
not
None
:
assert
vllm_config
.
device_config
.
device_type
==
"xpu"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment