Commit 14dbd5f
Include mlx.metallib in release zip and bootstrap extraction
MLX compiles Metal GPU kernels into mlx.metallib at build time. The binary
has a hardcoded fallback path (from the CI build directory) that won't exist
on user machines. MLX's runtime search checks for a colocated mlx.metallib
(same directory as the binary) first, so shipping it alongside the binary
ensures it's always found.
Signed-off-by: Michael Yuan <michael@secondstate.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e64d0f1 commit 14dbd5f
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
0 commit comments