The open-source AI voice studio. Clone, dictate, create.
Install CPU-only PyTorch before requirements.txt on Linux
Jamie Pine942dabbcac16
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex ede2bfdb..1604690b 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -55,17 +55,17 @@ jobs:python-version: ${{ matrix.python-version }}cache: "pip"+ - name: Install CPU-only PyTorch (Linux)+ if: matrix.platform == 'ubuntu-22.04'+ run: |+ pip install torch torchaudio --index-url https://download.pytorch.org/whl/cpu+- name: Install Python dependenciesrun: |python -m pip install --upgrade pippip install pyinstallerpip install -r backend/requirements.txt- - name: Install CPU-only PyTorch (Linux)- if: matrix.platform == 'ubuntu-22.04'- run: |- pip install torch torchaudio --index-url https://download.pytorch.org/whl/cpu --force-reinstall --no-deps-- name: Install MLX dependencies (Apple Silicon only)if: matrix.backend == 'mlx'run: |