[Model Runner V2][Spec Decode] Handle tuple hidden states from MTP draft models - #46786
Merged
ywang96 merged 2 commits intoJun 28, 2026
Merged
Conversation
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
chaunceyjiang
requested review from
WoosukKwon,
njhill and
yewentao256
as code owners
June 26, 2026 03:28
TheEpicDolphin
suggested changes
Jun 26, 2026
TheEpicDolphin
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for the fix! Now that model_returns_tuple is no longer used, could you please remove it from AutoRegressiveSpeculator and the classes that derive from it?
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
ywang96
approved these changes
Jun 28, 2026
This was referenced Jun 29, 2026
wincent8
pushed a commit
to wincent8/vllm
that referenced
this pull request
Jun 29, 2026
rjrock
pushed a commit
to rjrock/vllm
that referenced
this pull request
Jul 1, 2026
noooop
pushed a commit
to noooop/vllm
that referenced
this pull request
Jul 9, 2026
…aft models (vllm-project#46786) Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io>
Dao007forever
pushed a commit
to Dao007forever/vllm
that referenced
this pull request
Jul 18, 2026
philippesic
pushed a commit
to philippesic/vllm-semantic-cache
that referenced
this pull request
Jul 19, 2026
plasticchris
pushed a commit
to plasticchris/vllm
that referenced
this pull request
Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some MTP models declare a single-tensor contract but return (logits_hidden, feedback_hidden) for final-norm correctness.
Purpose
Fix #46798
[Spec Decode] Handle tuple hidden states from MTP draft models
Test Plan
this pr:
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.