Skip to content

Build against mlx-swift 0.32.3 with MLX v0.32.3 and JACCL - #64

Open
ronaldmannak wants to merge 1 commit into
codex/mlx-0.32.2-baselinefrom
claude/mlx-0.32.3-jaccl
Open

ronaldmannak wants to merge 1 commit into
codex/mlx-0.32.2-baselinefrom
claude/mlx-0.32.3-jaccl

Conversation

@ronaldmannak

@ronaldmannak ronaldmannak commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Part of PicoMLX/PicoCore#213. PicoCore needs MLX v0.32.3 for distributed inference.

What changed

  • Package.swift: mlx-swift moves from ml-explore/mlx-swift exact: "0.32.2" to PicoMLX/mlx-swift branch pico/0.32.3-jaccl (MLX v0.32.3 with JACCL for the Pico stack mlx-swift#8). That branch is upstream mlx-swift 0.32.3 with:
    • MLX core at v0.32.3: the ReduceScatter::eval_cpu assertion fix (ml-explore/mlx#4557), which sumScatter needs in any group larger than one, and the JACCL ring all_gather fix (ml-explore/mlx#4443)
    • the JACCL backend (ml-explore/mlx-swift#502)
    • MLX v0.32.3's new precompiled gather_mm_offsets / gated_delta_update kernels
  • SwiftPM wants one URL and one requirement for mlx-swift across the graph. PicoCore will name the same URL and branch.

Evidence

On this Mac (M5 Max, macOS 27.0.1, Xcode 27.0), at 282f1ac, with mlx-swift resolved to d1288278beee1a212c03abac2bd364b5bec19f28. That head includes MLX's stream fix for integer floor_divide, which MoE gather sorting needs on a generation thread. The run at 4c2d2c7 gave the same totals.

xcodebuild test -scheme mlx-swift-lm-Package -destination 'platform=macOS' -only-testing:MLXLMTests -only-testing:MLXFoundationModelsTests -skipPackagePluginValidation -skipMacroValidation

XCTest Swift Testing
this branch (MLX v0.32.3) Executed 634 tests, with 2 tests skipped and 35 failures Test run with 803 tests in 73 suites failed … with 11 issues
base 912be6f (MLX v0.32.2) Executed 634 tests, with 2 tests skipped and 35 failures Test run with 803 tests in 73 suites failed … with 11 issues

Both runs fail the same 30 tests, by name, and these fail on this Mac with the unchanged base too: the image/windowed continuation tests in GlmOcrContinuationTests, Qwen25VLContinuationTests, Qwen35ContinuationTests and Qwen3VLContinuationTests, plus NanbeigeTests.testWarmContinuationMatchesFullPrefill, the two Qwen35MTPMetalTests GDN checkpoint tests, RoPEApplicationTests.gemma3nAttentionTest, TurboQuantMSECodecTests.whtRotationOrthogonality and testSSMAttnChunkedMatchesUnchunkedValuesAndGradients.

An earlier run against mlx-swift ca6971b showed four more failures, all in MoE SwitchGLU tests (DirectExpertReductionTests, ParoQuantTests ×2, Qwen35DirectExpertReductionTests). They came from the missing gather_mm_offsets kernel. PicoMLX/mlx-swift c4bad90 adds it, and those four pass now.

Not done on purpose

  • The base branch is still named codex/mlx-0.32.2-baseline. Renaming it would break the lockstep pin in chroma-swift@batching and PicoCore, which name this branch.
  • Nothing else changes: the new MLX ops (gated_delta_update, …) aren't wired into any model.
  • I didn't look into the 30 baseline failures. They predate this PR.

🤖 Generated with Claude Code

Moves the mlx-swift dependency from ml-explore/mlx-swift 0.32.2 to
PicoMLX/mlx-swift branch pico/0.32.3-jaccl: upstream mlx-swift 0.32.3
with MLX v0.32.3, which fixes ReduceScatter::eval_cpu's assertion
(ml-explore/mlx#4557) and JACCL's ring all_gather (ml-explore/mlx#4443),
plus the JACCL backend (ml-explore/mlx-swift#502).

SwiftPM wants one URL and one requirement for mlx-swift across the
graph, so PicoCore moves to the same URL and branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T07:21:18.826136Z 282f1ac PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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