Repository navigation
Enabling Minimax, Deepseek and GLM with weightfree support - #1500
Open
Amit Raj (quic-amitraj) wants to merge 169 commits into
Open
Amit Raj (quic-amitraj) wants to merge 169 commits into
Amit Raj (quic-amitraj) wants to merge 169 commits into
Conversation
Signed-off-by: ochougul <ochougul@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: ochougul <ochougul@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Onkar Chougule <ochougul@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Onkar Chougule <ochougul@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Onkar Chougule <ochougul@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: ochougul <ochougul@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
The raw sliding-window attention path in all four cache layers (sliding, HCA, CSA) gathered context_length (the full ctx_len-wide retained-state buffer) on every decode step instead of just the sliding_window-wide recent window, and the model-level causal mask was built at the same unnecessarily wide ctx_len. Both are now narrowed to sliding_window width via a shared _sliding_window_context_indices helper, removing O(ctx_len) wasted attention/ReduceMax compute from every decode step without changing model output. Verified via the existing CPU parity tests (test_deepseek_v4_*, full test_model_quickcheck.py suite unaffected) and by matching generated token IDs on real QAIC hardware, before and after the fix, for both the current ping-pong CSA cache and (previously) the legacy overlap layout. Signed-off-by: divytrip <divytrip@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek Kumar Singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: divytrip3005 <divytrip@qti.qualcomm.com> (cherry picked from commit 9b9e932e0fa81856e0d52f49138907fa4e94946a) Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
This reverts commit 06e7407. Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Abhishek kumar singh <sabhis@qti.qualcomm.com> Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Kushal Dulla <kdulla@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Amit Raj (quic-amitraj)
marked this pull request as ready for review
November 13, 2026 11:51
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
Signed-off-by: Amit Raj <amitraj@qti.qualcomm.com>
This branch has not been deployed
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.
Summary
Adds QEfficient weight-free export, compilation, and QAIC execution support for MiniMax M3, DeepSeek V4, and GLM-5.3.
MiniMax M3
DeepSeek V4
GLM-5.3
Validation
Adds focused PyTorch, ONNX Runtime, export, cache, blocking, and QAIC parity coverage. QAIC parity tests pending for GLM and Deepseek, but 4 layer runs verified to match huggingface with example scripts.