Repository navigation
Commit 63ece1f
authored
fix(env): use conda-forge pytorch-gpu for reliable CUDA builds (#11)
Replace pytorch/nvidia channels + pytorch-cuda=12.4 with conda-forge
only + pytorch-gpu meta-package. This matches the working ESA-Datalabs
setup and ensures the CUDA variant is installed during Docker builds
(with CONDA_OVERRIDE_CUDA="12").
The pytorch-cuda package from the pytorch channel does not constrain
the pytorch package to its GPU variant, resulting in CPU-only builds.
The conda-forge pytorch-gpu meta-package correctly forces the CUDA
variant of pytorch.1 parent fd1d6d2 commit 63ece1f
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | | - | |
| 24 | + | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
0 commit comments