mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-12 07:18:52 +08:00
Disable pythong stubs for arm64 CUDA build
This commit is contained in:
4
.github/actions/build-linux/action.yml
vendored
4
.github/actions/build-linux/action.yml
vendored
@@ -21,7 +21,7 @@ runs:
|
|||||||
-DMLX_BUILD_CUDA=ON
|
-DMLX_BUILD_CUDA=ON
|
||||||
run: |
|
run: |
|
||||||
CMAKE_ARGS="$CMAKE_ARGS_${{ startsWith(inputs.toolkit, 'cuda') && 'CUDA' || 'CPU' }}"
|
CMAKE_ARGS="$CMAKE_ARGS_${{ startsWith(inputs.toolkit, 'cuda') && 'CUDA' || 'CPU' }}"
|
||||||
# FIXME: Unable to build tests without libnccl.
|
# FIXME: Unable to build tests without libnccl on arm64.
|
||||||
if ${{ startsWith(inputs.toolkit, 'cuda') && runner.arch == 'arm64' }} ; then
|
if ${{ startsWith(inputs.toolkit, 'cuda') && runner.arch == 'arm64' }} ; then
|
||||||
CMAKE_ARGS="$CMAKE_ARGS -DMLX_BUILD_TESTS=OFF"
|
CMAKE_ARGS="$CMAKE_ARGS -DMLX_BUILD_TESTS=OFF"
|
||||||
fi
|
fi
|
||||||
@@ -34,6 +34,8 @@ runs:
|
|||||||
run: pip install --no-build-isolation -e ".[dev]" -v
|
run: pip install --no-build-isolation -e ".[dev]" -v
|
||||||
|
|
||||||
- name: Generate package stubs
|
- name: Generate package stubs
|
||||||
|
# FIXME: Unable to generate stubs without libnccl on arm64.
|
||||||
|
if: ${{ !(startsWith(inputs.toolkit, 'cuda') && runner.arch == 'arm64') }}
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
pip install typing_extensions
|
pip install typing_extensions
|
||||||
|
|||||||
Reference in New Issue
Block a user