Spaces:
Runtime error
Runtime error
Update wan2_fast.py
Browse files- wan2_fast.py +7 -0
wan2_fast.py
CHANGED
|
@@ -51,6 +51,13 @@ pipe.to("cuda")
|
|
| 51 |
|
| 52 |
# hold lora for now
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
# LORA_REPO_ID = "Kijai/WanVideo_comfy"
|
| 56 |
# LORA_FILENAME = "Wan22-Lightning/Wan2.2-Lightning_T2V-A14B-4steps-lora_LOW_fp16.safetensors"
|
|
|
|
| 51 |
|
| 52 |
# hold lora for now
|
| 53 |
|
| 54 |
+
LORA_REPO_ID = "AlekseyCalvin/Phenakistiscopes_Wan22_5B_T2V_LoRA"
|
| 55 |
+
LORA_FILENAME = "PhenakistiscopesV4_000002300.safetensors"
|
| 56 |
+
causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
|
| 57 |
+
pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
|
| 58 |
+
pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
|
| 59 |
+
pipe.fuse_lora()
|
| 60 |
+
|
| 61 |
|
| 62 |
# LORA_REPO_ID = "Kijai/WanVideo_comfy"
|
| 63 |
# LORA_FILENAME = "Wan22-Lightning/Wan2.2-Lightning_T2V-A14B-4steps-lora_LOW_fp16.safetensors"
|