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
b6b6268c
Unverified
Commit
b6b6268c
authored
Jul 08, 2025
by
Yineng Zhang
Committed by
GitHub
Jul 08, 2025
Browse files
Revert "Embedding parallel by attn_tp (#7623)" (#7880)
parent
08702321
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/models/deepseek_v2.py
python/sglang/srt/models/deepseek_v2.py
+1
-1
No files found.
python/sglang/srt/models/deepseek_v2.py
View file @
b6b6268c
...
...
@@ -1938,7 +1938,7 @@ class DeepseekV2Model(nn.Module):
self
.
embed_tokens
=
VocabParallelEmbedding
(
config
.
vocab_size
,
config
.
hidden_size
,
use_attn_tp_group
=
True
,
enable_tp
=
not
global_server_args_dict
[
"enable_dp_attention"
]
,
)
self
.
alt_stream
=
torch
.
cuda
.
Stream
()
if
_is_cuda
else
None
self
.
layers
=
nn
.
ModuleList
(
...
...
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