Spaces:
Runtime error
Runtime error
Update wan2_fast.py
Browse files- wan2_fast.py +6 -7
wan2_fast.py
CHANGED
|
@@ -35,7 +35,7 @@ MODEL_ID = "FastVideo/FastWan2.2-TI2V-5B-FullAttn-Diffusers"
|
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
-
|
| 39 |
|
| 40 |
|
| 41 |
|
|
@@ -56,12 +56,11 @@ torch.cuda.empty_cache()
|
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
pipe.fuse_lora()
|
| 65 |
|
| 66 |
|
| 67 |
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
+
|
| 39 |
|
| 40 |
|
| 41 |
|
|
|
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
+
pipe.load_lora_weights(
|
| 60 |
+
"vrgamedevgirl84/Wan14BT2VFusioniX",
|
| 61 |
+
weight_name="FusionX_LoRa/Phantom_Wan_14B_FusionX_LoRA.safetensors",
|
| 62 |
+
adapter_name="phantom"
|
| 63 |
+
)
|
|
|
|
| 64 |
|
| 65 |
|
| 66 |
|