Spaces:
Running
on
Zero
Running
on
Zero
Update wan2_fast.py
Browse files- wan2_fast.py +7 -7
wan2_fast.py
CHANGED
|
@@ -39,15 +39,15 @@ pipe.to("cuda")
|
|
| 39 |
|
| 40 |
|
| 41 |
|
|
|
|
| 42 |
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
pipe.
|
| 49 |
-
pipe.
|
| 50 |
-
pipe.fuse_lora()
|
| 51 |
|
| 52 |
# MOD_VALUE = 32
|
| 53 |
# DEFAULT_H_SLIDER_VALUE = 512
|
|
|
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
+
# hold lora for now
|
| 43 |
|
| 44 |
|
| 45 |
+
# LORA_REPO_ID = "Kijai/WanVideo_comfy"
|
| 46 |
+
# LORA_FILENAME = "Wan22-Lightning/Wan2.2-Lightning_T2V-A14B-4steps-lora_LOW_fp16.safetensors"
|
| 47 |
+
# causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
|
| 48 |
+
# pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
|
| 49 |
+
# pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
|
| 50 |
+
# pipe.fuse_lora()
|
|
|
|
| 51 |
|
| 52 |
# MOD_VALUE = 32
|
| 53 |
# DEFAULT_H_SLIDER_VALUE = 512
|