Update app.py
Browse files
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.
|