Skip to content

Add validate_qqmm_mode - #4931

Merged
zcbenz merged 1 commit into
ml-explore:mainfrom
michalk8:qqmm-affine-mode
Nov 21, 2026
Merged

zcbenz merged 1 commit into
ml-explore:mainfrom
michalk8:qqmm-affine-mode

Conversation

@michalk8

Copy link
Copy Markdown
Collaborator
  • ☑️ I understand it is strictly prohibited to use AI to write PR description
  • AI usage disclosure: search

Fix passing affine into qqmm causing a crash.

import mlx.core as mx

x = mx.random.normal((32, 128))
w = mx.random.normal((64, 128))
y = mx.qqmm(x, w, mode="affine")
mx.eval(y)

@michalk8
michalk8 requested a review from nastya236 November 20, 2026 22:12

@nastya236 nastya236 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@zcbenz
zcbenz merged commit 0c93d91 into ml-explore:main Nov 21, 2026
24 checks passed
rcfa pushed a commit to cubiculum-ai/mlx that referenced this pull request Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants