mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2750] [CLOSED] kq_cpu_bench: quantize i-quant blobs with ggml_quantize_chunk (it crashed on them); KQ_PHASE=gu|down #4240
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4240
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2750
Author: @aslater3
Created: 10/16/2026
Status: ❌ Closed
Base:
main← Head:a770/up-kq-bench-iq📝 Commits (1)
c5d194ekq_cpu_bench: quantize i-quant blobs with ggml_quantize_chunk (it crashed on them); KQ_PHASE=gu|down📊 Changes
1 file changed (+12 additions, -8 deletions)
View changed files
📝
src/kernels/cpu/kq_cpu_bench.cpp(+12 -8)📄 Description
kq_cpu_bench: i-quant blobs via ggml_quantize_chunk (it crashed on them); KQ_PHASE=gu|down
kq_cpu_benchbuilds its random experts with the CPU type traits'from_float, which is null for the i-quants. With--pairs iq2_s/iq4_nl(or any IQ gate/up type) it segfaulted on the first pair, through a null function pointer, beforeprinting a number.
gdb:#0 0x0000000000000000 in ?? (),#1 main ().make_blobnow usesggml_quantize_chunk, which quantizes every type. These i-quants need no importance matrix.KQ_PHASE=guordowntimes only that half of each expert, and prints its GB/s over that half's bytes.Measured on a Ryzen 7 3800X (Zen 2, AVX2), 1 thread, 512 MB of blobs, 1 token:
The bench's other pairs and its default output are unchanged.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.