mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-24 14:45:51 +08:00
[refactor] Add prefix support to embed_tokens in DeepSeek MTP (#30788)
Signed-off-by: zzhx1 <zzh_201018@outlook.com>
This commit is contained in:
parent
5f2f3fba1d
commit
b166ef20e1
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user