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
061da6bc
Unverified
Commit
061da6bc
authored
Feb 04, 2026
by
Kunshang Ji
Committed by
GitHub
Feb 04, 2026
Browse files
[XPU] remove common path warning log (#33769)
Signed-off-by:
Kunshang Ji
<
kunshang.ji@intel.com
>
parent
4403e3ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
vllm/platforms/__init__.py
vllm/platforms/__init__.py
+0
-5
vllm/platforms/xpu.py
vllm/platforms/xpu.py
+8
-1
No files found.
vllm/platforms/__init__.py
View file @
061da6bc
...
@@ -140,11 +140,6 @@ def xpu_platform_plugin() -> str | None:
...
@@ -140,11 +140,6 @@ def xpu_platform_plugin() -> str | None:
XPUPlatform
.
dist_backend
=
dist_backend
XPUPlatform
.
dist_backend
=
dist_backend
logger
.
debug
(
"Confirmed %s backend is available."
,
XPUPlatform
.
dist_backend
)
logger
.
debug
(
"Confirmed %s backend is available."
,
XPUPlatform
.
dist_backend
)
else
:
logger
.
warning
(
"xccl is not enabled in this torch build, "
"communication is not available."
)
if
hasattr
(
torch
,
"xpu"
)
and
torch
.
xpu
.
is_available
():
if
hasattr
(
torch
,
"xpu"
)
and
torch
.
xpu
.
is_available
():
is_xpu
=
True
is_xpu
=
True
...
...
vllm/platforms/xpu.py
View file @
061da6bc
...
@@ -34,7 +34,7 @@ class XPUPlatform(Platform):
...
@@ -34,7 +34,7 @@ class XPUPlatform(Platform):
# Intel XPU's device key is "GPU" for Ray.
# Intel XPU's device key is "GPU" for Ray.
# see https://github.com/ray-project/ray/blob/6a5eb5865eeb9ccf058a79b44f107e327e360673/python/ray/_private/accelerators/intel_gpu.py#L20 # noqa: E501
# see https://github.com/ray-project/ray/blob/6a5eb5865eeb9ccf058a79b44f107e327e360673/python/ray/_private/accelerators/intel_gpu.py#L20 # noqa: E501
ray_device_key
:
str
=
"GPU"
ray_device_key
:
str
=
"GPU"
dist_backend
:
str
=
"ccl"
# ccl
| xccl
dist_backend
:
str
=
"
x
ccl"
#
x
ccl
only
device_control_env_var
:
str
=
"ZE_AFFINITY_MASK"
device_control_env_var
:
str
=
"ZE_AFFINITY_MASK"
@
classmethod
@
classmethod
...
@@ -223,6 +223,13 @@ class XPUPlatform(Platform):
...
@@ -223,6 +223,13 @@ class XPUPlatform(Platform):
@
classmethod
@
classmethod
def
get_device_communicator_cls
(
cls
)
->
str
:
def
get_device_communicator_cls
(
cls
)
->
str
:
from
vllm.utils.torch_utils
import
supports_xccl
if
not
supports_xccl
():
logger
.
warning
(
"xccl is not enabled in this torch build, communication"
" is not available."
)
return
"vllm.distributed.device_communicators.xpu_communicator.XpuCommunicator"
# noqa
return
"vllm.distributed.device_communicators.xpu_communicator.XpuCommunicator"
# noqa
@
classmethod
@
classmethod
...
...
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