Skip to content

update: record Raon batched DFlash2 precondition 1 measurement - #3689

Open
inureyes wants to merge 1 commit into
mainfrom
feat/issue-3469
Open

inureyes wants to merge 1 commit into
mainfrom
feat/issue-3469

Conversation

@inureyes

@inureyes inureyes commented Dec 2, 2026

Copy link
Copy Markdown
Member

Records the precondition-1 measurement for issue #3469 and keeps supports_batched() off for Raon-1 mini.

The row-invariant matvec kernel now also covers the mHC selector product and the MoE router. With it, the exact 2-row width-3 verify costs 1.21x the 1-row verify (26.4 ms for one row, 31.9 ms for two), down from 1.44x without the kernel and still above the issue's 1.2x gate. Absolute verify time falls 17% at one row, 31% at two and 44% at four. B > 1 verify exactness could not be established because a [B, L] prefill does not equal B single-row prefills, which confirms the issue's per-row-prefill requirement.

The probe (src/bin/raon_verify_probe.rs) is the reproduction tool. The tables, ceiling analysis and decision are in docs/benchmark_results/raon-batched-dflash-precondition1-m3ultra-2026-12-02.md. supports_batched() stays false, and #3469 stays open with the measurement recorded.

Validation: cargo fmt, scoped clippy on mlxcel and mlxcel-core, and the raon_mhc (9) and raon1_mini::speculative (8) tests pass. Measured on an M3 Ultra under the host GPU lock, kernel on and off interleaved, two rounds.

Refs #3469.

The row-invariant matvec kernel reduces the exact verify cost of issue #3469 precondition 1, but the 2-row width-3 verify still costs 1.21x the 1-row verify, above the issue's 1.2x gate, so supports_batched() stays off. This routes the mHC selector product and the MoE router onto the kernel as well, adds the probe that measured it, and records the interleaved M3 Ultra results under docs/benchmark_results/.

Validated with cargo fmt, scoped clippy on mlxcel and mlxcel-core, and the raon_mhc and raon1_mini::speculative tests (17 passed). Refs #3469.
@inureyes inureyes added status:review Under review type:enhancement New features, capabilities, or significant additions labels Dec 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:review Under review type:enhancement New features, capabilities, or significant additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant