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
058926d4
Unverified
Commit
058926d4
authored
Dec 19, 2025
by
Fanli Lin
Committed by
GitHub
Dec 18, 2025
Browse files
[XPU] allow custom workers (e.g. vllm-omni workers) to be used on XPU (#30935)
Signed-off-by:
Fanli Lin
<
fanli.lin@intel.com
>
parent
700a5ad6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
vllm/platforms/xpu.py
vllm/platforms/xpu.py
+4
-1
No files found.
vllm/platforms/xpu.py
View file @
058926d4
...
@@ -159,7 +159,10 @@ class XPUPlatform(Platform):
...
@@ -159,7 +159,10 @@ class XPUPlatform(Platform):
# check and update parallel config
# check and update parallel config
parallel_config
=
vllm_config
.
parallel_config
parallel_config
=
vllm_config
.
parallel_config
parallel_config
.
worker_cls
=
"vllm.v1.worker.xpu_worker.XPUWorker"
# Only override worker_cls if it's still the default "auto"
# This allows custom workers (like vllm-omni workers) to be used on XPU
if
parallel_config
.
worker_cls
==
"auto"
:
parallel_config
.
worker_cls
=
"vllm.v1.worker.xpu_worker.XPUWorker"
if
vllm_config
.
kv_transfer_config
is
not
None
:
if
vllm_config
.
kv_transfer_config
is
not
None
:
vllm_config
.
kv_transfer_config
.
enable_permute_local_kv
=
True
vllm_config
.
kv_transfer_config
.
enable_permute_local_kv
=
True
...
...
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