Repository navigation
Build against mlx-swift 0.32.3 with MLX v0.32.3 and JACCL - #64
Open
ronaldmannak wants to merge 1 commit into
Open
ronaldmannak wants to merge 1 commit into
ronaldmannak wants to merge 1 commit into
Conversation
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>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of PicoMLX/PicoCore#213. PicoCore needs MLX v0.32.3 for distributed inference.
What changed
Package.swift: mlx-swift moves fromml-explore/mlx-swiftexact: "0.32.2"toPicoMLX/mlx-swiftbranchpico/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:ReduceScatter::eval_cpuassertion fix (ml-explore/mlx#4557), whichsumScatterneeds in any group larger than one, and the JACCL ringall_gatherfix (ml-explore/mlx#4443)ml-explore/mlx-swift#502)gather_mm_offsets/gated_delta_updatekernelsEvidence
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 integerfloor_divide, which MoE gather sorting needs on a generation thread. The run at4c2d2c7gave the same totals.xcodebuild test -scheme mlx-swift-lm-Package -destination 'platform=macOS' -only-testing:MLXLMTests -only-testing:MLXFoundationModelsTests -skipPackagePluginValidation -skipMacroValidationExecuted 634 tests, with 2 tests skipped and 35 failuresTest run with 803 tests in 73 suites failed … with 11 issues912be6f(MLX v0.32.2)Executed 634 tests, with 2 tests skipped and 35 failuresTest run with 803 tests in 73 suites failed … with 11 issuesBoth 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,Qwen35ContinuationTestsandQwen3VLContinuationTests, plusNanbeigeTests.testWarmContinuationMatchesFullPrefill, the twoQwen35MTPMetalTestsGDN checkpoint tests,RoPEApplicationTests.gemma3nAttentionTest,TurboQuantMSECodecTests.whtRotationOrthogonalityandtestSSMAttnChunkedMatchesUnchunkedValuesAndGradients.An earlier run against mlx-swift
ca6971bshowed four more failures, all in MoESwitchGLUtests (DirectExpertReductionTests,ParoQuantTests×2,Qwen35DirectExpertReductionTests). They came from the missinggather_mm_offsetskernel. PicoMLX/mlx-swiftc4bad90adds it, and those four pass now.Not done on purpose
codex/mlx-0.32.2-baseline. Renaming it would break the lockstep pin inchroma-swift@batchingand PicoCore, which name this branch.gated_delta_update, …) aren't wired into any model.🤖 Generated with Claude Code