rahul7star commited on
Commit
49decff
·
verified ·
1 Parent(s): 9282365

Update wan2_fast.py

Browse files
Files changed (1) hide show
  1. wan2_fast.py +4 -4
wan2_fast.py CHANGED
@@ -45,10 +45,10 @@ pipe = WanPipeline.from_pretrained(
45
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config, flow_shift=8.0)
46
  pipe.to("cuda")
47
 
48
- causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
49
- pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
50
- pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
51
- pipe.fuse_lora()
52
 
53
  # MOD_VALUE = 32
54
  # DEFAULT_H_SLIDER_VALUE = 512
 
45
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config, flow_shift=8.0)
46
  pipe.to("cuda")
47
 
48
+ # causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
49
+ # pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
50
+ # pipe.set_adapters(["causvid_lora"], adapter_weights=[0.95])
51
+ # pipe.fuse_lora()
52
 
53
  # MOD_VALUE = 32
54
  # DEFAULT_H_SLIDER_VALUE = 512