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
aa205609
Unverified
Commit
aa205609
authored
Jul 12, 2025
by
Xiaoyu Zhang
Committed by
GitHub
Jul 11, 2025
Browse files
delete uselese code caused by fuse allreduce+add_rmsnorm pr (#7970)
parent
61bb2858
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
python/sglang/srt/models/deepseek_v2.py
python/sglang/srt/models/deepseek_v2.py
+0
-5
No files found.
python/sglang/srt/models/deepseek_v2.py
View file @
aa205609
...
@@ -1895,11 +1895,6 @@ class DeepseekV2DecoderLayer(nn.Module):
...
@@ -1895,11 +1895,6 @@ class DeepseekV2DecoderLayer(nn.Module):
hidden_states
,
residual
,
forward_batch
hidden_states
,
residual
,
forward_batch
)
)
if
self
.
enable_dp_attention
and
self
.
speculative_algorithm
.
is_eagle
():
# NOTE: this line resolves the degradation of MTP reception rate for non-zero DP ranks.
# See discussion here (https://github.com/sgl-project/sglang/pull/6081#discussion_r2147452251).
hidden_states
=
hidden_states
.
clone
()
return
hidden_states
,
residual
return
hidden_states
,
residual
def
op_comm_prepare_attn
(
def
op_comm_prepare_attn
(
...
...
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