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
82f836d9
Unverified
Commit
82f836d9
authored
Mar 13, 2026
by
Chaojun Zhang
Committed by
GitHub
Mar 13, 2026
Browse files
[XPU] Support LoRA via torch.compile on XPU platform (#36962)
Signed-off-by:
chzhang
<
chaojun.zhang@intel.com
>
parent
4fccd30f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
vllm/platforms/xpu.py
vllm/platforms/xpu.py
+1
-3
No files found.
vllm/platforms/xpu.py
View file @
82f836d9
...
@@ -167,7 +167,7 @@ class XPUPlatform(Platform):
...
@@ -167,7 +167,7 @@ class XPUPlatform(Platform):
cache_config
.
block_size
=
64
cache_config
.
block_size
=
64
# lazy import to avoid circular import
# lazy import to avoid circular import
from
vllm.config
import
CompilationMode
,
CUDAGraphMode
from
vllm.config
import
CUDAGraphMode
compilation_config
=
vllm_config
.
compilation_config
compilation_config
=
vllm_config
.
compilation_config
if
compilation_config
.
compile_sizes
is
None
:
if
compilation_config
.
compile_sizes
is
None
:
...
@@ -200,8 +200,6 @@ class XPUPlatform(Platform):
...
@@ -200,8 +200,6 @@ class XPUPlatform(Platform):
"falling back to PIECEWISE graph mode on XPU platform."
"falling back to PIECEWISE graph mode on XPU platform."
)
)
if
vllm_config
.
lora_config
is
not
None
:
compilation_config
.
mode
=
CompilationMode
.
NONE
# check and update parallel config
# check and update parallel config
parallel_config
=
vllm_config
.
parallel_config
parallel_config
=
vllm_config
.
parallel_config
# Only override worker_cls if it's still the default "auto"
# Only override worker_cls if it's still the default "auto"
...
...
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