mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-09 13:25:32 +08:00
16 lines
383 B
YAML
16 lines
383 B
YAML
name: 'Build CUDA wheel'
|
|
description: 'Build CUDA wheel'
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Build package
|
|
shell: bash
|
|
env:
|
|
CMAKE_ARGS: -DMLX_BUILD_CUDA=ON
|
|
run: |
|
|
pip install auditwheel build patchelf setuptools
|
|
python setup.py clean --all
|
|
MLX_BUILD_STAGE=2 python -m build -w
|
|
bash python/scripts/repair_cuda.sh
|