mimo2: add MTP draft support - #26228
Conversation
|
/bot review |
Automated code reviewPS: I am @ggml-gh-bot posting the review below. I reviewed the diff (gguf-py constants, BlockingNone. Will slow the review(point 1) (point 2) Nits(point 3) (point 4) Optional follow-up: Step3.5/HY-V3 also implement an Notes
This review was generated automatically by pi coding agent using |
Co-authored-by: tnhnyc <115956684+tnhnyc@users.noreply.github.com>
Co-authored-by: tnhnyc <115956684+tnhnyc@users.noreply.github.com>
Co-authored-by: tnhnyc <115956684+tnhnyc@users.noreply.github.com>
Co-authored-by: tnhnyc <115956684+tnhnyc@users.noreply.github.com>
Co-authored-by: tnhnyc <115956684+tnhnyc@users.noreply.github.com>
Overview
Adds MTP draft support for mimo2 architecture.
The implementation:
Validation
Runtime-tested with MiMo V2.5 310B on two backends:
CUDA validation:
test-llama-archs: passedtest-backend-ops: passedPerformance
The following measurements were collected using the IQ2_XXS/BF16-MTP GGUF on an RTX 3090 + Tesla P40 system with the CUDA backend and
--spec-draft-n-max 1:Observed performance behavior was consistent with earlier testing of the IQ3_S GGUF using the Metal backend on an M3 Max MacBook Pro with 128 GB unified memory.
Performance remains workload-dependent.
Additional information
Requirements