Repository navigation
gates: two reds the 0.3.14 release batch found (qwen38 seat READS, the dspark-loop real-file literals) - #1195
Conversation
…RAFT), which the qwen38 seat calls since the draft parse moved into it Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CjHkkjSnQu1gPsqfbYpEAQ
…the step it captures (1185 + 3 a step, 2 x 1185 + 6 a pair) The two literals dated from the 10-08 port, when the plain step was 1179 nodes. On the 1017-Q3_K_M-r8 file the capture equals nodes::predicted at 1185, and the tap adds its three ds41_hc_mean nodes; only the literal witnesses were red. The fixture tier prints them and never compares, so only the real tier saw it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CjHkkjSnQu1gPsqfbYpEAQ
….1 tier depth 22, the GLM tier counts computed, ds41-serve plans at the serve K/V default, ds41-load's granule only on the page-locked fallback) The card-term changes of 11-09/10 (the prompt front on every card, the K/V floor) moved real-tier values no fixture landing runs. REAL_K3 is 22 from (831+19)/38. The GLM two-card and serve gates ask the shared tier_experts question on their own census and hold the child within TIER_DRIFT of it, printing the tier card's terms. gate_ds41_serve plans with the serve K/V default and each stage's host page, as the seat does. ds41-load's check v allows the 2 MiB granule only when the shadows are the page-locked fallback; host rooms leave none. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01CjHkkjSnQu1gPsqfbYpEAQ
… gate as another holder; GLM's opens install the card watch; nvtier prints late without judging it gate_qwen38_media holds a context when it starts bloomery-serve, and under BLOOMERY_CARD_HELD the server refused the card as held by another process. serve_cmd names the gate's pid (BLOOMERY_CARD_FELLOW, only where the run holds its card) and the census leaves it out; any other holder still refuses. GLM's ready() went through Loaded::from_model with no watch, so the card bytes records were never written; it now installs log.card_watch(). gate_nvtier's late count is host-lane speed, which no gate holds: printed, not judged (PIN 2026-11-12); unresident, faulting and the ring's hold stay judged. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01CjHkkjSnQu1gPsqfbYpEAQ
There was a problem hiding this comment.
Verdict: MUST_FIX: one proven duplication — the two new tier_experts_here functions re-implement the shared owner glm_place::tier_experts beside it (R14); the rest of the diff checks out.
Must fix
1. A third copy of the tier-plan derivation: both tier_experts_here functions re-implement glm_place::tier_experts
gate_glm5next_serve.rs:1075-1085 and gate_glm5next_twocard.rs:1403-1418 each build glm_machine(offer, tier_batch, slots, checkpoint_price, ctx), run plan_slots/plan_nextn_slots, sum tier_n_l — the exact body of shared/glm5next_place.rs:57-82, which the seat's rule already calls (serve_seats/glm.rs:585) and both gates' doc comments name. The 14-line tier-terms block is copied verbatim into both gates too. Three owners of one fact: the next plan-term change is a three-place fix, or a gate quietly asks a different question than the seat. Fixing now is two paste-ins. Fix — the shared owner returns the terms beside the count:
pub fn tier_experts(place: Place, inputs: &PlanInputs, ctx: u64, levers: &PlanLevers,
nextn: Option<&NextnInputs>, lanes: KdaLanes, slots: usize,
) -> Result<(u64, String), GateError> {
let machine = glm_machine(place, tier_batch(place, inputs)?, slots,
checkpoint_price(inputs)?, ctx)?(inputs.model.layers);
let plan = match nextn {
None => inputs.plan_slots(&machine, ctx, levers, lanes, slots)?,
Some(n) => inputs.plan_nextn_slots(&machine, ctx, levers, n, slots)?.plan,
};
let tier = plan.tier_n_l.iter().flatten().sum();
let terms = plan.cards.get(1).map(|t| format!("[{}]", t.terms().iter()
.map(|(n, b)| format!("{n}={b}")).collect::<Vec<_>>().join(",")))
.unwrap_or_else(|| "no tier card".to_owned());
Ok((tier, terms))
}The three existing callers take .0 (generate_glm5next.rs:787, shared/routed_legs/glm5next.rs:147, serve_seats/glm.rs:585); each gate keeps only what differs:
fn tier_experts_here(levers: &bloomery_levers::Levers, ctx: u64) -> Result<(u64, String), GateError> {
let offer = Place::by_cards(&gpu_census::census()?)?;
let path = ref_model_path()?;
let split = Split::open(&path).map_err(|e| format!("open {}: {e}", path.display()))?;
let inputs = PlanInputs::read(&split)?;
let nextn = NextnInputs::read(&inputs)?;
Ok(crate::glm_place::tier_experts(offer, &inputs, ctx,
&PlanLevers::from_levers(levers)?, Some(&nextn), KdaLanes::One, DEFAULT_SLOTS)?)
}The twocard one passes nextn.as_ref() from its levers.draft() match and levers.gen_slots(); net about −40 lines, one owner.
Non-blocking
⚠ Undeclared shipped-code change: the body says "no shipped binary changes", but glm5next/mod.rs:251 wires the card-byte watch into every GLM open (under a held card a past-plan or unmeasured reading now refuses where it silently passed). All three opens are placed loads, so the watch attaches. Declare it, and paste the GLM gate runs at this head (marked "pending" in the body).
⚠ nvtier late bound: gate_nvtier.rs:245 removes the judged LATE_MAX with a dated PIN and run evidence (23 and 6 over the old bound of 4), which meets the contract. The attribution "host-lane speed, which no gate holds" cannot be re-derived from the log: paste the two runs' plan: margin lines — the print is now the only guard on the late tail.
⚠ seat_inputs mirror diverges on one arm: gate_ds41_serve.rs:3261 sets kv_host_page unconditionally; the seat sets it only when the effective backing is not off and falls back on a stage error (serve_seats/ds41.rs:644-662). A future BLOOMERY_KV_HOST=off arm would give gate and seat different inputs; guard it as the seat does.
Checked
Duplicates: 7 new items checked (tier_experts_here ×2, seat_inputs, FELLOW/fellow_pid, TIER_DRIFT ×2, child_ctx) — one hit, must-fix 1; dryer did not run.
Complexity: crapper did not run; both tier_experts_here are new flat functions whose split is must-fix 1.
Silent failure: 4 sites followed (fellow_pid non-pid, fellow named without a hold, child_ctx absent, stage_host_page error) — each refuses by name.
Tests: READS row removal panics naming draft_word (the release batch's rc=101); dropping the fellow filter turns a_listed_compute_app_names_its_card_holder red; a parse-to-default mutant turns a_fellow_is_a_pid_or_nothing red.
Gates: five pins moved, each with PIN(2026-11-12) and a reason (dsloop 1188/2376, REAL_K3 22, ds41-load !roomed granule, glm TIER_DRIFT ×2); nvtier's LATE_MAX removed with a dated PIN (⚠ above).
Escape catalog: none matched (no script changes; levers-direct.txt is a data row).
Notes
The body describes 2 of 13 changed files, head gate runs "pending"; dryer and crapper did not run (ModuleNotFoundError).
Card check: needs-gpu. This pull request changes crates/app/src/arch/glm5next/mod.rs, crates/gpu-gates/src/bin/bloomery_serve_qwen38.rs, crates/gpu-gates/src/bin/gate_deepseek41_dsloop.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)
…ence (a compile error in the two gate bins) Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01CjHkkjSnQu1gPsqfbYpEAQ
There was a problem hiding this comment.
Verdict: MUST_FIX: must-fix 1 is still open — both tier_experts_here copies still re-implement glm_place::tier_experts; the only change since the last review is a two-line compile fix.
Since the last review:
- Must-fix 1 (
tier_experts_here×2 re-implements the shared owner): still open —gate_glm5next_serve.rs:1065,gate_glm5next_twocard.rs:1391. - ⚠ Undeclared shipped-code change (
glm5next/mod.rs:251wires the card-byte watch into every GLM open): still open — the body still says "no shipped binary changes". - ⚠ nvtier late-bound attribution (
gate_nvtier.rs:245): still open — the two runs'plan:margin lines are still not in the body. - ⚠
seat_inputssetskv_host_pageunconditionally where the seat guards the backing: still open —gate_ds41_serve.rs:3261.
New since 41ff87b: .contains(t) → .contains(&t) at gate_glm5next_serve.rs:985 and gate_glm5next_twocard.rs:1361. tier_experts is Option<u64> (gate_glm5next_serve.rs:929), so the old line was a type error (Range::contains takes &u64): the head reviewed last time did not build. The fix is correct. Nothing else changed; nothing new to flag.
Must fix
1. A third copy of the tier-plan derivation: both tier_experts_here functions re-implement glm_place::tier_experts
gate_glm5next_serve.rs:1075-1100 and gate_glm5next_twocard.rs:1403-1432 each build glm_machine(offer, tier_batch, slots, checkpoint_price, ctx), run plan_slots/plan_nextn_slots and sum tier_n_l — the exact body of shared/glm5next_place.rs:66-81, which the seat's rule already calls (serve_seats/glm.rs:585) and both gates' doc comments name — beside a tier-terms block copied verbatim into both. Three owners of one fact: the next plan-term change is a three-place fix, or a gate quietly asks a different question than the seat. Fixing now is two paste-ins; later term changes pay it back with interest. Fix — the shared owner returns the terms beside the count (the three callers generate_glm5next.rs:787, shared/routed_legs/glm5next.rs:147, serve_seats/glm.rs:585 take .0):
pub fn tier_experts(
place: Place,
inputs: &PlanInputs,
ctx: u64,
levers: &PlanLevers,
nextn: Option<&NextnInputs>,
lanes: KdaLanes,
slots: usize,
) -> Result<(u64, String), GateError> {
let machine = glm_machine(
place,
tier_batch(place, inputs)?,
slots,
checkpoint_price(inputs)?,
ctx,
)?(inputs.model.layers);
let plan = match nextn {
None => inputs.plan_slots(&machine, ctx, levers, lanes, slots)?,
Some(n) => {
inputs
.plan_nextn_slots(&machine, ctx, levers, n, slots)?
.plan
}
};
let terms = plan
.cards
.get(1)
.map(|t| {
format!(
"[{}]",
t.terms()
.iter()
.map(|(n, b)| format!("{n}={b}"))
.collect::<Vec<_>>()
.join(",")
)
})
.unwrap_or_else(|| "no tier card".to_owned());
Ok((plan.tier_n_l.iter().flatten().sum(), terms))
}Each gate keeps only what differs (serve passes Some(&nextn), KdaLanes::One, DEFAULT_SLOTS; twocard passes its levers.draft() match as nextn.as_ref() and levers.gen_slots()):
fn tier_experts_here(
levers: &bloomery_levers::Levers,
ctx: u64,
) -> Result<(u64, String), GateError> {
let offer = Place::by_cards(&gpu_census::census()?)?;
let path = ref_model_path()?;
let split = Split::open(&path).map_err(|e| format!("open {}: {e}", path.display()))?;
let inputs = PlanInputs::read(&split)?;
let nextn = NextnInputs::read(&inputs)?;
Ok(crate::glm_place::tier_experts(
offer,
&inputs,
ctx,
&PlanLevers::from_levers(levers)?,
Some(&nextn),
KdaLanes::One,
DEFAULT_SLOTS,
)?)
}Net about −40 lines, one owner of the derivation.
Checked
Duplicates: must-fix 1 re-verified — the new commits touch only the two .contains lines, so both copies are unchanged since the last review; no new items.
Complexity: crapper did not run; the new commits change one token inside two existing closures.
Silent failure: no new sites in the new commits.
Tests: unchanged since last review.
Gates: no pins moved in the new commits; the five PIN(2026-11-12) pins from last review stand.
Escape catalog: none matched (no script changes).
Notes
The real-tier gate runs at this head are still "(pending)" in the body — and the previously reviewed head could not run them, since it did not compile. dryer and crapper did not run (ModuleNotFoundError).
Card check: needs-gpu. This pull request changes crates/app/src/arch/glm5next/mod.rs, crates/gpu-gates/src/bin/bloomery_serve_qwen38.rs, crates/gpu-gates/src/bin/gate_deepseek41_dsloop.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)
…count (grow_plan_reserve by NextnPlan::card_reserve_bytes) The draft plan keeps the target's totals the target's alone and reserves the NextN layer and its arena beside them, but the load never grew the card count by that reserve, so the card-bytes reading compared the made bytes with a count 223,477,760 B short. Nothing read the count for GLM until its opens installed the watch; the draft-only arm of gate_glm5next_serve then refused the first prompt as 26,308,408 B past the plan. The seat and the gate read the same method. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01CjHkkjSnQu1gPsqfbYpEAQ
…xt_place.rs gate_glm5next_serve and gate_glm5next_twocard include the module for tier_batch only; its other items are generate_glm5next's and bloomery-serve's. The lint ratchet counted 8 dead_code warnings (CI, run 43213289638); the include carries the same allow with a reason gate_ds41_serve's ds41_place include has. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01CjHkknz4RyyoBnLW3MM7pX
…ved margin, and a hosted-expert catcher The real-tier reds of the 0.3.14 batch were the grouped GEMM's sum order (the batch and the steps differ only there; with the tile path every case is 0.000e0), amplified at positions 0-1. The clauses now say so: - gate_deepseek41_prefill: a catcher arm at P = 1, 13, 64 runs the card's experts by tiles (Body::set_batch_card_tiles, a gate-only switch; the engine default stays the grouped GEMM) and must be bit-exact; each compared position prints the steps' margin, the batch's gap and the shift; positions 0-1 are judged at HEAD_MARGIN_V41. - tier B10 and nvtier rank record the fed ids and walk every row, not the first of 64. - ds41 serve: the parted floor is derived in the run. - the gates' plan levers carry BLOOMERY_CARD_EXPERTS_CAP (the calibration dial), and gate_deepseek41_prefill parses it. HEAD_MARGIN_V41 equals MARGIN_FLOOR until the box calibration pins it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CjHkknz4RyyoBnLW3MM7pX
…3649); the rank walks of two placements read PLACE_MARGIN_V41 = 9.7 at every position; a walk prints its largest top-2 gap shifts and each clear flip - prompts: HEAD_MARGIN_V41 = 8.8 with its derivation; PLACE_MARGIN_V41 = 9.7 (2 × 4.8163, the largest shift over B10's 64 and the NVMe-tier rank walk's 72 positions: as large past the head as at it, since the two plans run other experts on the card and the host) - nvtier_family: Family::head_margin -> rank_margin, read at every position; B10's in_band_from_zero the same - logits_band: walk_floors prints the largest |shift| at 0–1 and beyond and each clear flip (margin, shift); walk_at_head and its test go (no caller) - FAIL-first (box, A6000): every layer's ranked host sum zeroed -> B10 red (3 clear flips, max 28.3, rms 3.60); one layer's -> green (rms 1.03 -> 1.17): the rank stage's bits clause holds that class Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017hHKUrKZUgKBgxJ69Ck91G
…row whose argmax the sampler banned reads the gap of the next two ids; gate_qwen4exp_iqleg names the model's new path fresh_split raises the clarity floor to HEAD_MARGIN_V41 on the real tier when the runs part at token 0 or 1: the 13-id prompt's parting (fresh 0.3036 id 11111, warm 4.0539 id 223) is the prefill gate's P = 1 row, which that margin measures. picks() reads a banned argmax's row (ignore_eos) by its second and third ids instead of counting it clear: the budget continuation parted from its capped run at ids 21017 and 4114, 0.28 and 0.19 apart under the banned end-of-sentence id. The budget clause prints both raw entries where the runs part. Box: weekly-gpu-ds41-serve passes every clause up to ctx_default, which is red for a separate defect (the default server's spill pages meet a host room the plan already gave to experts); gate-qwen4exp-iqleg green. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017hHKUrKZUgKBgxJ69Ck91G
…loor on the host, and a host that cannot hold them is refused naming the lever, the bytes and what to set instead Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01X1hsQeV6buMi1gT665GhFQ
… context down like a card short; a paged plan with BLOOMERY_R8 unset reads the source, named; the seat watches its card bytes; slot gates read a near tie at the head as a near tie Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01X1hsQeV6buMi1gT665GhFQ
한 줄 요약: 0.3.14 릴리즈 배치가 찾은 main의 빨강 — qwen38 레버 목록, V4.1 dspark-loop 노드 상수, V4.1 serve의 슬롯·KV spill·r8·카드 바이트 절 — 을 고친다.
What and why
Reds the 0.3.14 release batch (real tier, both cards) found on main, and what fixing them uncovered.
levers.draft_word(), and itsREADSlist did not name it.derived 1188), withPIN(2026-11-12).PIN(2026-11-13)): both are near ties, not a divergence.PlacementError::kv_host_short/host_room_short, folded only in V4.1'sPlanRefusal::short). So a slot request that does not fit is refused with "a slot holds at most N", not with a floor the host can never meet.BLOOMERY_R8is unset, the host tier reads the source, and stderr names that. A user'sBLOOMERY_R8=onkeeps the named refusal.Loaded::from_model(..).watched(log.card_watch()?)). It printed nocard bytesrecords before.Release notes: Fixed —
bloomery-serve-ds41steps the context down instead of refusing when the host, not the card, is short, and names why it reads the source when the r8 sidecar cannot be used.Code shape
card_shortinctx_ask.rs. The numbers have one owner (host_floor_short).PlanRefusal. Other families keep their named refusals.PIN(date)and its derivation. The slot-over clause accepts{card|host} holdsbecause the refusal now names either.cargo fmtandcargo clippyare clean on the touched crates.Duplication found or removed: none.
What I ran
Card: RTX 3090 + RTX A6000, the maintainers' workstation.
just weekly-gpu-ds41-serveat b9975cc's tree: the server gate passes in full, includingslots_over_the_card_refused_before_the_load,card_bytes_hold_at_max_ctx(3 records, allwithin),slots_eraseandslots_park_resume. The--mmprojrun passes too.draft_continuation_cache_n(cache_prompt=truecontinuation showscache_n=0). The same step on unmodified main (bc930ce) is red the same way, so this red was already on main. It is tracked separately.bloomery-placement --lib299 passed,bloomery-model --lib746 passed,bloomery-levers64 passed. Each new test was shown red by a mutant first.🤖 Generated with Claude Code
https://claude.ai/code/session_01X1hsQeV6buMi1gT665GhFQ