Repository navigation
metal: green on stable 1.99.1 and after the qwen3moe reader change - #837
Merged
Merged
Conversation
clippy's needless_range_loop now fires on four gate loops; they iterate the indexed slice instead. check.rs's readers-order test pins plan_ffn's order, which lists the routed stacks before the shared parts since the reader learned Qwen3-30B-A3B's plan. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
There was a problem hiding this comment.
Verdict: CLEAN: the four loop rewrites keep the checks and their order, and the test now pins the order plan_ffn reads.
Checked
- Duplicates: 0 new items (only loop rewrites and a test edit). dryer: 0 pairs.
- Complexity: crapper flagged no function.
- Silent failure: 4 loops followed.
pass.rs:570:ik_outhas exactlynentries by construction (line 532), so no layer is skipped.oracle_delta.rs:341:xshas 4 entries andCONV_TAPSis 4, so taps 1 to 3 run as before. The gemm and route loops:oracle::reference(oracle.rs:349) rejects weight bytes that do not matchrowsbefore both loops, so.take(n)does not skip rows today. Float order is unchanged in all four. - Tests: the changed test pins the three-tensor order. Mutant:
plan_ffnreads the shared parts before the routed stacks, orup/downswap. Theassert_eq!on the ordered list turns red. The expected list matchesplan_ffn(read.rs:390-403: stacks gate, up, down, then shared gate, up, down). - Gates: no band, tolerance or gate removed or moved. No PIN needed.
- Escape catalog: no pattern matched (no shell files changed).
Notes
- The PR body carries M1 Pro results for the
bloomery-metalcrate. It has nonvidia-smiline, so it is not CUDA gate evidence. No CUDA code changes.
🔨 Shingler, bloomery's review bot: approves a clean pull request and requests changes on a must-fix (how it works)
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.
On a Mac,
bloomery-metalon main fails clippy-D warningsand one lib test.needless_range_loopfires on four gate loops since the toolchain moved to stable 1.99.1 (f23609e). The loops now iterate the slice they index. The order is the same.check::tests::the_shared_parts_and_the_stacks_of_an_ffn_are_listed_in_the_readers_orderpinned the old order. After qwen3moe: the Qwen3-30B-A3B fixture, its reference sets and the chain reader #832,plan_ffnreads the routed stacks first, then the shared parts. The test now pins that order. It still checks that the items follow the reader's order. My mistake: qwen3moe: the Qwen3-30B-A3B fixture, its reference sets and the chain reader #832 merged without the metal crate's tests run.Evidence (an M1 Pro): main is red (clippy rc 101, 4 errors; lib
42 passed; 1 failed). This branch: clippy rc 0 for both feature sets, lib43 passed,just lab-metalPASS (155 mutants, each red on its clause).just affectedselects 0 box gates.AI use: written and checked with Claude Code.
🤖 Generated with Claude Code