Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
0d33a1d
1
Parent(s):
5b57f2b
update
Browse files
setup.sh
CHANGED
@@ -6,28 +6,28 @@ echo "Reinstalling NumPy with specific version..."
|
|
6 |
pip install --force-reinstall -v "numpy==1.25.2"
|
7 |
|
8 |
|
9 |
-
# Compile and install DISO package
|
10 |
-
echo "Compiling and installing DISO..."
|
11 |
-
pip install ninja
|
12 |
-
mkdir -p diso_package
|
13 |
-
cd diso_package
|
14 |
-
git clone https://github.com/SarahWeiii/diso.git
|
15 |
-
cd diso
|
16 |
-
pip install -e .
|
17 |
-
cd ..
|
18 |
-
cd ..
|
19 |
|
20 |
echo "Setup completed successfully!"
|
21 |
|
22 |
echo "Installing other requirements..."
|
23 |
pip install -r requirements.txt
|
24 |
|
25 |
-
#
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
|
32 |
pip install ./diso_package/diso-0.1.4-*.whl
|
33 |
echo "Setup completed successfully!"
|
|
|
6 |
pip install --force-reinstall -v "numpy==1.25.2"
|
7 |
|
8 |
|
9 |
+
# # Compile and install DISO package
|
10 |
+
# echo "Compiling and installing DISO..."
|
11 |
+
# pip install ninja
|
12 |
+
# mkdir -p diso_package
|
13 |
+
# cd diso_package
|
14 |
+
# git clone https://github.com/SarahWeiii/diso.git
|
15 |
+
# cd diso
|
16 |
+
# pip install -e .
|
17 |
+
# cd ..
|
18 |
+
# cd ..
|
19 |
|
20 |
echo "Setup completed successfully!"
|
21 |
|
22 |
echo "Installing other requirements..."
|
23 |
pip install -r requirements.txt
|
24 |
|
25 |
+
# 从您的Hugging Face仓库下载并安装预编译的DISO wheel
|
26 |
+
echo "Installing pre-compiled DISO wheel package..."
|
27 |
+
huggingface-cli download --resume-download ZhiyuanthePony/TriplaneTurbo \
|
28 |
+
--include "diso-0.1.4-*.whl" \
|
29 |
+
--local-dir ./diso_package \
|
30 |
+
--local-dir-use-symlinks False
|
31 |
|
32 |
pip install ./diso_package/diso-0.1.4-*.whl
|
33 |
echo "Setup completed successfully!"
|