Skip to content

Commit eac8f0f

Browse files
juntaoclaude
andcommitted
Remove macOS tch CI test
The macOS tch build is not needed — macOS uses the MLX backend. Remove the matrix entry and associated macOS-specific steps (DYLD_LIBRARY_PATH, zip extraction). Signed-off-by: Michael Yuan <michael@secondstate.io> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d0883a4 commit eac8f0f

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ jobs:
2020
backend: tch
2121
libtorch-url: https://github.com/second-state/libtorch-releases/releases/download/v2.7.1/libtorch-cxx11-abi-aarch64-2.7.1.tar.gz
2222
libtorch-archive: libtorch.tar.gz
23-
- os: macos-latest
24-
name: macOS ARM64 (tch)
25-
backend: tch
26-
libtorch-url: https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.7.1.zip
27-
libtorch-archive: libtorch.zip
2823
- os: macos-latest
2924
name: macOS ARM64 (mlx)
3025
backend: mlx
@@ -57,12 +52,7 @@ jobs:
5752

5853
- name: Extract libtorch
5954
if: matrix.backend == 'tch'
60-
run: |
61-
if [[ "${{ matrix.libtorch-archive }}" == *.zip ]]; then
62-
unzip -q ${{ matrix.libtorch-archive }}
63-
else
64-
tar xzf ${{ matrix.libtorch-archive }}
65-
fi
55+
run: tar xzf ${{ matrix.libtorch-archive }}
6656

6757
- name: Set linker flags (Linux only)
6858
if: matrix.backend == 'tch' && runner.os == 'Linux'
@@ -97,10 +87,6 @@ jobs:
9787
if: matrix.backend == 'tch' && runner.os == 'Linux'
9888
run: echo "LD_LIBRARY_PATH=${{ github.workspace }}/libtorch/lib:$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
9989

100-
- name: Set library path (macOS)
101-
if: matrix.backend == 'tch' && runner.os == 'macOS'
102-
run: echo "DYLD_LIBRARY_PATH=${{ github.workspace }}/libtorch/lib:$DYLD_LIBRARY_PATH" >> "$GITHUB_ENV"
103-
10490
- name: Download 0.6B model
10591
run: python3 -c "from huggingface_hub import snapshot_download; snapshot_download('Qwen/Qwen3-ASR-0.6B', local_dir='Qwen3-ASR-0.6B')"
10692

0 commit comments

Comments
 (0)