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
a344a5aa
Unverified
Commit
a344a5aa
authored
Sep 01, 2025
by
Lucia Fang
Committed by
GitHub
Sep 01, 2025
Browse files
[bugfix]fix MTP hidden states (#24056)
Signed-off-by:
Lu Fang
<
fanglu@fb.com
>
parent
56853702
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vllm/v1/spec_decode/eagle.py
vllm/v1/spec_decode/eagle.py
+1
-0
No files found.
vllm/v1/spec_decode/eagle.py
View file @
a344a5aa
...
@@ -220,6 +220,7 @@ class EagleProposer:
...
@@ -220,6 +220,7 @@ class EagleProposer:
)
)
if
self
.
method
in
(
"deepseek_mtp"
,
"ernie_mtp"
):
if
self
.
method
in
(
"deepseek_mtp"
,
"ernie_mtp"
):
last_hidden_states
=
ret_hidden_states
last_hidden_states
=
ret_hidden_states
hidden_states
=
last_hidden_states
else
:
else
:
last_hidden_states
,
hidden_states
=
ret_hidden_states
last_hidden_states
,
hidden_states
=
ret_hidden_states
sample_hidden_states
=
last_hidden_states
[
last_token_indices
]
sample_hidden_states
=
last_hidden_states
[
last_token_indices
]
...
...
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