Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
61261b39
Unverified
Commit
61261b39
authored
Mar 04, 2025
by
Chen Shengzhi
Committed by
GitHub
Mar 04, 2025
Browse files
[XCCL] Use xccl for xpu backend since xccl is ready in latest PyTorch. (#3954)
parent
19120f71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
python/sglang/srt/model_executor/model_runner.py
python/sglang/srt/model_executor/model_runner.py
+1
-3
No files found.
python/sglang/srt/model_executor/model_runner.py
View file @
61261b39
...
...
@@ -263,9 +263,7 @@ class ModelRunner:
if
self
.
device
==
"cuda"
:
backend
=
"nccl"
elif
self
.
device
==
"xpu"
:
# TODO(liangan1): Just use gloo to bypass the initilization fail
# Need to use xccl for xpu backend in the future
backend
=
"gloo"
backend
=
"xccl"
elif
self
.
device
==
"hpu"
:
backend
=
"hccl"
elif
self
.
device
==
"cpu"
:
...
...
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