Spaces:
Runtime error
Runtime error
Update optimization.py
Browse files- optimization.py +3 -3
optimization.py
CHANGED
|
@@ -67,7 +67,7 @@ def optimize_pipeline_(pipeline: Callable[P, Any], *args: P.args, **kwargs: P.kw
|
|
| 67 |
|
| 68 |
pipeline.load_lora_weights(
|
| 69 |
"Kijai/WanVideo_comfy",
|
| 70 |
-
weight_name="
|
| 71 |
adapter_name="lightning"
|
| 72 |
)
|
| 73 |
kwargs_lora = {}
|
|
@@ -86,10 +86,10 @@ def optimize_pipeline_(pipeline: Callable[P, Any], *args: P.args, **kwargs: P.kw
|
|
| 86 |
|
| 87 |
pipeline.load_lora_weights(
|
| 88 |
#"drozbay/Wan2.2_A14B_lora_extract",
|
| 89 |
-
"
|
| 90 |
#weight_name="MTVCrafter/Wan2_1_MTV-Crafter_motion_adapter_bf16.safetensors",
|
| 91 |
#weight_name="Skyreels/Wan2_1_Skyreels-v2-T2V-720P_LoRA_rank_64_fp16.safetensors",
|
| 92 |
-
weight_name="
|
| 93 |
#weight_name="Wan2.2-T2V-A14B-4steps-lora-rank64-Seko-V1.1/low_noise_model.safetensors",
|
| 94 |
adapter_name="lightning_2", **kwargs_lora
|
| 95 |
)
|
|
|
|
| 67 |
|
| 68 |
pipeline.load_lora_weights(
|
| 69 |
"Kijai/WanVideo_comfy",
|
| 70 |
+
weight_name="Pusa/Wan22_PusaV1_lora_HIGH_resized_dynamic_avg_rank_98_bf16.safetensors",
|
| 71 |
adapter_name="lightning"
|
| 72 |
)
|
| 73 |
kwargs_lora = {}
|
|
|
|
| 86 |
|
| 87 |
pipeline.load_lora_weights(
|
| 88 |
#"drozbay/Wan2.2_A14B_lora_extract",
|
| 89 |
+
"Kijai/WanVideo_comfy",
|
| 90 |
#weight_name="MTVCrafter/Wan2_1_MTV-Crafter_motion_adapter_bf16.safetensors",
|
| 91 |
#weight_name="Skyreels/Wan2_1_Skyreels-v2-T2V-720P_LoRA_rank_64_fp16.safetensors",
|
| 92 |
+
weight_name="Pusa/Wan22_PusaV1_lora_LOW_resized_dynamic_avg_rank_98_bf16.safetensors",
|
| 93 |
#weight_name="Wan2.2-T2V-A14B-4steps-lora-rank64-Seko-V1.1/low_noise_model.safetensors",
|
| 94 |
adapter_name="lightning_2", **kwargs_lora
|
| 95 |
)
|