[ModelRunner V2] Share identical MTP weights#42538
Merged
Merged
Conversation
Signed-off-by: Nick Hill <nickhill123@gmail.com>
Contributor
There was a problem hiding this comment.
Code Review
This pull request refactors the weight-sharing logic between draft and target models in EAGLE speculative decoding by introducing a _should_share utility and adding support for sharing the topk_indices_buffer. Feedback identifies a logic inconsistency in _should_share where it fails to share when the draft is None, and recommends performing tensor comparisons on the GPU to avoid the memory overhead and latency of moving data to the CPU. Additionally, it is suggested to apply the Pipeline Parallelism check to lm_head sharing to ensure consistency with the embedding sharing logic.
Signed-off-by: Nick Hill <nickhill123@gmail.com>
30 tasks
yewentao256
approved these changes
May 13, 2026
yewentao256
left a comment
Member
There was a problem hiding this comment.
LGTM, thanks for the work!
mfylcek
pushed a commit
to mfylcek/vllm
that referenced
this pull request
May 19, 2026
Signed-off-by: Nick Hill <nickhill123@gmail.com>
rishitdholakia13
pushed a commit
to rishitdholakia13/vllm
that referenced
this pull request
May 19, 2026
Signed-off-by: Nick Hill <nickhill123@gmail.com>
jhu960213
pushed a commit
to jhu960213/vllm
that referenced
this pull request
May 20, 2026
Signed-off-by: Nick Hill <nickhill123@gmail.com>
h1t35h
pushed a commit
to h1t35h/vllm
that referenced
this pull request
May 21, 2026
Signed-off-by: Nick Hill <nickhill123@gmail.com>
mvanhorn
pushed a commit
to mvanhorn/vllm
that referenced
this pull request
Jun 4, 2026
Signed-off-by: Nick Hill <nickhill123@gmail.com> Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
This was referenced Jun 5, 2026
knight0528
pushed a commit
to knight0528/vllm
that referenced
this pull request
Jun 8, 2026
Signed-off-by: Nick Hill <nickhill123@gmail.com>
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.
This is already done in V1 but wasn't covered in V2.
Without this, the CI fails one of the eagle tests which was tight on GPU memory.