Skip to content

Commit 3629794

Browse files
authored
Update scripts/convert_wan_to_diffusers.py
1 parent 71fa990 commit 3629794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/convert_wan_to_diffusers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def get_args():
394394
text_encoder = UMT5EncoderModel.from_pretrained("google/umt5-xxl")
395395
tokenizer = AutoTokenizer.from_pretrained("google/umt5-xxl")
396396
scheduler = UniPCMultistepScheduler(
397-
prediction_type="flow_prediction", use_flow_sigmas=True, num_train_timesteps=1000, flow_shift=1.0
397+
prediction_type="flow_prediction", use_flow_sigmas=True, num_train_timesteps=1000, flow_shift=3.0
398398
)
399399

400400
if "I2V" in args.model_type:

0 commit comments

Comments
 (0)