arabago96 commited on
Commit
8118ca2
·
verified ·
1 Parent(s): 7c0d72e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -17,6 +17,8 @@ from trellis.pipelines import TrellisImageTo3DPipeline
17
  from trellis.representations import Gaussian, MeshExtractResult
18
  from trellis.utils import render_utils, postprocessing_utils
19
 
 
 
20
  # Memory management settings
21
  torch.cuda.empty_cache()
22
  torch.cuda.set_per_process_memory_fraction(0.8) # Use only 80% of available GPU memory
 
17
  from trellis.representations import Gaussian, MeshExtractResult
18
  from trellis.utils import render_utils, postprocessing_utils
19
 
20
+ pipeline = None
21
+
22
  # Memory management settings
23
  torch.cuda.empty_cache()
24
  torch.cuda.set_per_process_memory_fraction(0.8) # Use only 80% of available GPU memory