Repository navigation
Fix a potential data race in ErrorBox.check() - #513
Merged
Merged
Conversation
davidkoski
force-pushed
the
fix-firstError
branch
from
October 27, 2026 21:03
eb85d0d to
0995e6d
Compare
Member
|
Rebase to get CI fix. |
ronaldmannak
added a commit
to ronaldmannak/mlx-swift
that referenced
this pull request
Nov 15, 2026
Brings in main through a557dd6 (upstream ml-explore#510, ml-explore#512, ml-explore#513, ml-explore#514, ml-explore#517, ml-explore#518, ml-explore#519, ml-explore#523). Conflicts: - CMakeLists.txt: keep the PicoMLX/mlx-c pico/integration pin. - Cmlx.xcconfig: keep MLX_VERSION 0.32.5 and add main's MLX_USE_JACCL=1. - ModuleTests.swift, DistributedNNTests.swift: take main's Swift Testing versions. The integration side held this fork's copies of ml-explore#510 and ml-explore#512, whose code matches main's; main has since converted those files. The Cmlx/mlx and Cmlx/mlx-c submodules stay on pico/integration, which already contain the v0.32.4 and v0.8.0 commits main points at. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Proposed changes
ErrorBox.check()use the lockingfirstErrorcomputed var instead of its thread-unsafe backing_firstErrorChecklist
Put an
xin the boxes that apply.pre-commit run --all-filesto format my code / installed pre-commit prior to committing changes