Spaces:
Running
on
Zero
Running
on
Zero
Update optimization.py
Browse files- optimization.py +1 -1
optimization.py
CHANGED
@@ -50,7 +50,7 @@ def optimize_pipeline_(pipeline: Callable[P, Any], *args: P.args, **kwargs: P.kw
|
|
50 |
@spaces.GPU(duration=1500)
|
51 |
def compile_transformer():
|
52 |
|
53 |
-
|
54 |
"lightx2v/Qwen-Image-Lightning",
|
55 |
weight_name="Qwen-Image-Lightning-8steps-V1.1.safetensors"
|
56 |
)
|
|
|
50 |
@spaces.GPU(duration=1500)
|
51 |
def compile_transformer():
|
52 |
|
53 |
+
pipeline.load_lora_weights(
|
54 |
"lightx2v/Qwen-Image-Lightning",
|
55 |
weight_name="Qwen-Image-Lightning-8steps-V1.1.safetensors"
|
56 |
)
|