Spaces:
Build error
Build error
Resolve Conda environment conflicts by simplifying CUDA dependencies and using stable PyTorch
Browse files- cosmos-predict1.yaml +9 -6
cosmos-predict1.yaml
CHANGED
@@ -11,14 +11,17 @@ dependencies:
|
|
11 |
- ninja
|
12 |
- gcc=12.4.0
|
13 |
- gxx=12.4.0
|
14 |
-
|
15 |
-
-
|
16 |
-
- cuda
|
|
|
|
|
17 |
# Add PyTorch and Torchvision
|
18 |
-
- pytorch=2.
|
19 |
-
- torchvision
|
20 |
-
- torchaudio
|
21 |
- pytorch-cuda=12.1
|
|
|
22 |
# Add pip dependencies directly in the YAML
|
23 |
- pip:
|
24 |
- -r file:gui/requirements.txt
|
|
|
11 |
- ninja
|
12 |
- gcc=12.4.0
|
13 |
- gxx=12.4.0
|
14 |
+
# REMOVE these explicit CUDA dependencies from here.
|
15 |
+
# Let pytorch-cuda manage its own CUDA libraries.
|
16 |
+
# - cuda=12.4
|
17 |
+
# - cuda-nvcc=12.4
|
18 |
+
# - cuda-toolkit=12.4
|
19 |
# Add PyTorch and Torchvision
|
20 |
+
- pytorch=2.3.1
|
21 |
+
- torchvision=0.18.1
|
22 |
+
- torchaudio=2.3.1
|
23 |
- pytorch-cuda=12.1
|
24 |
+
|
25 |
# Add pip dependencies directly in the YAML
|
26 |
- pip:
|
27 |
- -r file:gui/requirements.txt
|