Spaces:
Runtime error
Runtime error
update some packages
Browse files- app.py +2 -1
- requirements.txt +6 -6
app.py
CHANGED
|
@@ -25,6 +25,7 @@ from src.utils.infer_util import (remove_background, resize_foreground)
|
|
| 25 |
from src.utils.mesh_util import save_glb, save_obj
|
| 26 |
from src.utils.train_util import instantiate_from_config
|
| 27 |
|
|
|
|
| 28 |
|
| 29 |
def find_cuda():
|
| 30 |
cuda_home = os.environ.get('CUDA_HOME') or os.environ.get('CUDA_PATH')
|
|
@@ -286,4 +287,4 @@ with gr.Blocks() as demo:
|
|
| 286 |
outputs=[output_model_obj, output_model_glb]
|
| 287 |
)
|
| 288 |
|
| 289 |
-
demo.launch()
|
|
|
|
| 25 |
from src.utils.mesh_util import save_glb, save_obj
|
| 26 |
from src.utils.train_util import instantiate_from_config
|
| 27 |
|
| 28 |
+
torch.backends.cuda.matmul.allow_tf32 = True
|
| 29 |
|
| 30 |
def find_cuda():
|
| 31 |
cuda_home = os.environ.get('CUDA_HOME') or os.environ.get('CUDA_PATH')
|
|
|
|
| 287 |
outputs=[output_model_obj, output_model_glb]
|
| 288 |
)
|
| 289 |
|
| 290 |
+
demo.launch()
|
requirements.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
-
torch==2.
|
| 2 |
-
torchvision==0.
|
| 3 |
-
torchaudio==2.
|
| 4 |
-
pytorch-lightning==2.
|
| 5 |
einops
|
| 6 |
omegaconf
|
| 7 |
deepspeed
|
|
@@ -12,8 +12,8 @@ tensorboard
|
|
| 12 |
PyMCubes
|
| 13 |
trimesh
|
| 14 |
rembg
|
| 15 |
-
transformers==4.
|
| 16 |
-
diffusers==0.
|
| 17 |
bitsandbytes
|
| 18 |
imageio[ffmpeg]
|
| 19 |
xatlas
|
|
|
|
| 1 |
+
torch==2.3.0
|
| 2 |
+
torchvision==0.18.0
|
| 3 |
+
torchaudio==2.3.0
|
| 4 |
+
pytorch-lightning==2.2.4
|
| 5 |
einops
|
| 6 |
omegaconf
|
| 7 |
deepspeed
|
|
|
|
| 12 |
PyMCubes
|
| 13 |
trimesh
|
| 14 |
rembg
|
| 15 |
+
transformers==4.40.2
|
| 16 |
+
diffusers==0.27.2
|
| 17 |
bitsandbytes
|
| 18 |
imageio[ffmpeg]
|
| 19 |
xatlas
|