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
f225ea7d
Unverified
Commit
f225ea7d
authored
Sep 23, 2025
by
Kunshang Ji
Committed by
GitHub
Sep 23, 2025
Browse files
[XPU] Fix `compile_size` is `None` case. (#25433)
Signed-off-by:
Kunshang Ji
<
kunshang.ji@intel.com
>
parent
fc97733d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/platforms/xpu.py
vllm/platforms/xpu.py
+2
-0
No files found.
vllm/platforms/xpu.py
View file @
f225ea7d
...
@@ -113,6 +113,8 @@ class XPUPlatform(Platform):
...
@@ -113,6 +113,8 @@ class XPUPlatform(Platform):
# lazy import to avoid circular import
# lazy import to avoid circular import
from
vllm.config
import
CompilationLevel
,
CUDAGraphMode
from
vllm.config
import
CompilationLevel
,
CUDAGraphMode
compilation_config
=
vllm_config
.
compilation_config
compilation_config
=
vllm_config
.
compilation_config
if
compilation_config
.
compile_sizes
is
None
:
compilation_config
.
compile_sizes
=
[]
assert
compilation_config
.
cudagraph_mode
==
CUDAGraphMode
.
NONE
,
\
assert
compilation_config
.
cudagraph_mode
==
CUDAGraphMode
.
NONE
,
\
"CUDA graph mode should be NONE on XPU"
"CUDA graph mode should be NONE on 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