Disable pythong stubs for arm64 CUDA build

This commit is contained in:
Cheng
2025-11-17 16:24:22 +09:00
parent 978e9c589f
commit 19205e68e2

View File

@@ -21,7 +21,7 @@ runs:
-DMLX_BUILD_CUDA=ON
run: |
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
CMAKE_ARGS="$CMAKE_ARGS -DMLX_BUILD_TESTS=OFF"
fi
@@ -34,6 +34,8 @@ runs:
run: pip install --no-build-isolation -e ".[dev]" -v
- name: Generate package stubs
# FIXME: Unable to generate stubs without libnccl on arm64.
if: ${{ !(startsWith(inputs.toolkit, 'cuda') && runner.arch == 'arm64') }}
shell: sh
run: |
pip install typing_extensions