Repository navigation
Conversation
|
This matches what I found too. One extra detail that may be useful: the 26.2 workaround seems to line up with an ABI gate in the SDK 26.5 MPP headers. With I also tried a minimal accessor-only kernel. It is correct at min 26.2 and wrong at 26.0, so the shim path itself appears broken; using accessors alone probably would not save <26.2 builds. Also checked: MLX's current hardcoded NAX layout matches the >=26.2 indexed layout. |
bri-prism
left a comment
There was a problem hiding this comment.
Tested on M5 Pro relative error dropped to under 2e-5
Close #3586.
The neural accelerator requires macOS 26.2 and with Xcode 26.5 we have to explicitly pass
-mmacosx-version-min=26.2to metal toolchain to compile NAX kernels correctly.This PR does 2 things:
MACOSX_DEPLOYMENT_TARGETis not set.Note that strictly we should provide 2 distributions separately for 26.0 and 26.2 since the binaries would be different, but setuptools hard-codes plat name as
macosx_26_0for wheels built for 26.x and I'm afraid the package managers also do the same, so users would be downloading binaries built for 26.2 on 26.0.