Skip to content

Fix build with MLX 0.32.5 - #145

Closed
daeho-ro wants to merge 1 commit into
ml-explore:mainfrom
daeho-ro:sdpa-window-size
Closed

daeho-ro wants to merge 1 commit into
ml-explore:mainfrom
daeho-ro:sdpa-window-size

Conversation

@daeho-ro

Copy link
Copy Markdown

Pass the default window_size added in ml-explore/mlx#4734 to keep the C API unchanged.

Pass the default `window_size` added in MLX 0.32.5.
goodmai pushed a commit to goodmai/mlx-swift that referenced this pull request Nov 29, 2026
- Rebased onto main (5f117a2, keeping ml-explore#517 JACCL trait, ml-explore#518 empty vector array fix, ml-explore#519 Swift Testing)
- Bump Source/Cmlx/mlx submodule from 36969c09 (v0.32.4) to cfc675e9 (v0.32.5)
- Regenerate Source/Cmlx/mlx-generated and Source/Cmlx/include-framework via ./tools/update-mlx.sh
- Update tools/update-mlx-xcodeproj.sh for backend/common/custom_kernel.h + config.h (0 missing <Cmlx/...> headers)
- Override mlx-c/mlx/c/fast.cpp with Source/Cmlx/mlx-c-overrides/fast_v0325.cpp (1-line window_size = -1 fix from ml-explore/mlx-c#145) across macOS and Linux CUDA, excluding mlx-c-overrides on Linux CPU with no duplicate exclude
- Update MLX_VERSION to 0.32.5 in Package.swift and xcode/xcconfig/Cmlx.xcconfig
goodmai pushed a commit to goodmai/mlx-swift that referenced this pull request Nov 29, 2026
- Rebased onto main (5f117a2, keeping ml-explore#517 JACCL trait, ml-explore#518 empty vector array fix, ml-explore#519 Swift Testing)
- Bump Source/Cmlx/mlx submodule from 36969c09 (v0.32.4) to cfc675e9 (v0.32.5)
- Regenerate Source/Cmlx/mlx-generated and Source/Cmlx/include-framework via ./tools/update-mlx.sh
- Update tools/update-mlx-xcodeproj.sh for backend/common/custom_kernel.h + config.h (0 missing <Cmlx/...> headers)
- Override mlx-c/mlx/c/fast.cpp with Source/Cmlx/mlx-c-overrides/fast_v0325.cpp (1-line window_size = -1 fix from ml-explore/mlx-c#145) across macOS and Linux CUDA, excluding mlx-c-overrides on Linux CPU with no duplicate exclude
- Update MLX_VERSION to 0.32.5 in Package.swift and xcode/xcconfig/Cmlx.xcconfig
@andresy

andresy commented Dec 3, 2026

Copy link
Copy Markdown
Member

Fixed via #148 . Also note that we pin MLX C to a specific MLX version.

@andresy andresy closed this Dec 3, 2026
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