Repository navigation
Conversation
Author
|
/bot review |
|
Sorry @qikpl4, only members of the |
|
The majority of the changes seem to be unrelated to the PR. You’ve got a better chance of this landing if the diff only contains what’s needed |
Author
It contains everything described...maybe you're confused and saw a large rebase? |
huaxel
pushed a commit
to huaxel/strix-llama.cpp
that referenced
this pull request
Sep 29, 2026
… Puzzle) Cherry-picked upstream ggml-org#25444 renamed scalar hparams.n_expert_used and hparams.n_ff_exp to _impl fields and added per-layer accessors (matching the previous PR ggml-org#26869 rename of the scalar fields). CachyLLama missed a few call sites: - llama_model_n_expert_used (C API) - llama_moe_residency - llama_context stats/selection populators - qwen4exp load_arch_tensors MTP-layer loop (line 276, originally wrote n_ff_exp without the parenthesised accessor; pre-rename it worked because the field existed; post-rename it has to use the method) All bare hparams.n_expert_used / hparams.n_ff_exp references in CachyLLama code now use the accessors.
huaxel
pushed a commit
to huaxel/strix-llama.cpp
that referenced
this pull request
Sep 29, 2026
… Puzzle) Cherry-picked upstream ggml-org#25444 renamed scalar hparams.n_expert_used and hparams.n_ff_exp to _impl fields and added per-layer accessors (matching the previous PR ggml-org#26869 rename of the scalar fields). CachyLLama missed a few call sites: - llama_model_n_expert_used (C API) - llama_moe_residency - llama_context stats/selection populators - qwen4exp load_arch_tensors MTP-layer loop (line 276, originally wrote n_ff_exp without the parenthesised accessor; pre-rename it worked because the field existed; post-rename it has to use the method) All bare hparams.n_expert_used / hparams.n_ff_exp references in CachyLLama code now use the accessors.
This PR/commit implements dense MXFP4 support (all tensors), and MoE NVFP4 (similar to MXFP4). It implements the quantization routine for all of these types.
huaxel
pushed a commit
to huaxel/strix-llama.cpp
that referenced
this pull request
Oct 26, 2026
… Puzzle) Cherry-picked upstream ggml-org#25444 renamed scalar hparams.n_expert_used and hparams.n_ff_exp to _impl fields and added per-layer accessors (matching the previous PR ggml-org#26869 rename of the scalar fields). CachyLLama missed a few call sites: - llama_model_n_expert_used (C API) - llama_moe_residency - llama_context stats/selection populators - qwen4exp load_arch_tensors MTP-layer loop (line 276, originally wrote n_ff_exp without the parenthesised accessor; pre-rename it worked because the field existed; post-rename it has to use the method) All bare hparams.n_expert_used / hparams.n_ff_exp references in CachyLLama code now use the accessors.
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.
This PR/commit implements dense MXFP4 support (all tensors), and MoE NVFP4 (similar to MXFP4). It also implements the quantization routine for these types:
Overview
See above.
More specifically, it also adds
NVFP4_MOEandMXFP4quantization types which are new. The engine could already process these but with warnings, and this also is fixed.Additional information
Unlike other implementations of finished MXFP4 and NVFP4 support, this gives the best of all the worlds. People who want a dense MXFP4 get it, people who want MoE NVFP4 get it, and now people can have NVFP4 too. This PR kills multiple birds with one stone.
Note: This PR was moved to a different account due to multiple reasons relating to GitHub ToS and Support
Requirements