Repository navigation
Conversation
…nder BLOOMERY_R8=off) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017hHKUuoWaB5z8DEb7DmtcE
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017hHKUuoWaB5z8DEb7DmtcE
…nst the Spark tier) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017hHKUuoWaB5z8DEb7DmtcE
…, its 233 GB of resident bytes fit the box Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017hHKUuoWaB5z8DEb7DmtcE
…carries (WIP, the prefillcut round)
…(WIP, the nodeprefill round)
…t batch admits the same set
…change (stage_us 0.38 s against 2.2 s either way); the residency pick under a cut batch is a triage item
…ws and the pick's counts scaled by T_MAX / the first member's rows
…d as chunks, the tier gate names its staged pair Four clippy warnings the merge of nodeprefill brought: the port side's card variant is boxed (large_enum_variant), the reply's f32 rows land through as_chunks, check_frames takes the refusal closure by value, and the tier gate's node_stage returns a named Staged pair. just mac-lint: 0 warnings at the ratchet 0. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgzWzhPeQCf4TCXzJn3nEn
…ging against the Spark holding the rest) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgzWzhPeQCf4TCXzJn3nEn
…nder BLOOMERY_R8=off) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017hHKUuoWaB5z8DEb7DmtcE
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017hHKUuoWaB5z8DEb7DmtcE
…nst the Spark tier) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017hHKUuoWaB5z8DEb7DmtcE
…, its 233 GB of resident bytes fit the box Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_017hHKUuoWaB5z8DEb7DmtcE
# Conflicts: # tools/unsafe-ratchet.txt
The merge of main brought a_rank_feeds_steps_and_refuses_a_residency_lever's BodyLevers initializer, written before the cut field: it takes T_MAX, the one-pass default. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgzWzhPeQCf4TCXzJn3nEn
…runs for the clip) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01X1hsQfyQxXKXsQ6LVTcsx5
|
Correction to "What I ran": in the batch that decided this landing (45ac6ad, 2026-11-05 13:42, |
There was a problem hiding this comment.
Verdict: MUST_FIX: Two facts gain duplicate owners, and two new unsafe blocks violate R1.
Must fix
1. Reuse the existing CED test fixture
crates/gpu-deepseek41/src/body/prefill.rs:3253 duplicates crates/gpu-deepseek41/src/body/ced.rs:366 exactly (R14).
The compressor map now requires two edits. Reusing the existing fixture removes a definition.
Delete the new v41 definition and its comment. In ced.rs, change the existing test module header to pub(super) mod tests { and its fixture header to pub(crate) fn v41() -> Vec<CedLayer> {. Replace the new CedLayer import in prefill.rs with:
use super::super::ced::tests::v41;2. Use the registry's prefill-cut name
crates/gpu-deepseek41/src/body/prefill.rs:935 repeats crates/levers/src/registry.rs:18.
The error name has two owners. Removing the local constant avoids a second rename site.
Delete CUT_LEVER and its doc comment. Replace check_cut with:
pub(super) fn check_cut(cut: usize) -> Result<(), GpuError> {
if (1..=T_MAX).contains(&cut) {
Ok(())
} else {
Err(GpuError::Shape {
what: bloomery_levers::PREFILL_CUT,
detail: format!("{cut} positions, where a batch holds 1 to {T_MAX}"),
})
}
}3. Give each new unsafe copy its own block
crates/gpu/src/host/node.rs:999 puts three unsafe operations in one block; crates/gpu-deepseek41/src/chain/ffn/batch.rs:2230 puts two in one block.
R1 requires one operation and its invariant per block. Split these scopes while the copy contracts are being introduced.
Replace the node block with:
// SAFETY: the checked places span is retained through the block's drain protocol.
unsafe { htod_bytes(g.stream(), &mut st.tsel, bytes_of(places))? };
// SAFETY: the checked q3 span is retained through the block's drain protocol.
unsafe { htod_bytes(g.stream(), aq3, q3)? };
// SAFETY: the checked d8 span is retained through the block's drain protocol.
unsafe { htod_bytes(g.stream(), ad8, d8)? };Replace the route block with:
// SAFETY: the stream orders the norm, this bounded q3 copy, and its download.
unsafe { dtod(stream, &mut b.q3_all, at * q, act_x.q3(), m * q)? };
// SAFETY: the stream orders the norm, this bounded scale copy, and its download.
unsafe { dtod(stream, &mut b.d8_all, at * d, act_x.d8(), m * d)? };Update the dated ratchet explanation for these additional scopes and the rows to gpu 3019 417 10 and gpu-deepseek41 409 45 0.
Non-blocking
⚠ Attach the reproducible card evidence: crates/gpu-deepseek41/src/chain/ffn/batch.rs:2231 adds two device copies per routed chunk when node planes are requested, plus two plane downloads per node leg and three uploads per node block.
The launch-count class requires the owning gate. Attach its command/output and the nvidia-smi line, both full commits, model file, and timed A/B commands/output supporting the speed claims. The PR gives summaries and prediction cards without the complete evidence list.
Checked
Duplicates: both fixture bodies and both lever-name definitions confirmed; the proposed fixes reuse existing owners and remove definitions.
Complexity: no crapper results were available.
Silent failure: invalid cut values and node block shapes return named errors.
Tests: cut/count/plan assertions, the 129 versus 128 hole boundary, invalid-cut refusal, and the large-frame round trip were inspected. Tests and mutants were not executed.
Gates: B9 inversion and unsafe-count changes have dated PIN reasons. The unsafe check counts scopes; it does not enforce R1's one-operation rule.
Escape catalog: C1–C4 do not match the retained findings. No ledger lessons are in force.
Notes
Dryer and crapper did not run: their Python modules are missing. No build or GPU gate was run during this review.
Card check: needs-gpu. This pull request changes crates/gpu-deepseek41/src/body.rs, crates/gpu-deepseek41/src/body/prefill.rs, crates/gpu-deepseek41/src/body/seq.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)
V4.1 프롬프트 배치를 Spark 노드가 직접 계산하고(nodeprefill, 프로토콜 9), 프롬프트 pass 를 자르는 opt-in 레버(BLOOMERY_PREFILL_CUT)와 cut 그룹의 가격 수정을 싣는다.
What and why
Two rounds on the Spark expert tier. nodeprefill: a V4.1 prompt batch's block on a tier node is run by the node itself (
Tag::BlockOpen/Tag::Block, q8_1 planes and places out, the node slots' f32 rows back; protocol 9,MAX_FRAME128 MiB), instead of the host reading the node's experts from the file each prompt: pp 48–69 → 104–127 at the sparkroom and smallroom rooms, bit-exact against the local tier card (the B9 pin inverted,PIN(2026-11-05)). prefillcut:BLOOMERY_PREFILL_CUT(class A, 1..=512, default 512 = today's one pass) cuts a prompt call into group pieces; with the cut group priced at T_MAX-row units (the stream floor per rows, the pick's counts scaled) the A/B read pp +1.5 % and decode level, so the lever lands opt-in with unchanged default bits. Four clippy warnings the merge brought are fixed (a boxed port side,as_chunks, a closure by value, a namedStagedpair). Cards: sparkroom, prefill-passes, iq3xxs (struck), prefillcut ×3, nodeprefill-pp, smallroom.Release notes: Changed — a DGX Spark tier node now computes its share of a V4.1 prompt batch (prefill with a node 2× faster); Added —
BLOOMERY_PREFILL_CUT(opt-in, default unchanged).Code shape
Ds41Tier::enqueue_block, the same path the local tier card runs; the port side is one enum (PortSide::{Card, Node}) over the batch's staging.crates/gpu/src/host/{node,batch}.rs; the V4.1 body only names its tier legs.check_frames).tools/check-comments.shrc 0.PIN(2026-11-05)and its derivation;tools/unsafe-ratchet.txtraised with PIN lines for the new unsafe fns (merged with #TP's pin: gpu 3017 417 10, check-unsafe ok).cargo fmtand clippy clean;just mac-lint0 warnings at ratchet 0.Duplication found or removed: none.
What I ran
Box (RTX A6000 + RTX 3090, driver 580; Spark GB10 as the tier node over TCP):
tools/gate-batch.sh --ledger --tier fixture --list <just affected>on the train tree:DONE total=185 red=0 tier=fixture wall=2678s deferred=258(6b37111), and again on the tree merged with main:DONE total=186 red=1 tier=fixture skipped=2 wall=2076s deferred=258(45ac6ad; the one red isgate-gpu-ds41-tp, gate-gpu-ds41-tp: /models/fixtures/v41-folder is not on the workstation (fixture tier) #1172: its fixture/models/fixtures/v41-folderis missing on the box, red on main alone too;gate-gpu-libruns--no-canarybecause of gate-gpu-lib: host::rank::dist the_head_checks_a_file_once_by_its_stamp fails on the workstation (main c9c31488e) #1171, itshost::rank::disttest red on main alone, 518/519 here).just mac-static 065c2ecfcon the merged tree (fdbd88b): rc 0 — lint 0 warnings at ratchet 0, combos 31 shapes 0 red, check-recipes 175 blocks rc 0.docs/cards/, rig-log log/2026-11-05.md): smallroom — room 128G alone 19.4–19.6 tok/s / pp 29; room 128G + Spark 34.7–35.0 / pp 104–108; room 160G alone 25.2–25.7 / pp 29; + Spark 34.6–34.8 / pp 106 (n 96, prose P 512, depth 512, A6000 stage, 3 rounds; 2 node opens refused OOM on the Spark, FAIL rows dropped, triaged).Hardware
Box: AMD 64-core, 256 GB, RTX A6000 48 GB + RTX 3090 24 GB; node: DGX Spark GB10 121 GiB, TCP link.
🤖 Generated with Claude Code
https://claude.ai/code/session_01X1hsQfyQxXKXsQ6LVTcsx5