Repository navigation
Conversation
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.
5 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 indocs/benchmark_results/raon-batched-dflash-precondition1-m3ultra-2026-12-02.md.supports_batched()staysfalse, and #3469 stays open with the measurement recorded.Validation:
cargo fmt, scoped clippy onmlxcelandmlxcel-core, and theraon_mhc(9) andraon1_mini::speculative(8) tests pass. Measured on an M3 Ultra under the host GPU lock, kernel on and off interleaved, two rounds.Refs #3469.