Repository navigation
Docs: the 1bit engine runs inside Lemonade - #23
Merged
Merged
Conversation
Lead with it everywhere: README intro and status, the thank-you, lemonade.md (Lemonade is the host; its onebit recipe runs 1bit serve like llama-server; the recipe passes Lemonade's LLM test suite on Vulkan and HRX), serve.md, PORTING step 1 and diagram, npu.md, and the serve/main code comments. 1bit serve on its own, for any OpenAI client, is the secondary note. Co-Authored-By: Claude Opus 5.5 <[email protected]>
bong-water-water-bong
enabled auto-merge (squash)
September 23, 2026 22:55
bong-water-water-bong
added a commit
that referenced
this pull request
Sep 26, 2026
…a.cpp-vulkan cecf3ee) (#167) * MoE streaming: expert reads in 256 KiB chunks by 16 threads (pin llama.cpp-vulkan cecf3ee) Fork PR #23: a layer's misses are a few ~1 MiB expert parts, so whole-part reads kept 6-7 reads in flight and each took 4.5-4.8 ms on Qwen3.8-Flash-Next. 256 KiB chunks with 16 threads (the streamer's new default) are 14-18% faster there; Coder-30B is within the noise. moe/ExpertCache gains read_chunk and per-read timing, as in the fork's copy; 1bit moe-cache gets --chunk-kb. docs/moe-streaming.md also records that the gate-ahead prefetch doubles Flash-Next's decode time. Co-Authored-By: Claude Opus 5.5 <[email protected]> * registry: regenerate for llama.cpp-vulkan cecf3ee Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: bong-water-water-bong <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
bong-water-water-bong
pushed a commit
that referenced
this pull request
Oct 21, 2026
…) with the llama.cpp bump Co-Authored-By: Claude Opus 5.5 <[email protected]>
bong-water-water-bong
added a commit
that referenced
this pull request
Oct 22, 2026
* Pin llama.cpp af04c9f2 and gpu-kernels cf222e7d llama.cpp moves from 96f81977 to af04c9f2 (1bit/hrx-vulkan-patched), which carries: - #123 ggml-hrx: claim views of q8_0 KV caches, so test-backend-ops actually runs the q8_0 FLASH_ATTN_EXT cases (29 were silently reported unsupported; now 28/28 pass on type_K=q8_0 and on type_V=q8_0) - #124 common: opt-in cumulative-confidence draft budget for MTP (--spec-draft-cum-p-min, default 0) with the ONEBIT_MTP_TRACE measurement hook in our own common/onebit-mtp-budget.h gpu-kernels moves from b373c3ec's predecessor to cf222e7d, which carries #22 (the q8_0 KV decode kernel takes short caches too: depth 512 -27% -> -7.4% on Qwen3-4B) and #23 (L2_NORM over views). It is not a submodule; docs/hrx.md now names the commit a release builds against. Hardware gate on this pair (engine main + these two pins, kernels present and off by default): ops 695/695, 7 kat rows, 5 kld rows, 4 needle rows - PASS, 0 ring events. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Record the gpu-kernels commit and the new llama.cpp pin in the registry docs/hrx.md's pin table gains the private-kernels row (gpu-kernels cf222e7d, not a submodule), and registry/architectures.json - which records the pins it was generated from - is regenerated for llama.cpp af04c9f2 (scripts/registry-regen.sh). Co-Authored-By: Claude Opus 5.5 <[email protected]> * Pin gpu-kernels cf222e7d (q8_0 KV decode routing #22, L2_NORM views #23) with the llama.cpp bump Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: bong-water-water-bong <[email protected]>
This was referenced Oct 23, 2026
This was referenced Nov 1, 2026
Merged
Merged
Merged
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 8, 2026
…ached the model The catalog paragraph counted "23 HRX entries, each with a proven row on the box ... fork #23's 22 plus flint from #24". flint is added but not proven, and the fork's own page says so; what it no longer says is the old reason (a missing architecture -- that landed 2026-10-23, c3eef46c0). The measured reason, from the proof run on 2026-11-08 under one gpu-hold claim with engine rc-2026-11-05-c25: the engine's planner refused the load in 223 ms -- 1bit serve: flint-UD-Q4_K_XL does not fit: need 24.07 GiB (weights 23.33 + KV/state 0.24 + compute 0.50) at the model's own ctx 262144, free 6.03 GiB (GTT 29.1 of 120.0 GiB free, MemAvailable 6.0 GiB) -- four foreign HRX clients resident, box load 46.6. So the row needs an idle box (>= 24 GiB free), not a different build, and the chat-short span now says it is over the 22 proven rows. The 27-row total (23 + 4) is unchanged: the arithmetic was never wrong, only the attribution.
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 8, 2026
…e box at a pinned ctx The catalog paragraph counted "23 HRX entries, each with a proven row on the box ... fork #23's 22 plus flint from #24". flint is added but not proven; the fork's page says so, and the two pages now agree. The reason the run did not count, from the proof attempt on 2026-11-08 under one gpu-hold claim with engine rc-2026-11-05-c25: the engine's planner refused the load in 223 ms -- 1bit serve: flint-UD-Q4_K_XL does not fit: need 24.07 GiB (weights 23.33 + KV/state 0.24 + compute 0.50) at the model's own ctx 262144, free 6.03 GiB (GTT 29.1 of 120.0 GiB free, MemAvailable 6.0 GiB) -- four foreign HRX clients resident, box load 46.6. Two review corrections are folded in, because the first version of this paragraph got them wrong: the planner line does not show the architecture is understood (model_need() is architecture-generic), and 24.07 GiB is a lower bound (an architectured not listed in its sliding-window table is priced as fully windowed), so the re-run is at --ctx-size 8192 with >= 24 GiB free rather than at the model's own 256 K context. No other number moves: 23 HRX entries, 4 NPU, 27 onebit rows, and the chat-short span now says it is measured over the 22 proven rows.
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 8, 2026
…e box at a pinned ctx The catalog paragraph counted "23 HRX entries, each with a proven row on the box ... fork #23's 22 plus flint from #24". flint is added but not proven; the fork's page says so, and the two pages now agree. The reason the run did not count, from the proof attempt on 2026-11-08 under one gpu-hold claim with engine rc-2026-11-05-c25: the engine's planner refused the load in 223 ms -- 1bit serve: flint-UD-Q4_K_XL does not fit: need 24.07 GiB (weights 23.33 + KV/state 0.24 + compute 0.50) at the model's own ctx 262144, free 6.03 GiB (GTT 29.1 of 120.0 GiB free, MemAvailable 6.0 GiB) -- four foreign HRX clients resident, box load 46.6. Two review corrections are folded in, because the first version of this paragraph got them wrong: the planner line does not show the architecture is understood (model_need() is architecture-generic), and 24.07 GiB is a lower bound (an architectured not listed in its sliding-window table is priced as fully windowed), so the re-run is at --ctx-size 8192 with >= 24 GiB free rather than at the model's own 256 K context. No other number moves: 23 HRX entries, 4 NPU, 27 onebit rows, and the chat-short span now says it is measured over the 22 proven rows.
bong-water-water-bong
pushed a commit
that referenced
this pull request
Nov 8, 2026
…e box at a pinned ctx The catalog paragraph counted "23 HRX entries, each with a proven row on the box ... fork #23's 22 plus flint from #24". flint is added but not proven; the fork's page says so, and the two pages now agree. The reason the run did not count, from the proof attempt on 2026-11-08 under one gpu-hold claim with engine rc-2026-11-05-c25: the engine's planner refused the load in 223 ms -- 1bit serve: flint-UD-Q4_K_XL does not fit: need 24.07 GiB (weights 23.33 + KV/state 0.24 + compute 0.50) at the model's own ctx 262144, free 6.03 GiB (GTT 29.1 of 120.0 GiB free, MemAvailable 6.0 GiB) -- four foreign HRX clients resident, box load 46.6. Two review corrections are folded in, because the first version of this paragraph got them wrong: the planner line does not show the architecture is understood (model_need() is architecture-generic), and 24.07 GiB is a lower bound (an architectured not listed in its sliding-window table is priced as fully windowed), so the re-run is at --ctx-size 8192 with >= 24 GiB free rather than at the model's own 256 K context. No other number moves: 23 HRX entries, 4 NPU, 27 onebit rows, and the chat-short span now says it is measured over the 22 proven rows.
bong-water-water-bong
added a commit
that referenced
this pull request
Nov 8, 2026
…e box at a pinned ctx (#1418) The catalog paragraph counted "23 HRX entries, each with a proven row on the box ... fork #23's 22 plus flint from #24". flint is added but not proven; the fork's page says so, and the two pages now agree. The reason the run did not count, from the proof attempt on 2026-11-08 under one gpu-hold claim with engine rc-2026-11-05-c25: the engine's planner refused the load in 223 ms -- 1bit serve: flint-UD-Q4_K_XL does not fit: need 24.07 GiB (weights 23.33 + KV/state 0.24 + compute 0.50) at the model's own ctx 262144, free 6.03 GiB (GTT 29.1 of 120.0 GiB free, MemAvailable 6.0 GiB) -- four foreign HRX clients resident, box load 46.6. Two review corrections are folded in, because the first version of this paragraph got them wrong: the planner line does not show the architecture is understood (model_need() is architecture-generic), and 24.07 GiB is a lower bound (an architectured not listed in its sliding-window table is priced as fully windowed), so the re-run is at --ctx-size 8192 with >= 24 GiB free rather than at the model's own 256 K context. No other number moves: 23 HRX entries, 4 NPU, 27 onebit rows, and the chat-short span now says it is measured over the 22 proven rows. Co-authored-by: bong-water-water-bong <[email protected]>
bong-water-water-bong
added a commit
that referenced
this pull request
Nov 9, 2026
…is not a signal (#1737) docs/hw-gate.md says the HRX build check "closes that gap" - the gap being that no job compiled ggml/src/ggml-hrx at PR time. It does not close it today: engine #1733 measures three errors inside the fork's own HRX backend, and I re-measured the workflow rather than quoting the issue: gh run list --workflow hrx-build.yml --limit 8 21:27 failure 1bit/fused-tiles-to-int8 21:06 failure fix/1696-test-registration-files 21:25 failure 1bit/pack-blocked-rowmajor 21:02 failure 1bit/fused-tiles-to-int8 21:24 failure 1bit/pack-blocked-extract 21:01 failure 1bit/pack-blocked-rowmajor 21:15 failure 1bit/i669-tests-gpu-hold-... 21:00 failure 1bit/pack-blocked-extract Eight of eight, five unrelated branches, and #1681's own pin bump fails the same way at 9m15s while its `build` is green. The errors are ggml-hrx.cpp:517,610,854 - a void return tested as bool, and two declarations differing only in return type - i.e. the fork's source no longer compiles against the fork's own headers. So the page now carries a dated blockquote at the end of that section: read the job as UNAVAILABLE, not as failing, because a red run says nothing about the change under it and there is no green run left to compare against. Same shape as #1595 in the opposite direction - a red job nobody can act on stops being a check. I did not touch ggml-hrx.cpp: it is the fork's kernel plumbing (#1733 says the same, and left it to the fork's owner). This is the docs half only - what the gate can and cannot tell a reader today. First attempt at this note put "#1681" at the start of a wrapped blockquote line, which markdown reads as a quoted h1 - the site's own heading guard (#23) caught it with "hw-gate.html has 2 <h1> elements". Reflowed, and the guard is green. Co-authored-by: bong-water-water-bong <[email protected]>
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.
The engine's docs now lead with how it's used: the 1bit engine runs inside Lemonade. Lemonade is the host users talk to (catalog, downloads, router, UI), and its
onebitrecipe runs1bit serveas a backend, the way it runsllama-server.Updated: the README intro and status, the thank-you,
docs/lemonade.md,docs/serve.md, PORTING step 1 and its diagram,docs/npu.md, and theserve/maincode comments. Using1bit servedirectly with any OpenAI client is kept as a secondary note.Docs and comments only.
🤖 Generated with Claude Code