Skip to content

fix(xla): drop the identity op that fails nightly clippy - #2339

Merged
inureyes merged 1 commit into
mainfrom
fix/xla-qwen3-vl-clippy-identity-op
Oct 15, 2026
Merged

inureyes merged 1 commit into
mainfrom
fix/xla-qwen3-vl-clippy-identity-op

Conversation

@inureyes

Copy link
Copy Markdown
Member

The Qwen3-VL DeepStack test added in #921 indexes packed_attention_bias[48 * 64 + 0], which clippy::identity_op rejects under -D warnings. Nightly verify run 38813575943 on main a426055 failed its make verify-clippy step on this line (src/lib/mlxcel-xla/src/emitter/qwen3_vl.rs:1298), while its test and video steps passed. The index is now 48 * 64, the same element (row 48, column 0).

Validation: cargo clippy -p mlxcel-xla --all-targets -- -D warnings and cargo fmt --all -- --check are clean, and the 7 emitter::qwen3_vl tests pass.

Refs #921

The Qwen3-VL DeepStack test added in #921 indexes `packed_attention_bias[48 * 64 + 0]`, which `clippy::identity_op` rejects under `-D warnings`. Nightly verify run 38813575943 on a426055 failed its `make verify-clippy` step on this line while its test and video steps passed. The index is now `48 * 64`, the same element.

`cargo clippy -p mlxcel-xla --all-targets -- -D warnings` and fmt are clean, and the 7 `emitter::qwen3_vl` tests pass.
@inureyes inureyes added type:bug Bug fixes, error corrections, or issue resolutions priority:low Low priority status:review Under review area:models Model architectures, weights, loading, metadata labels Oct 15, 2026
@inureyes inureyes added status:done Completed and removed status:review Under review labels Oct 15, 2026
@inureyes
inureyes merged commit 93748aa into main Oct 15, 2026
27 checks passed
@inureyes
inureyes deleted the fix/xla-qwen3-vl-clippy-identity-op branch October 15, 2026 22:51
@inureyes inureyes added this to the 0.8 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:models Model architectures, weights, loading, metadata priority:low Low priority status:done Completed type:bug Bug fixes, error corrections, or issue resolutions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant