Skip to content

fix compatibility issue in update(parameters:) - #510

Merged
davidkoski merged 2 commits into
mainfrom
compatibility
Oct 26, 2026
Merged

davidkoski merged 2 commits into
mainfrom
compatibility

Conversation

@davidkoski

Copy link
Copy Markdown
Member

Proposed changes

Checklist

Put an x in the boxes that apply.

  • I have read the CONTRIBUTING document
  • I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the necessary documentation (if needed)

@davidkoski
davidkoski added this pull request to stack #511 October 22, 2026 21:52
@davidkoski
davidkoski force-pushed the compatibility branch 3 times, most recently from db19984 to 1bdf2fe Compare October 26, 2026 16:50
Base automatically changed from mlx-0.32.4 to main October 26, 2026 18:31
- with the change in #418 the implementation changed such that the recursion was on an internal method
- this restores the previous functionality
@davidkoski
davidkoski merged commit 392aa34 into main Oct 26, 2026
7 checks passed
@davidkoski
davidkoski deleted the compatibility branch October 26, 2026 23:13
tsnAnh pushed a commit to TitoniumLab/mlx-swift that referenced this pull request Nov 7, 2026
Brings in upstream mlx-swift up to 392aa34 (9 commits past the 43c90af
merge base), including the mlx v0.32.4 vendor update (ml-explore#508), optimizer
state, CUDA build changes, crossEntropy/nllLoss, C++ warning fixes,
concurrent safetensors loading (ml-explore#462), and update(parameters:) (ml-explore#510).

Conflict resolution:
- Source/Cmlx/mlx and Source/Cmlx/mlx-c: re-vendored from upstream
  (mlx 36969c09, mlx-c a26f2d58) with the carried fork patches re-applied,
  including the unsigned floor_divide shortcut in mlx/ops.cpp.
- Source/Cmlx/mlx-generated: regenerated with tools/update-mlx.sh;
  moe_stream.metal (fork-only) copied from fork main; sdpa_vector.h keeps
  the TurboQuant changes.
- Source/Cmlx/include-framework: regenerated with
  tools/update-mlx-xcodeproj.sh; fork headers (mlx-fast.h,
  mlx-threadpool.h, mlx-c-fast.h, mlx-io-load.h) retained.
- Package.swift: fork version kept with upstream's cross_entropy.cpp and
  gated_delta_update.cpp sources and shorten-64-to-32 warning suppression;
  CUDA stubbing retained.
- xcode/MLX.xcodeproj: upstream project plus moe_stream.metal.
- Tests/MLXTests/FP8Tests.swift: upstream version taken; the fork's
  NaN-aware variant papered over pre-v0.32.4 decoding and is superseded.
- Source/MLX/Transforms+Compile.swift: fork's scoped default device patch
  kept.
- .github/*, .gitmodules, MAINTENANCE.md, fmt/test/*: fork-only, kept.

Not compiled or tested locally; CI is the gate.

Co-Authored-By: Claude Haiku 5.5 <[email protected]>
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]>
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