Spaces:
Running
on
Zero
Running
on
Zero
Update optimization.py
Browse files- optimization.py +6 -8
optimization.py
CHANGED
@@ -72,19 +72,17 @@ def optimize_pipeline_(pipeline: Callable[P, Any], *args: P.args, **kwargs: P.kw
|
|
72 |
)
|
73 |
kwargs_lora = {}
|
74 |
kwargs_lora["load_into_transformer_2"] = True
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
#Low
|
79 |
pipeline.load_lora_weights(
|
80 |
-
#"TheRaf7/instagirl-v2",
|
81 |
"Kijai/WanVideo_comfy",
|
82 |
-
|
83 |
-
|
84 |
-
#weight_name="Wan22-Lightning/Wan2.2-Lightning_T2V-A14B-4steps-lora_LOW_fp16.safetensors",
|
85 |
-
adapter_name="lightning_2", **kwargs_lora
|
86 |
)
|
87 |
|
|
|
|
|
|
|
|
|
88 |
|
89 |
|
90 |
|
|
|
72 |
)
|
73 |
kwargs_lora = {}
|
74 |
kwargs_lora["load_into_transformer_2"] = True
|
|
|
|
|
|
|
75 |
#Low
|
76 |
pipeline.load_lora_weights(
|
|
|
77 |
"Kijai/WanVideo_comfy",
|
78 |
+
weight_name="Stand-In/Stand-In_wan2.1_T2V_14B_ver1.0_fp16.safetensors",
|
79 |
+
adapter_name="lightning_2", **kwargs_lora
|
|
|
|
|
80 |
)
|
81 |
|
82 |
+
|
83 |
+
|
84 |
+
|
85 |
+
|
86 |
|
87 |
|
88 |
|