Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
90954f4
1
Parent(s):
b416df6
update
Browse files
app2.py
CHANGED
@@ -186,7 +186,7 @@ class AnimateController:
|
|
186 |
original_state_dict = {k: v.cpu().clone() for k, v in pipeline.unet.state_dict().items() if "motion_modules." not in k}
|
187 |
pipeline.unet = convert_lcm_lora(pipeline.unet, self.lcm_lora_path, spatial_lora_slider)
|
188 |
|
189 |
-
pipeline.
|
190 |
pipeline.to(device)
|
191 |
|
192 |
if seed_textbox != -1 and seed_textbox != "":
|
|
|
186 |
original_state_dict = {k: v.cpu().clone() for k, v in pipeline.unet.state_dict().items() if "motion_modules." not in k}
|
187 |
pipeline.unet = convert_lcm_lora(pipeline.unet, self.lcm_lora_path, spatial_lora_slider)
|
188 |
|
189 |
+
pipeline.enable_sequential_cpu_offload()
|
190 |
pipeline.to(device)
|
191 |
|
192 |
if seed_textbox != -1 and seed_textbox != "":
|