Skip to content

Document MLX JIT build patch in README - #48

Merged
ausimian merged 1 commit into
mainfrom
readme-mlx-patch-note
Apr 19, 2026
Merged

Document MLX JIT build patch in README#48
ausimian merged 1 commit into
mainfrom
readme-mlx-patch-note

Conversation

@ausimian

Copy link
Copy Markdown
Owner

Summary

Add a paragraph to the MLX JIT (optional) section explaining why `patches/mlx-jit-nax-gate.patch` exists: MLX's JIT branch preprocesses NAX kernel headers that `#include <MetalPerformancePrimitives/...>`, which is only in the macOS 26.2+ SDK. GitHub's `macos-14` runner (Xcode 15.x) doesn't have it, so without the patch `EMILY_MLX_JIT=1` can't configure in CI.

Links to upstream ml-explore/mlx#3426 so whoever bumps the submodule after it merges knows they can delete `patches/` and the `maybe_apply_mlx_patches` plumbing.

Test plan

  • `mix docs` not required — README-only change.
  • Visual inspection — new paragraph reads naturally in context.

Note the MetalPerformancePrimitives SDK gap on older Xcodes (e.g.
GitHub's macos-14 runner) and point to the upstream fix at
ml-explore/mlx#3426 so the patches/ directory can be retired once
the submodule is bumped past it.
@ausimian
ausimian merged commit 13d9926 into main Apr 19, 2026
2 checks passed
@ausimian
ausimian deleted the readme-mlx-patch-note branch April 19, 2026 03:09
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.

1 participant