Skip to content

Commit 7529de6

Browse files
committed
epsilon clamping
1 parent b23a2c1 commit 7529de6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxdiffusion/schedulers/scheduling_unipc_multistep_flax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def multistep_uni_p_bh_update(
387387
lambda_s0 = jnp.log(alpha_s0 + 1e-10) - jnp.log(sigma_s0 + 1e-10)
388388
check_nan_jit(lambda_s0, "P lambda_s0", step)
389389

390-
h = jnp.clip(lambda_t - lambda_s0, -20.0, 20.0)
390+
h = lambda_t - lambda_s0
391391
check_nan_jit(h, "P h", step)
392392

393393
def rk_d1_loop_body(i, carry):

0 commit comments

Comments
 (0)