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
b00a0c78
Unverified
Commit
b00a0c78
authored
Oct 03, 2025
by
jacky.cheng
Committed by
GitHub
Oct 02, 2025
Browse files
[Fix] Update to v0.1.5.post4 and refine HIP attention backend selection (#11161)
parent
a2faf894
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
docker/Dockerfile.rocm
docker/Dockerfile.rocm
+1
-1
python/sglang/srt/model_executor/model_runner.py
python/sglang/srt/model_executor/model_runner.py
+1
-3
No files found.
docker/Dockerfile.rocm
View file @
b00a0c78
...
...
@@ -42,7 +42,7 @@ ENV BUILD_TRITON="0"
ENV BUILD_LLVM="0"
ENV BUILD_AITER_ALL="1"
ENV BUILD_MOONCAKE="1"
ENV AITER_COMMIT="v0.1.5.post
3
"
ENV AITER_COMMIT="v0.1.5.post
4
"
ENV NO_DEPS_FLAG="--no-deps"
# ===============================
...
...
python/sglang/srt/model_executor/model_runner.py
View file @
b00a0c78
...
...
@@ -536,9 +536,7 @@ class ModelRunner:
elif
_is_hip
:
head_num
=
self
.
model_config
.
get_num_kv_heads
(
self
.
tp_size
)
# TODO current aiter only support head number 16 or 128 head number
if
(
head_num
==
128
or
head_num
==
16
)
and
self
.
spec_algorithm
.
is_none
():
if
head_num
==
128
or
head_num
==
16
:
server_args
.
attention_backend
=
"aiter"
else
:
server_args
.
attention_backend
=
"triton"
...
...
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