ZhiyuanthePony commited on
Commit
e4700ee
·
2 Parent(s): f743562 fd8ae9a
Files changed (1) hide show
  1. setup.sh +21 -11
setup.sh CHANGED
@@ -6,18 +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
 
 
 
 
 
 
 
 
 
 
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
 
21
  echo "Setup completed successfully!"
22
 
23
  echo "Installing other requirements..."
24
+ pip install -r requirements.txt
25
+
26
+ # 从您的Hugging Face仓库下载并安装预编译的DISO wheel
27
+ echo "Installing pre-compiled DISO wheel package..."
28
+ huggingface-cli download --resume-download ZhiyuanthePony/TriplaneTurbo \
29
+ --include "diso-0.1.4-*.whl" \
30
+ --local-dir ./diso_package \
31
+ --local-dir-use-symlinks False
32
+
33
+ pip install ./diso_package/diso-0.1.4-*.whl