diff --git a/tests/foundationals/latent_diffusion/test_schedulers.py b/tests/foundationals/latent_diffusion/test_schedulers.py index 553171a..186d88b 100644 --- a/tests/foundationals/latent_diffusion/test_schedulers.py +++ b/tests/foundationals/latent_diffusion/test_schedulers.py @@ -26,9 +26,11 @@ def test_dpm_solver_diffusers(): assert allclose(diffusers_output, refiners_output, rtol=0.01), f"outputs differ at step {step}" -def test_ddim_solver_diffusers(): +def test_ddim_diffusers(): from diffusers import DDIMScheduler # type: ignore + manual_seed(0) + diffusers_scheduler = DDIMScheduler( beta_end=0.012, beta_schedule="scaled_linear", @@ -54,6 +56,8 @@ def test_ddim_solver_diffusers(): def test_scheduler_remove_noise(): from diffusers import DDIMScheduler # type: ignore + manual_seed(0) + diffusers_scheduler = DDIMScheduler( beta_end=0.012, beta_schedule="scaled_linear",