mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-27 04:35:47 +08:00
[bugfix]fix MTP hidden states (#24056)
Signed-off-by: Lu Fang <fanglu@fb.com>
This commit is contained in:
parent
5685370271
commit
a344a5aa0a
@ -220,6 +220,7 @@ class EagleProposer:
|
||||
)
|
||||
if self.method in ("deepseek_mtp", "ernie_mtp"):
|
||||
last_hidden_states = ret_hidden_states
|
||||
hidden_states = last_hidden_states
|
||||
else:
|
||||
last_hidden_states, hidden_states = ret_hidden_states
|
||||
sample_hidden_states = last_hidden_states[last_token_indices]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user