Repository navigation
llama : remove redundant fields from llm_graph_params - #32596
Merged
Merged
Conversation
llm_graph_params no longer carries hparams, prec_policy and hdmd, since the model reference already provides them. llm_graph_context sources them from the model and keeps prec_policy as a reference. Assisted-by: dsh:llama.cpp/ggml-org/DeepSeek-V4.1-Flash-1017-GGUF (Mac Studio, M5 Ultra, 256GB)
ggerganov
marked this pull request as ready for review
November 19, 2026 09:55
CISC
approved these changes
Nov 19, 2026
taronaeo
approved these changes
Nov 19, 2026
fletto2
added a commit
to fletto2/llama.cpp-classifier
that referenced
this pull request
Nov 20, 2026
124 ggml-org commits. Conflicts: - ggml-cuda.cu MUL_MAT_ID fallback: upstream ggml-org#32505 gives duplicate expert ids a row each; our host counting sort (30190eb) now counts every slot too, which gives upstream's arrays without its experts x tokens scan - ggml-cuda.cu fusion: upstream's NORM(+MUL(+ADD)) fusions, then our rmsnorm fusion with its skip guard - mmq-config-gcn.cuh: our TQ*/IQ3_K/IQ3_KS rows kept, upstream's retuned IQ2_S/IQ3_XXS rows taken - llm_graph_params (ggml-org#32596): prec_policy/hdmd/hparams now come from the model; our layers / MoE selection bias / tail-skip fields kept - build_attn iswa: upstream's static build_attn_iswa_impl(gctx, ...), with our KV fold as gctx.build_attn_kfold - llama-ext.h: both; README: ours
Annieren
pushed a commit
to Annieren/llama.cpp-upstream
that referenced
this pull request
Nov 23, 2026
llm_graph_params no longer carries hparams, prec_policy and hdmd, since the model reference already provides them. llm_graph_context sources them from the model and keeps prec_policy as a reference. Assisted-by: dsh:llama.cpp/ggml-org/DeepSeek-V4.1-Flash-1017-GGUF (Mac Studio, M5 Ultra, 256GB)
Cinderella-Man
added a commit
to Cinderella-Man/miner-llama
that referenced
this pull request
Nov 24, 2026
…(upstream ggml-org#32596 removed llm_graph_params::hparams) (C912) Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks
Mr-J-369
pushed a commit
to Mr-J-369/llama.cpp-Android
that referenced
this pull request
Nov 25, 2026
llm_graph_params no longer carries hparams, prec_policy and hdmd, since the model reference already provides them. llm_graph_context sources them from the model and keeps prec_policy as a reference. Assisted-by: dsh:llama.cpp/ggml-org/DeepSeek-V4.1-Flash-1017-GGUF (Mac Studio, M5 Ultra, 256GB) (cherry picked from commit 01592dc)
Nindaleth
pushed a commit
to Nindaleth/llama.cpp
that referenced
this pull request
Nov 26, 2026
llm_graph_params no longer carries hparams, prec_policy and hdmd, since the model reference already provides them. llm_graph_context sources them from the model and keeps prec_policy as a reference. Assisted-by: dsh:llama.cpp/ggml-org/DeepSeek-V4.1-Flash-1017-GGUF (Mac Studio, M5 Ultra, 256GB)
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
llm_graph_paramsno longer carrieshparams,prec_policyandhdmd, since thellama_modelreference already stored in the struct provides them.llm_graph_contextnow sources these from the model, andprec_policyis a reference there, placed right afterubatch.Requirements
dsh:llama.cppMac Studio, M5 Ultra, 256GB