Spaces:
Running
on
Zero
Running
on
Zero
Upload gradio_app.py with huggingface_hub
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
|
@@ -18,7 +18,7 @@ def install_cuda_toolkit():
|
|
| 18 |
# Fix: arch_list[-1] += '+PTX'; IndexError: list index out of range
|
| 19 |
os.environ["TORCH_CUDA_ARCH_LIST"] = "8.0;8.6"
|
| 20 |
|
| 21 |
-
|
| 22 |
os.system("cd /home/user/app/hy3dgen/texgen/differentiable_renderer/ && bash compile_mesh_painter.sh")
|
| 23 |
os.system("cd /home/user/app/hy3dgen/texgen/custom_rasterizer && pip install .")
|
| 24 |
os.system("cd /home/user/app/hy3dgen/texgen/custom_rasterizer && CUDA_HOME=/usr/local/cuda FORCE_CUDA=1 TORCH_CUDA_ARCH_LIST='8.0;8.6;8.9;9.0' python setup.py install")
|
|
|
|
| 18 |
# Fix: arch_list[-1] += '+PTX'; IndexError: list index out of range
|
| 19 |
os.environ["TORCH_CUDA_ARCH_LIST"] = "8.0;8.6"
|
| 20 |
|
| 21 |
+
install_cuda_toolkit()
|
| 22 |
os.system("cd /home/user/app/hy3dgen/texgen/differentiable_renderer/ && bash compile_mesh_painter.sh")
|
| 23 |
os.system("cd /home/user/app/hy3dgen/texgen/custom_rasterizer && pip install .")
|
| 24 |
os.system("cd /home/user/app/hy3dgen/texgen/custom_rasterizer && CUDA_HOME=/usr/local/cuda FORCE_CUDA=1 TORCH_CUDA_ARCH_LIST='8.0;8.6;8.9;9.0' python setup.py install")
|