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
05cbbe20
Unverified
Commit
05cbbe20
authored
Jul 30, 2025
by
Kunshang Ji
Committed by
GitHub
Jul 30, 2025
Browse files
[XPU] use `ZE_AFFINITY_MASK` for device select on xpu (#21815)
Signed-off-by:
Kunshang Ji
<
kunshang.ji@intel.com
>
parent
65f311ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/platforms/xpu.py
vllm/platforms/xpu.py
+1
-1
No files found.
vllm/platforms/xpu.py
View file @
05cbbe20
...
@@ -30,7 +30,7 @@ class XPUPlatform(Platform):
...
@@ -30,7 +30,7 @@ class XPUPlatform(Platform):
# 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
=
"ccl"
# ccl | xccl
device_control_env_var
:
str
=
"
ONEAPI_DEVICE_SELECTOR
"
device_control_env_var
:
str
=
"
ZE_AFFINITY_MASK
"
@
classmethod
@
classmethod
def
get_attn_backend_cls
(
cls
,
selected_backend
:
_Backend
,
head_size
:
int
,
def
get_attn_backend_cls
(
cls
,
selected_backend
:
_Backend
,
head_size
:
int
,
...
...
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