Repository navigation
[executorch][native-ggml] Reject weight-only quantized linears unless activation quant is allowed - #24361
[executorch][native-ggml] Reject weight-only quantized linears unless activation quant is allowed#24361digantdesai wants to merge 4 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/24361
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 9a2c229 with merge base 0f8e096 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
SS-JIA
left a comment
There was a problem hiding this comment.
Review automatically exported from Phabricator review in Meta.
Stack from ghstack (oldest at bottom):
ggml quantizes the activations of its quantized matmuls, so weight-only int4 and GGUF linears silently ran with numerics the PTN doesn't describe. Compile now rejects them unless
GgmlEngineOptions::allow_activation_quant_for_weight_onlyis set.ggml_ptn_runnerandrun_hf_llm_ggmlexpose it as--allow_activation_quant_for_weight_only, which GGUF LLMs on ggml now need.Authored with Claude Code.
@bypass-github-export-checks
@bypass-github-pytorch-ci-checks
@bypass-github-executorch-ci-checks
@exported-using-ghexport
Differential Revision: D128254887
Differential Revision: D128254887