Repository navigation
Weekly digest: every pin and this week's new models in changes.json - #122
Conversation
The weekly Discord post is now the one digest: the pinned-upstreams list that used to be its own post, and new models (our Hugging Face repos, Lemonade catalog entries, registry architectures). Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Docs7 for 1bit-monster/engine
Commit |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
…4 SwiGLU prefill opt-in (27B KLD base re-recorded) (#493) llama.cpp 96f81977 (fork #120, #122, #121 on 5dcf6623): - #120: prompt flash attention above 2048 query rows as query chunks (27B -ub 4096: 6.5 -> 588 tok/s). - #122: ROPE above 2048 tokens as token chunks (Qwen3-4B now runs -ub 4096; KLD 0.000002). - #121: the int4-activation SwiGLU prefill (symmetric_i4_q8_plane) is opt-in, GGML_HRX_SYMMETRIC_I4_PREFILL=1. 27B prefill speed -0.0..-0.7% (interleaved x3). scripts/hw-gate.sh --bin on a private build (this llama.cpp + hrx-system 82804197 + gpu-kernels 08bb2241, strixhalo performance mode), check mode: PASS on every row (ops 667/667, kat, needle, placement, kld). The 27B kld row moved, as expected from #121: mean KLD 0.000000 -> 0.002222 (p99 0.01868, same top 97.65%, limit 0.01) against the base recorded with the int4 path on. The 27B base is re-recorded on that same build (scripts/hw-gate.sh --phases kld --models qwen3.8-27b --record): manifest sha256 d2f9a8af -> a31cb56c; the previous base file is kept on strixhalo as ~/.cache/hw-gate/kld/qwen3.8-27b.kld.pre-96f81977. Measured directly: the new default is the exact path - 27B -ub 2048 against the -ub 4096 logits 0.001949 -> 0.000003, PPL (c4096) 6.7183 -> 6.7097, PPL (c512, the gate args) 6.6835 -> 6.6381. Co-authored-by: bong-water-water-bong <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
…ne#679) (#3134) gpu-kernels #122, four commits on bc3051d5 (the pin this replaces): 0280885 fa_decode_d256 admits G=12 (GP = G rounded to 4, stat arrays 16, C=320 at G=12) -- before, full-attention decode fell to the Loom general kernel: 24 workgroups, 3.7 ms/call, 44 ms per step at 19k keys fc8a005 the lightning indexer's decode launch splits over row chunks (>= 128 rows, ~160 workgroups); GGML_HRX_HIP_LID_SPLIT=0 restores one workgroup per token, and output does not depend on the split 122cf15 GGML_OP_TOP_K_MASK on HRX, so the QSA selection mask stays on the GPU (it was a CPU CONCAT/CUMSUM/CAST chain that cut each decode step into 6 programs); GGML_HRX_DISABLE_DISPATCH=hip.top_k_mask declines it fcda6b4 fa_decode_d256 skips the K/V rows of -inf mask cells (GGML_HRX_HIP_FA256_SKIP=0 restores the full read) Measured on Qwen3.8-Flash-Next (24 query / 2 KV heads), 19,031-token prompt decode, from #122: baseline (bc3051d5) 6.02 - 7.74 tok/s + commits 1-2 10.33 - 11.55 tok/s + all four 9.55 - 12.04 tok/s Correctness (fa-decode-d256-bench vs a double-precision reference, 20 cases: G=12 at 1,100 and 19,031 keys, fully masked tail chunks, T=2, sparse masks, G=8/G=6 regressions): NMSE <= 3.2e-13, max relative error <= 1.3e-6, five repeats bit-identical, skip on/off identical output. One file, no kernel source: the kernels are private and only the compiled code objects ship. Checks on the staged tree: config_pin_check --check (the shape guard written for this file, engine#2316), registry_build --check and --check-pins, copyright --check. Refs engine#679 Co-authored-by: bong-water-water-bong <[email protected]>
…te) + release-check row chat-npu-concurrent (engine#3318) (#3381) * release-check: chat-npu-concurrent row, and the plain-queue arm accepts a concurrent answer (engine#3318) - chat-npu-concurrent: four streamed known-answer chats sent together to the NPU entry; every one must end in [DONE], carry no error and contain its own answer (a slot mix-up hands one user another's text). A one-at-a-time route passes too (the others queue); the row prints the wall time. Pure verdict concurrent_verdict, driven by --self-test (7 cases). - chat-npu-queue-plain: a 200 for the non-streamed chat is a PASS when it says 1BIT OK and came back while the long chat was still running (the route served both at once); a 200 after the long chat ended is still the old FAIL (a silently parked request). 6 new self-test cases. --self-test PASS under bash and busybox sh (194 ok). Co-Authored-By: Claude Opus 5.5 <[email protected]> * pins: npu-kernels 10e73744 -> e61baa3b, several requests at once on the dx route (engine#3318) npu-dx tip e61baa3b6 carries npu-kernels#121 (several users at once on one dx session: decoder slots, the route's users= option, default 4) and #122 (fg_gemv_c34 sets its rounding mode at kernel start). #3327 already merged the engine half (PrivateSession::max_concurrent). Co-Authored-By: Claude Opus 5.5 <[email protected]> * release-check: chat-npu-concurrent asks questions Qwen3-0.6B answers reliably (engine#3318) Measured on strixhalo 23 Nov (installed v2026.48): the row FAILed on chat 4 of 4, "largest planet" -> "Earth": the 0.6B model's answer, not the route (the same question fails serially). It is now "3 times 3" -> 9, which the model answers in every run of npu-kernels' concurrent-check; the four answers stay distinct, so a slot mix-up still shows. 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]>
tools/weekly_changes.py now also writes, into changes.json and the release notes:
Tested on Strix Halo against main. HF picked up the 4 repos published this week. From 2f1c45f the diff finds BlackMamba, Zamba2 and Zamba v1 on Vulkan. A dry run of the Discord post renders the pins list correctly (4 messages, each under 2000 chars).
🤖 Generated with Claude Code