disable cuda for 0.1.12

This commit is contained in:
Jamie Pine
2026-01-31 01:44:34 -08:00
parent 64dd29d35a
commit 0922845101
+21 -21
View File
@@ -4,7 +4,7 @@ on:
workflow_dispatch: workflow_dispatch:
push: push:
tags: tags:
- 'v*' - "v*"
jobs: jobs:
release: release:
@@ -14,22 +14,22 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- platform: 'macos-latest' - platform: "macos-latest"
args: '--target aarch64-apple-darwin' args: "--target aarch64-apple-darwin"
python-version: '3.12' python-version: "3.12"
backend: 'mlx' backend: "mlx"
- platform: 'macos-15-intel' - platform: "macos-15-intel"
args: '--target x86_64-apple-darwin' args: "--target x86_64-apple-darwin"
python-version: '3.12' python-version: "3.12"
backend: 'pytorch' backend: "pytorch"
# - platform: 'ubuntu-22.04' # - platform: 'ubuntu-22.04'
# args: '' # args: ''
# python-version: '3.12' # python-version: '3.12'
# backend: 'pytorch' # backend: 'pytorch'
- platform: 'windows-latest' - platform: "windows-latest"
args: '' args: ""
python-version: '3.12' python-version: "3.12"
backend: 'pytorch' backend: "pytorch"
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
@@ -53,7 +53,7 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: 'pip' cache: "pip"
- name: Install Python dependencies - name: Install Python dependencies
run: | run: |
@@ -66,11 +66,11 @@ jobs:
run: | run: |
pip install -r backend/requirements-mlx.txt pip install -r backend/requirements-mlx.txt
- name: Install PyTorch with CUDA (Windows only) # - name: Install PyTorch with CUDA (Windows only)
if: matrix.platform == 'windows-latest' # if: matrix.platform == 'windows-latest'
run: | # run: |
pip install torch --index-url https://download.pytorch.org/whl/cu121 --force-reinstall --no-deps # pip install torch --index-url https://download.pytorch.org/whl/cu121 --force-reinstall --no-deps
pip install torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 # pip install torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
- name: Build Python server (Linux/macOS) - name: Build Python server (Linux/macOS)
if: matrix.platform != 'windows-latest' if: matrix.platform != 'windows-latest'
@@ -106,7 +106,7 @@ jobs:
- name: Rust cache - name: Rust cache
uses: swatinem/rust-cache@v2 uses: swatinem/rust-cache@v2
with: with:
workspaces: './tauri/src-tauri -> target' workspaces: "./tauri/src-tauri -> target"
- name: Install dependencies - name: Install dependencies
run: bun install run: bun install
@@ -142,7 +142,7 @@ jobs:
with: with:
projectPath: tauri projectPath: tauri
tagName: v__VERSION__ tagName: v__VERSION__
releaseName: 'voicebox v__VERSION__' releaseName: "voicebox v__VERSION__"
releaseBody: | releaseBody: |
## What's Changed ## What's Changed
See the assets below to download and install this version. See the assets below to download and install this version.