rahul7star commited on
Commit
becef92
·
verified ·
1 Parent(s): 473a889

Update wan2_fast.py

Browse files
Files changed (1) hide show
  1. 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
- device = "cuda" if torch.cuda.is_available() else "cpu"
39
 
40
 
41
 
@@ -56,12 +56,11 @@ torch.cuda.empty_cache()
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])
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