xxxpo13 commited on
Commit
354fcf0
·
verified ·
1 Parent(s): 7e51913

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -5,6 +5,8 @@ import subprocess
5
  import tempfile
6
  import shutil
7
 
 
 
8
  def run_inference_multigpu(gpus, variant, model_path, temp, guidance_scale, video_guidance_scale, resolution, prompt):
9
  """
10
  Runs the external multi-GPU inference script and returns the path to the generated video.
 
5
  import tempfile
6
  import shutil
7
 
8
+ cpu_offloading=True
9
+
10
  def run_inference_multigpu(gpus, variant, model_path, temp, guidance_scale, video_guidance_scale, resolution, prompt):
11
  """
12
  Runs the external multi-GPU inference script and returns the path to the generated video.