llama : MTP support for DeepSeek V3.2 - #26457
Merged
Merged
Conversation
ggerganov
approved these changes
Aug 2, 2026
ggerganov
left a comment
Member
There was a problem hiding this comment.
Ack on the libllama changes.
Contributor
Author
Uhh recently it feels like playing Russian roulette with CI. |
Member
|
The CUDA failure seems to be some issue with @taronaeo's runner - I've noticed it failing randomly on different CUDA tests: https://github.com/ggml-org/llama.cpp/actions/runs/30755768689/job/91517537249?pr=26457#step:1:2 It's OK to ignore it for now. |
am17an
approved these changes
Aug 2, 2026
am17an
left a comment
Contributor
There was a problem hiding this comment.
At this point only you are running this model with lineage bench
CISC
approved these changes
Aug 2, 2026
Contributor
Author
@am17an Tell me about it. Recently I feel the urge to get back to my old MiniMax-Text-01 implementation that I never finished. |
CISC
approved these changes
Aug 2, 2026
smalinin
pushed a commit
to smalinin/llama.cpp
that referenced
this pull request
Aug 4, 2026
* llama : MTP support for DeepSeek V3.2 * model : no need to include MTP layers during DeepSeek V3.2 model type discovery --------- Co-authored-by: Stanisław Szymczyk <sszymczy@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.
Overview
This PR adds MTP support to DeepSeek V3.2 model. Mostly useful for code generation (with
--spec-draft-n-max 2draft acceptance is around 80%).Additional information
It's a shameless copy of #25980 as these two models share common architecture.
TODO for next PR: check if adding lightning indexer in MTP layer improves acceptance rate during long-context generations.
Requirements