We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e11bb31 commit 21d2de2Copy full SHA for 21d2de2
1 file changed
.github/workflows/release.yml
@@ -39,6 +39,12 @@ jobs:
39
git clone --depth 1 --branch "${MLX_SWIFT_LM_REF}" \
40
https://github.com/ml-explore/mlx-swift-lm.git mlx-swift-lm
41
42
+ - name: Patch upstream StrictConcurrency issues
43
+ run: |
44
+ # mlx-swift-lm MediaProcessing.swift: CIContext is non-Sendable
45
+ sed -i '' 's/^private let context = CIContext()/private nonisolated(unsafe) let context = CIContext()/' \
46
+ mlx-swift-lm/Libraries/MLXVLM/MediaProcessing.swift
47
+
48
- name: Build
49
run: |
50
chmod +x build.sh
0 commit comments