Repository navigation
fix(xla): clear the Gemma3 VLM clippy failures in nightly - #2340
Merged
Merged
Conversation
Nightly verify run 38819880080 on main 93748aa failed `make verify-clippy` (`--workspace --all-targets -- -D warnings`) on code added by #917, while its test and video steps passed: - `Gemma3VlmCompatibilityContract`, its `new`/`stable_identity`, and `bind_gemma3_vlm_compatibility` (`prepared_gemma3.rs`) are only called from `iree.rs`, so they are dead without the `iree` feature. They now carry `#[cfg_attr(not(feature = "iree"), allow(dead_code))]`, the attribute `lib.rs` already uses for `prepared`. - Four `1 * 4 + col` / `1 * 8 + col` mask indices in the Gemma3 export test tripped `identity_op`. The test allows that lint so the indices keep their `row * width + col` form. - `mod gemma3_vlm_mask_tests` in `emitter/model.rs` sat before the MoE probe emitters (`items_after_test_module`); it now ends the file, unchanged. No behavior change. `cargo clippy -p mlxcel-xla --all-targets -- -D warnings`, `cargo clippy --workspace --all-targets --features cuda -- -D warnings` and fmt are clean, and the mlxcel-xla lib tests pass (308 passed). The `iree` feature build needs an IREE install that this host lacks; the attribute is a no-op there. Refs #917
This was referenced Oct 15, 2026
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.
Nightly verify run 38819880080 on main 93748aa failed
make verify-clippy(--workspace --all-targets -- -D warnings) on code added by #917, while its test and video steps passed:Gemma3VlmCompatibilityContract, itsnew/stable_identity, andbind_gemma3_vlm_compatibility(prepared_gemma3.rs) are only called fromiree.rs, so they are dead without theireefeature. They now carry#[cfg_attr(not(feature = "iree"), allow(dead_code))], the attributelib.rsalready uses forprepared.1 * 4 + col/1 * 8 + colmask indices in the Gemma3 export test trippedidentity_op. The test allows that lint so the indices keep theirrow * width + colform.mod gemma3_vlm_mask_testsinemitter/model.rssat before the MoE probe emitters (items_after_test_module); it now ends the file, unchanged.No behavior change.
cargo clippy -p mlxcel-xla --all-targets -- -D warnings,cargo clippy --workspace --all-targets --features cuda -- -D warningsand fmt are clean, and the mlxcel-xla lib tests pass (308 passed). Theireefeature build needs an IREE install that this host lacks; the attribute is a no-op there.Refs #917