Repository navigation
Pin llama.cpp d5048ad: IQ2_XXS and IQ2_XS weights on HRX0 (llama.cpp #50) - #254
Merged
Merged
Conversation
) Moves third_party/llama.cpp from d1747cb to d5048ad. The only change is llama.cpp #50: IQ2_XXS and IQ2_XS in the shared dequantizer and the K-quant decode kernels, so these weights no longer go to the CPU at load time. - registry/architectures.json regenerated for the pin. - docs/hrx.md: the sub-4-bit note now lists IQ1_S/IQ1_M as the remaining CPU fallback and gives the IQ2 numbers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Docs7 for 1bit-monster/engine
Commit |
Collaborator
Author
|
Review (standing in for PR-Agent while
Good to merge once |
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.
Moves
third_party/llama.cppfromd1747cbtod5048ad. The only change is llama.cpp #50, which gives IQ2_XXS and IQ2_XS weights kernels on HRX0.Why it matters. IQ2_XXS and IQ2_XS had no matmul on HRX0. llama.cpp's load-time 512-token matmul test failed, so these weights went to CPU_REPACK and each use split the graph. Unsloth's UD GGUFs below 4 bits carry both.
What #50 does
ggml/src/ggml-hrx/tools/generate_iq2_*.py, and their output is verbatim in the kernel files.Measured on strixhalo (HRX0), Qwen3-4B requantized Q8_0 → IQ2_*
-b 1):test-backend-ops -b HRX0passes 971/971. 64 batched IQ2_XXS matmul shapes are still declined and run on the CPU, as before.Also in this PR:
registry/architectures.jsonregenerated for the pin.tools/registry_build.py --check-pinspasses, and so doestools/check_pins.py origin/main(ahead).docs/hrx.md: the sub-4-bit note now lists IQ1_S/IQ1_M as the remaining CPU fallback and gives the IQ2 numbers.🤖 Generated with Claude Code