mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
Will split intel macOS build to use older torch (#1138)
This commit is contained in:
parent
c861675947
commit
e136cebf31
4 changed files with 153 additions and 157 deletions
28
.github/workflows/ci.yml
vendored
28
.github/workflows/ci.yml
vendored
|
|
@ -64,6 +64,11 @@ jobs:
|
|||
- name: Test ffmpeg
|
||||
run: ffmpeg -i ./testdata/audio-long.mp3 ./testdata/audio-long.wav
|
||||
|
||||
- name: Downgrade torch for Intel macOS
|
||||
run: |
|
||||
poetry add torch==2.2.2 torchaudio==2.2.2
|
||||
if: "matrix.os == 'macos-13'"
|
||||
|
||||
- name: Install dependencies
|
||||
run: poetry install
|
||||
|
||||
|
|
@ -128,23 +133,19 @@ jobs:
|
|||
- name: Install CUDA torch for Windows
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||
poetry source add --priority=supplemental torch https://download.pytorch.org/whl/cu121
|
||||
poetry source add --priority=supplemental torch https://download.pytorch.org/whl/cu124
|
||||
poetry source add --priority=supplemental nvidia https://pypi.ngc.nvidia.com
|
||||
|
||||
poetry add torch==2.2.2+cu121
|
||||
poetry add torchaudio==2.2.2+cu121
|
||||
poetry add nvidia-cublas-cu12==12.1.3.1
|
||||
poetry add nvidia-cuda-cupti-cu12==12.1.105
|
||||
poetry add nvidia-cuda-nvrtc-cu12==12.1.105
|
||||
poetry add nvidia-cuda-runtime-cu12==12.1.105
|
||||
poetry add nvidia-cufft-cu12==11.0.2.54
|
||||
poetry add nvidia-curand-cu12==10.3.2.106
|
||||
poetry add nvidia-cusolver-cu12==11.4.5.107
|
||||
poetry add nvidia-cusparse-cu12==12.1.0.106
|
||||
poetry add nvidia-nvtx-cu12==12.1.105
|
||||
poetry add torch==2.6.0+cu124 torchaudio==2.6.0+cu124
|
||||
poetry add nvidia-cublas-cu12==12.4.5.8 nvidia-cuda-cupti-cu12==12.4.127 nvidia-cuda-nvrtc-cu12==12.4.127 nvidia-cuda-runtime-cu12==12.4.127 nvidia-cufft-cu12==11.2.1.3 nvidia-curand-cu12==10.3.5.147 nvidia-cusolver-cu12==11.6.1.9 nvidia-cusparse-cu12==12.3.1.170 nvidia-nvtx-cu12==12.4.127
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
- name: Downgrade torch for Intel macOS
|
||||
run: |
|
||||
poetry add torch==2.2.2 torchaudio==2.2.2
|
||||
if: "matrix.os == 'macos-13'"
|
||||
|
||||
- name: Install dependencies
|
||||
run: poetry install
|
||||
|
||||
|
|
@ -227,8 +228,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# macos-13 is an intel runner, macos-14 is apple silicon
|
||||
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue