Skip to content

fix: use official mlx==0.31.1 from PyPI instead of custom git fork#1950

Closed
jmalekos wants to merge 1 commit intoexo-explore:mainfrom
jmalekos:claude/festive-dijkstra-d205b7
Closed

fix: use official mlx==0.31.1 from PyPI instead of custom git fork#1950
jmalekos wants to merge 1 commit intoexo-explore:mainfrom
jmalekos:claude/festive-dijkstra-d205b7

Conversation

@jmalekos
Copy link
Copy Markdown

Summary

  • Removes the [tool.uv.sources] override that pointed mlx at a custom dev fork (rltakashige/mlx-jaccl-fix-small-recv, branch address-rdma-gpu-locks)
  • uv.lock now resolves mlx==0.31.1 + mlx-metal==0.31.1 from PyPI

Why

The custom fork predates macOS 26 Tahoe's updated Metal toolchain. On macOS 26, loading any MLX model produced:

unknown type name 'bfloat16_t'
unknown type name 'complex64_t'

mlx==0.31.1 (released on PyPI) ships mlx-metal==0.31.1 which includes Metal shaders compiled against the macOS 26 SDK. The fix the custom fork was carrying is now upstream in the official release.

Test plan

  • uv sync resolves mlx==0.31.1 from PyPI (no git checkout)
  • Metal matrix multiply test passes on macOS 26.3.1 arm64: Metal OK: [[7.0, 10.0], [15.0, 22.0]]
  • 361 tests pass (uv run pytest)

🤖 Generated with Claude Code

The [tool.uv.sources] override for mlx pointed to a custom dev fork
(rltakashige/mlx-jaccl-fix-small-recv) that predates macOS 26 Tahoe's
Metal shader requirements. This caused "unknown type name bfloat16_t /
complex64_t" errors when loading MLX models on macOS 26.

mlx==0.31.1 ships mlx-metal==0.31.1 which includes the correct Metal
shaders for macOS 26, so the PyPI release is now sufficient and the
git fork override is no longer needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Evanev7 Evanev7 closed this Apr 21, 2026
@Evanev7
Copy link
Copy Markdown
Member

Evanev7 commented Apr 21, 2026

please raise an issue if one exists, not everything in our fork has been upstreamed.

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