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
zhaoyu6
sglang
Commits
b6b6268c
"tests/tools/test_parmetis.py" did not exist on "1f471396d8b6fffb58411d26e0e39848dab7497f"
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
Show 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):
...
@@ -1938,7 +1938,7 @@ class DeepseekV2Model(nn.Module):
self
.
embed_tokens
=
VocabParallelEmbedding
(
self
.
embed_tokens
=
VocabParallelEmbedding
(
config
.
vocab_size
,
config
.
vocab_size
,
config
.
hidden_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
.
alt_stream
=
torch
.
cuda
.
Stream
()
if
_is_cuda
else
None
self
.
layers
=
nn
.
ModuleList
(
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