cocoa-xu/Setup MLX
Download and set up a precompiled MLX release from cocoa-xu/mlx-build
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mlx-version | MLX version or requirement, e.g. "0.32.0", "~> 0.32", ">= 0.31.0" | yes | — |
| triplet | Override the auto-detected target triplet | no | "" |
| debug | Use the debug build variant | no | false |
| jit | macOS only: use the JIT (runtime Metal compilation) variant | no | false |
| deployment-target | macOS only: deployment target (14.0 = portable, 26.2 = NAX kernels) | no | 14.0 |
| cuda | CUDA major version for the CUDA variant (Linux glibc, e.g. "13"); empty = CPU build | no | "" |
| cudnn | cuDNN major version for the CUDA variant | no | 9 |
| install-dir | Directory to extract MLX into | no | .mlx |
| add-to-path | Append <install-dir>/bin to PATH | no | true |
| download-only | Only download the archive; do not extract or set env | no | false |
| repository | GitHub repository hosting the MLX releases | no | cocoa-xu/mlx-build |
| token | GitHub token used for the releases API | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| mlx-version | Resolved MLX version |
| triplet | Target triplet used |
| install-dir | Absolute install directory (usable as a CMake prefix) |
| lib-dir | Library directory |
| include-dir | Include directory |
| archive-path | Downloaded archive path (download-only mode) |