diff --git a/.github/workflows/doc.yaml b/.github/workflows/doc.yaml index 6f651ed75..c10f57884 100644 --- a/.github/workflows/doc.yaml +++ b/.github/workflows/doc.yaml @@ -59,6 +59,11 @@ jobs: output.write(f"{key}={path}\n") - name: Install dependencies + env: + # GPU-less runners: fetch CPU-only torch wheels (via braindecode) instead + # of the default CUDA builds (~5 GB of unused CUDA libs that also bloat the + # uv cache). Scoped to CI, not pyproject, so local/GPU installs are unaffected. + UV_TORCH_BACKEND: cpu run: uv pip install -e .[all] - name: Restore Data Caches (pull_request) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a3483031f..c7defab1d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -105,6 +105,11 @@ jobs: - name: Show Python Version run: python --version - name: Install EEGDash from Current Checkout + env: + # GPU-less runners: fetch CPU-only torch wheels (via braindecode) instead + # of the default CUDA builds (~5 GB of unused CUDA libs that also bloat the + # uv cache). Scoped to CI, not pyproject, so local/GPU installs are unaffected. + UV_TORCH_BACKEND: cpu run: uv pip install -e .[tests] # Show EEGDash Version - name: Show EEGDash Version