Spaces:
Running
on
Zero
Running
on
Zero
Update wan2_fast.py
Browse files- wan2_fast.py +15 -2
wan2_fast.py
CHANGED
@@ -54,8 +54,10 @@ torch.cuda.empty_cache()
|
|
54 |
|
55 |
# hold lora for now
|
56 |
|
57 |
-
|
58 |
-
|
|
|
|
|
59 |
causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
|
60 |
pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
|
61 |
pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
|
@@ -65,6 +67,17 @@ pipe.fuse_lora()
|
|
65 |
|
66 |
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
# LORA_REPO_ID = "AlekseyCalvin/Phenakistiscopes_Wan22_5B_T2V_LoRA"
|
70 |
# LORA_FILENAME = "PhenakistiscopesV4_000002300.safetensors"
|
|
|
54 |
|
55 |
# hold lora for now
|
56 |
|
57 |
+
|
58 |
+
|
59 |
+
LORA_REPO_ID = "noahsolomon/wan2.2-lora-instagirl-2.0"
|
60 |
+
LORA_FILENAME = "Instagirlv2.0_hinoise.safetensors"
|
61 |
causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
|
62 |
pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
|
63 |
pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
|
|
|
67 |
|
68 |
|
69 |
|
70 |
+
# LORA_REPO_ID = "rahul7star/wan2.2Lora"
|
71 |
+
# LORA_FILENAME = "wan2.2/Wan2.2-Lightning_I2V-A14B-4steps-lora_LOW_fp16.safetensors"
|
72 |
+
# causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
|
73 |
+
# pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
|
74 |
+
# pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
|
75 |
+
# pipe.fuse_lora()
|
76 |
+
|
77 |
+
|
78 |
+
|
79 |
+
|
80 |
+
|
81 |
|
82 |
# LORA_REPO_ID = "AlekseyCalvin/Phenakistiscopes_Wan22_5B_T2V_LoRA"
|
83 |
# LORA_FILENAME = "PhenakistiscopesV4_000002300.safetensors"
|