Commit cd529e9
fix(ci): make CUDA torch index Linux-only so non-Linux installs work
The cu124 torch/torchvision/torchaudio index was applied to every platform,
but CUDA wheels exist only for Linux/Windows, so `uv sync` failed on macOS
(and any CPU-only box) and the macOS CI leg could never install. Restrict
the cu124 index to sys_platform == 'linux'; macOS/Windows now resolve torch
from PyPI. Also set fail-fast: false so one matrix leg failing no longer
cancels the others.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d55bc56 commit cd529e9
3 files changed
Lines changed: 180 additions & 59 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
159 | 161 | | |
160 | | - | |
161 | | - | |
162 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
0 commit comments