Repository navigation
Pin llama.cpp d60cc4f: PrismML ternary types native on HRX, graph program cache cap - #280
Merged
Merged
Conversation
…gram cache cap; serve runs PQ2_0/PTQ1_0 files on HRX llama.cpp fork since bd5b297: - #62: PrismML's PQ2_0 / PTQ1_0 as native ggml types (142 / 143) with HRX decode on the K-quant kernels; Q1_0 decode moves onto them. Ternary-Bonsai-2-27B (balanced mode, llama-bench -fa 1): PTQ1_0 5.53 GiB 14.3 tok/s, PQ2_0 6.70 GiB 15.8 tok/s, vs 14.13 GiB / 15.3 for the Q4_0 copy; KLD vs CPU 0.000129 for all three. CPU decode bit-identical to PrismML's build on every tensor of both 27B files. test-backend-ops -b HRX0 1020/1020. - #63: GGML_HRX_GRAPH_PROGRAM_CACHE (default 64) bounds HRX server memory: ZAYA1-8B over 40 varying-length requests peaks at 8.7 GiB instead of growing past 24.6 GiB; answers identical. serve: a file in PrismML's ternary types goes to HRX with --device auto, rotated (prism.hadamard) or not (Ternary-Bonsai-1.7B); another --device is refused with the converter's name. Smoke test on strixhalo: `1bit serve -m Ternary-Bonsai-2-27B-PTQ1_0.gguf` routed to HRX and answered "Paris" 3/3. tests/prism_route.sh covers the new routes; ctest 19/19 (build without HRX). Docs: docs/hrx.md Ternary Bonsai section (native types, table), the cache cap section, "Our patches". Registry regenerated (no mapping changes). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Docs7 for 1bit-monster/engine
Commit |
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.
llama.cpp fork since bd5b297:
kernels; Q1_0 decode moves onto them. Ternary-Bonsai-2-27B (balanced mode, llama-bench -fa 1):
PTQ1_0 5.53 GiB 14.3 tok/s, PQ2_0 6.70 GiB 15.8 tok/s, vs 14.13 GiB / 15.3 for the Q4_0 copy;
KLD vs CPU 0.000129 for all three. CPU decode bit-identical to PrismML's build on every tensor of
both 27B files. test-backend-ops -b HRX0 1020/1020.
varying-length requests peaks at 8.7 GiB instead of growing past 24.6 GiB; answers identical.
serve: a file in PrismML's ternary types goes to HRX with --device auto, rotated (prism.hadamard)
or not (Ternary-Bonsai-1.7B); another --device is refused with the converter's name. Smoke test on
strixhalo:
1bit serve -m Ternary-Bonsai-2-27B-PTQ1_0.ggufrouted to HRX and answered "Paris" 3/3.tests/prism_route.sh covers the new routes; ctest 19/19 (build without HRX).
Docs: docs/hrx.md Ternary Bonsai section (native types, table), the cache cap section, "Our patches".
Registry regenerated (no mapping changes).
🤖 Generated with Claude Code