1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Fix typo when applying scheduler fix in T2V inference script

This commit is contained in:
Daniel Gu
2025-12-30 00:38:51 +01:00
parent 581f21c431
commit e1f0b7e255

View File

@@ -186,7 +186,7 @@ def main(args):
time_shift_type = pipeline.scheduler.config.time_shift_type
fixed_scheduler = FlowMatchEulerDiscreteScheduler.from_config(
pipeline.scheduler.config,
dynamic_shifting=False,
use_dynamic_shifting=False,
shift=math.exp(max_shift) if time_shift_type == "exponential" else max_shift,
)
pipeline.scheduler = fixed_scheduler