Repository navigation
fix(gates): supply split prefill referee cache origin - #370
Conversation
There was a problem hiding this comment.
Verdict: CLEAN: The added zero origin matches the full cache planes and supplies the referee's required seventh argument.
Checked
Duplicates: 0 new items; all five referee call sites checked; no duplicate introduced. No dryer pairs supplied.
Complexity: crapper flagged no functions; the change adds one argument and no branches.
Silent failure: 0 new sites; NaN output fails the band check and propagates to a failing gate exit.
Tests: static inspection shows that removing the added argument leaves six arguments for a seven-parameter function. Runtime assertions are unchanged; no build or gate executed during review.
Gates: no bands, thresholds or cases changed; crates/gpu-gates/src/bin/gate_qwen3moe_flash.rs:1784 supplies the zero origin required by the full cache fixture, including nonzero prefixes.
Escape catalog: no patterns matched.
Notes
Dryer did not run; diagnostics reported no changed Rust file under crates, although the changed file is there.
The PR reports host smoke checks but no NVIDIA gate execution or qualifying GPU evidence.
Card check: needs-gpu. This pull request changes crates/gpu-gates/src/bin/gate_qwen3moe_flash.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)
|
@Burntgogi Thanks for the contribution. The review is done, so I'm merging this. |
Problem
Current main
cca9beaef0180caf5fed247ac53a74617a868007does not pass GPU-feature test metadata checking:prefill_splitsupplies six arguments to the now-seven-argumentjudge_prefill(E0061 at gate_qwen3moe_flash.rs:1776). This independently blocked the dense follow-up and combined source-correctness verification.Decision
Supply
first = 0, matching the unsplit seeded clause. This caller passes complete cache planes beginning at key zero;p0controls each query's prefix length, not a sliced first key. Update the split clause's existing rustdoc to record that distinction. No kernel, numeric formula, band, case selector or reference input changes.Exercised checks
5c84771d79fdf5219618fb42e32cc00347f4ff72: the realjudge_prefillandHostCache, with the normal host library's callees, accept within-band rows at counts 64/65/66 and reject a NaN output with an infinite measured/bound ratio. This does not execute or emulate a GPU kernel.Actual NVIDIA split-prefill execution remains unrun: the available device is AMD RX7900GRE and the configured default remote destination
wsis not resolvable. No GPU acceptance or performance result is claimed.Integrated compile-after evidence
Current-main integration
3498be4b562669e507c904111dd45d1ee9900e84, including this exact caller migration, passescargo fmt --all -- --check,cargo check --workspace --all-targets, andcargo check -p bloomery-gpu-gates --all-features --tests. Full recipe checks also pass: 784 card tests, 61 tool self-tests and 2,717 owned tests.Immutable full integration log · actual-source host referee output.