mirror of
https://github.com/huggingface/diffusers.git
synced 2026-03-06 00:31:48 +08:00
fix calculate_shift
This commit is contained in:
@@ -141,7 +141,6 @@ def apply_schedule_shift(
|
||||
max_seq_len if max_seq_len is not None else 4096,
|
||||
base_shift if base_shift is not None else 0.5,
|
||||
max_shift if max_shift is not None else 1.15,
|
||||
exp_max if exp_max is not None else 7.0,
|
||||
)
|
||||
if is_exponential:
|
||||
mu = min(mu, math.log(exp_max))
|
||||
|
||||
Reference in New Issue
Block a user