Skip to content

Require mlx 0.32.5 and drop the workarounds it fixes - #165

Merged
hertschuh merged 1 commit into
mainfrom
require-mlx-0.32.5
Nov 25, 2026
Merged

hertschuh merged 1 commit into
mainfrom
require-mlx-0.32.5

Conversation

@MarcosAsh

Copy link
Copy Markdown
Collaborator

mlx 0.32.5 fixes several Metal bugs we were working around, so this raises the floor to 0.32.5 and drops those workarounds.

I checked each one against raw mlx on 0.32.4 and 0.32.5, on Metal and on the macOS and linux CPU. Most of the keras tests for these only look at dtypes, so the kernels never run. integration_tests/metal_kernels_test.py checks the values, including the conv kernel gradient of an empty batch, which 0.32.5 also fixes (ml-explore/mlx#4873), so #154 can be closed. Negative stride numpy views, empty reductions and the float to int cast are still broken on 0.32.5 and keep their workarounds.

With #164 applied, on keras master d0aece6d3 and mlx 0.32.5, the linux suite passes. On Metal with compile on and off the only failure is the test_logspace drift from keras-team/keras#24305. CI here stays red until #164 merges.

@hertschuh hertschuh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@hertschuh
hertschuh merged commit c4f514f into main Nov 25, 2026
8 of 10 checks passed
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.

2 participants