Commit 33e1511
committed
docs: warn against Python mlx-metal metallib version mismatch
Using pip's mlx-metal package to source the metallib causes a
'freed pointer was not the last allocation' crash during inference
because the Metal GPU kernel ABI doesn't match the compiled Swift
binary. Document that LocalPackages/mlx-swift/ is the only
version-matched source and must be used.1 parent e6556fc commit 33e1511
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 120 | + | |
124 | 121 | | |
125 | 122 | | |
126 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
127 | 126 | | |
128 | 127 | | |
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
0 commit comments