Repository navigation
Build as C++26 - #59
Merged
Merged
Conversation
GCC 15.2 builds the whole engine (NPU lane included) with -std=c++26, no errors. C++26 brings what we want next: #embed (kernels, tokenizer and UI inside one binary), pack indexing, deleted-with-reason; static reflection and contracts arrive with GCC 16. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Docs7 for 1bit-monster/engine
Commit |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bong-water-water-bong
enabled auto-merge (squash)
September 25, 2026 03:42
This was referenced Oct 2, 2026
bong-water-water-bong
added a commit
that referenced
this pull request
Oct 2, 2026
…mat SwiGLU, Hadamard Q4_0 (#278) * Pin llama.cpp bd5b297: HRX remainder prefill, 32K+ prompts, mixed-format SwiGLU, Hadamard Q4_0 llama.cpp fork commits since 6e42b51 (figures from each PR, Qwen3.8-27B on HRX0, balanced mode): - #61: q8_1 x4 prefill takes the 256-aligned head of a Q5_K/IQ4_XS remainder chunk. UD-Q4_K_XL pp400 67.4 -> 103.4, pp1862 172.1 -> 234.6 tok/s; KLD vs 6e42b51 0.00215, same top token 97.19%; MUL_MAT HRX0 287/287. - #59: V stays row-major past copy_transpose_f16's 32768-row range. pp512 @ d32768 failed before, 227.4 tok/s now; a 34,816-token wikitext chunk gives PPL 6.2150. - #60: K-quant SwiGLU decode stages separate gate/up codebooks. UD-IQ2_S tg128 3.12 -> 8.32; UD-Q4_K_XL unchanged; KLD 0.00013; test-backend-ops HRX0 996/996. - #58: llama loads onebit.hadamard_q4_0 files through llama-hadamard (needed by #277). Q4_0-H32 vs BF16: PPL 6.021, KLD 0.0292, same top token 92.5%. Docs: docs/hrx.md #55 section (remainders now covered for Q5_K/IQ4_XS) and "Our patches". Registry regenerated (tools/registry_build.py; no mapping changes). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs/hrx.md: the #61 figures were measured on 6e42b51 + #61 (a36d547) (review) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: bong-water-water-bong <bong-water-water-bong@1bit.gg> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
bong-water-water-bong
added a commit
that referenced
this pull request
Oct 2, 2026
The engine's GPU route is HRX only since 2026-10-01. Long documents went to the lean ROCm build while HRX prefilled Qwen3.8-27B at 97-99 tok/s; since the HRX prompt-matmul routing (fork #55, engine #273) it prefills 335 tok/s pp512 and a 14,435-token prompt through serve at 265 tok/s. Every Laya class now routes to HRX. Past 32K of context HRX needs fork #59 (pinned separately). Co-authored-by: bong-water-water-bong <bong-water-water-bong@1bit.gg> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 7, 2026
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.
CMAKE_CXX_STANDARD23 → 26.-DONEBIT_NPU=ON), no errors, 21 s. CI checks the other platforms.#embed(compile the NPU kernel ELFs/PDI, tokenizer data and web UI into the binary — one self-contained1bit, ideal for 1bit OS), pack indexing,= delete("reason"), the_placeholder. With GCC 16: static reflection (P2996, for JSON/config and API structs) and contracts.🤖 Generated with Claude Code