Spaces:
Runtime error
Runtime error
update
Browse files- pre_build_script.sh +9 -0
- requirements.txt +0 -8
pre_build_script.sh
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pip install torch==2.1.0 torchvision==0.16.0 --index-url https://download.pytorch.org/whl/cu118
|
2 |
+
pip install xformers==0.0.22.post4 --index-url https://download.pytorch.org/whl/cu118
|
3 |
+
pip install torch-scatter -f https://data.pyg.org/whl/torch-2.1.0+cu118.html
|
4 |
+
|
5 |
+
pip install -r requirements.txt
|
6 |
+
pip install git+https://github.com/NVlabs/nvdiffrast
|
7 |
+
pip install git+https://github.com/facebookresearch/pytorch3d.git
|
8 |
+
pip install git+https://github.com/Baijiong-Lin/LoRA-Torch
|
9 |
+
pip install git+https://github.com/facebookresearch/segment-anything.git
|
requirements.txt
CHANGED
@@ -1,7 +1,3 @@
|
|
1 |
-
torch==2.1.0
|
2 |
-
torchvision==0.16.0
|
3 |
-
xformers==0.0.22.post4
|
4 |
-
torch-scatter
|
5 |
omegaconf
|
6 |
rm_anime_bg
|
7 |
diffusers==0.27.2
|
@@ -22,7 +18,3 @@ scikit-learn
|
|
22 |
pygltflib
|
23 |
pymeshlab==2022.2.post3
|
24 |
pytorch_lightning
|
25 |
-
git+https://github.com/NVlabs/nvdiffrast
|
26 |
-
git+https://github.com/facebookresearch/pytorch3d.git
|
27 |
-
git+https://github.com/Baijiong-Lin/LoRA-Torch
|
28 |
-
git+https://github.com/facebookresearch/segment-anything.git
|
|
|
|
|
|
|
|
|
|
|
1 |
omegaconf
|
2 |
rm_anime_bg
|
3 |
diffusers==0.27.2
|
|
|
18 |
pygltflib
|
19 |
pymeshlab==2022.2.post3
|
20 |
pytorch_lightning
|
|
|
|
|
|
|
|