Repository navigation
Nanbeige4.3-33B on one 24 GB card (llama description on Body35) - #838
Conversation
…-33B, and its logits reference family Co-Authored-By: Claude Opus 5.5 <[email protected]>
… llama description Co-Authored-By: Claude Opus 5.5 <[email protected]>
… the description's plan inputs, and the llama gates Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ts first A6000 prediction cards Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Verdict: CLEAN: I built failure paths for the riskiest hunks (cut tool calls, g7 kernel pad warps, NORM-rope bounds, ubatch ladder, hparams defaults) and the code blocks each one; one non-blocking item remains.
Non-blocking
⚠ Decode is under the card's own prediction: docs/cards/nb43-decode.card derives ~31 ms a token (~32 tok/s) and predicts 27..34; the PR body reports 26.96 tok/s at depth 6 (37 ms) and 25.85 at depth 4096. The gap is about 6 ms a token, with weight bytes 20.78 GB at a roof of ~700 GB/s [derived]. The rows are [cpu-busy], so I do not call it a regression. Proof for this class (new shapes, launch count unchanged from the 8-head path per the pass_launches test): the quiet re-sit plus the BLOOMERY_PROFILE per-node row the card names under decide-below. Prefill is 11 to 12% under llama.cpp (1154.8 vs 1303.5 at P 512); the same re-sit covers it.
Checked
- Duplicates: about 40 new items grepped (hparams reader,
Pairs/Head128,norm_128,ubatch_asked,trunk_bytes,real_head,ended/cut_call). dryer's pairs:unsized_layerandunsized_storeare two 6-line refusals with different messages; one owner would add a parameter for the one definition it removes, so no finding.unclosedinglmxml.rs,hermes.rs,qwenxml.rsis three 6-line impls on three different error types; a trait would add elements, so no finding.dsml.rs:776vsreasoning.rs:222shares only a shape. - Complexity: the crapper rows are new gate bodies (
nb_*_check,dense_e2e::run) andubatch_pick::parse; gate code, new functions, no split asked.Hparams::read(20) is a flat list of refusals.enqueue_pass_g7andnorm_coreare kernel-side, read for correctness only. - Silent failure: 12 sites followed.
unwrap_or_defaultinscripted_callandcut_ofonly feeds a gate that then compares the value.delta.unwrap_or([0; 3])inGeometry35::ofis pinned by theREALconstant. Thehparamsdefaults are recorded inHparams::defaults.-ub 0and the env size are named errors (ubatch_asked). - Kernels:
seg_mmaatPACK = 7: the early returnlo >= limitis block-uniform; pad warps skip onlyfold_tile_w(no block barrier inside it) and thepart_*writes;sync_threadsstays outside the branch.rope_norm:at + THREADS + 1 < 128per row,p >= ctxraisesCachePosand writes NaN. - Cut tool call:
openis overwritten each push, socut_callonly runs when the scan itself reports an unclosed call; a call that ended on its own stays an error. - Tests: new clauses are
hw_and#[ignore]d. Mutants checked in words:real_headflipped toh <= PACKmakes the pad warp write a neighbour's partial, which the g7 logits clause catches;cutignored intry_finish_atturnshw_qwen_call_cut_by_the_limit_is_an_answerred. - Gates: five new bands in
gate_llama_dense.rscarryPIN(2026-10-26)with a derivation; the cc 12.1 PTX rows carry a PIN. No old band moved. - Escape catalog: no match (the shell changes have no pipe-masked exit code, no heredoc, no
pgrep -f).
Notes
- The PR body has no
nvidia-smiline, no commit hashes and no command output for the gates; the runs are described as the maintainer's batch runner. I setgpu.jsontoevidence: false. - dryer did not search
crates/gpuandcrates/gpu-gates; I read the kernel files by hand.
Card check: needs-gpu. This pull request changes crates/gpu-gates/Cargo.toml, crates/gpu-gates/examples/qwen35_admission.rs, crates/gpu-gates/src/bin/bloomery_serve.rs … and carries no gate run on a card (CONTRIBUTING's evidence list); a maintainer adds gpu-verified after one.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
…guments again #838 passed the tensor table as an eighth argument after #832 had dropped it, so the Mac-only gate_metal_qwen35moe_e2e did not compile. Co-Authored-By: Claude Opus 5.5 <[email protected]>
What and why
Nanbeige4.3-33B runs on the card as a configuration of the Qwen3.5 body (Body35). It loads whole on one 24 GB card and serves through the qwen3 seat with no flags. The GGUF is a dense llama: 52 layers, 56/8 heads, NORM rope at θ 1.2e8, SPM tokenizer. The cleanups the new model exposed land with it: the description owns the plan inputs, there is one trunk-bytes owner, and there is one dense whole-load path.
Release notes: Added — Nanbeige4.3-33B (Q4_K_M) on one 24 GB card,
bloomery-servewith no flags; a dense model's prompt ubatch is sized to the card (-ubwins).crates/model,models,tokenizer,refset,chain,metal,placement:model::arch::specgives GQA layers and a dense FFN);logits-nanbeige43reference family;crates/gpu:seg_mmaand the prompt walk, f16 and q8 caches;PIN(2026-10-26), until a GB10 scan runs.crates/gpu-gates,crates/serve:-ub/--ubatch-sizewins;PlanInputscomes from the description (KvLayout::of_spec, onetrunk_bytesowner, onewhole_densepath);crates/modelsowns the QwenXml markers;length, as llama.cpp does.tools/,justfile,docs/cards/: thenanbeige43profile and its tables, the depth runner's llama arm, and two prediction cards.gate-gpu-llama-dense(logits against mainline llama.cpp at P 64 and 4096),gate-gpu-llama-serve(the no-flag start on a 3090),gate-llama-meta.Code shape
-ub 0is a named error.PIN(2026-10-26). No band moved.cargo fmtandcargo clippyare clean; the lint count equals the ratchet.Duplication found or removed: the recurrent and attention-only KV sums merged into one owner, and
whole_attention/whole_hybridmerged into one function. Not done in this PR: about 1,300 kernel lines that two older families still copy, andsection_order. Both are on the triage list.What I ran
All runs used the maintainer's batch runner on the workstation (RTX 3090 + RTX A6000):
FAIL-first: every new clause went red on its named mutant:
Known red not from this PR:
mac-staticcombos, wheremac-metal-lintpassesbloomery-metal/...features to-p bloomery-device. Reported.Hardware (if the change is for a machine)
The first speed sitting ran on the RTX A6000 against llama.cpp 53ed051ce at
-ngl 99 -fa on, 4 rounds, Q4_K_M. Every row is[cpu-busy], so these are not public numbers; a re-sit on a quiet box is queued.AI use: Claude Code led the rounds and wrote most of the code. Every result above was run on our cards by the maintainer's batch runner.
🤖 Generated with Claude Code