Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
b166ef20
Unverified
Commit
b166ef20
authored
Dec 18, 2025
by
zzhxxx
Committed by
GitHub
Dec 18, 2025
Browse files
[refactor] Add prefix support to embed_tokens in DeepSeek MTP (#30788)
Signed-off-by:
zzhx1
<
zzh_201018@outlook.com
>
parent
5f2f3fba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vllm/model_executor/models/deepseek_mtp.py
vllm/model_executor/models/deepseek_mtp.py
+1
-0
No files found.
vllm/model_executor/models/deepseek_mtp.py
View file @
b166ef20
...
...
@@ -141,6 +141,7 @@ class DeepSeekMultiTokenPredictor(nn.Module):
self
.
embed_tokens
=
VocabParallelEmbedding
(
config
.
vocab_size
,
config
.
hidden_size
,
prefix
=
maybe_prefix
(
prefix
,
"embed_tokens"
),
)
self
.
logits_processor
=
LogitsProcessor
(
config
.
vocab_size
)
...
...
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