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
a8134aef
Unverified
Commit
a8134aef
authored
Apr 10, 2026
by
Xinyu Chen
Committed by
GitHub
Apr 09, 2026
Browse files
[XPU] check is_xccl_available before oneccl warmup (#39302)
Signed-off-by:
Xinyu Chen
<
xinyu1.chen@intel.com
>
parent
2800706f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/v1/worker/xpu_worker.py
vllm/v1/worker/xpu_worker.py
+2
-1
No files found.
vllm/v1/worker/xpu_worker.py
View file @
a8134aef
...
@@ -86,7 +86,8 @@ class XPUWorker(Worker):
...
@@ -86,7 +86,8 @@ class XPUWorker(Worker):
)
)
# global all_reduce needed for overall oneccl warm up
# global all_reduce needed for overall oneccl warm up
torch
.
distributed
.
all_reduce
(
torch
.
zeros
(
1
).
xpu
())
if
torch
.
distributed
.
is_xccl_available
():
torch
.
distributed
.
all_reduce
(
torch
.
zeros
(
1
).
xpu
())
# Set random seed.
# Set random seed.
set_random_seed
(
self
.
model_config
.
seed
)
set_random_seed
(
self
.
model_config
.
seed
)
...
...
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