Skip to content

Commit 4142446

Browse files
authored
[Tests] Fix incorrect constant in VAE scaling test. (huggingface#7301)
update
1 parent 95de198 commit 4142446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/models/autoencoders/test_models_vae.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ def test_single_file_arguments(self):
829829
"https://huggingface.co/stabilityai/sd-vae-ft-mse-original/blob/main/vae-ft-mse-840000-ema-pruned.safetensors",
830830
)
831831

832-
assert vae_default.config.scaling_factor == 0.18125
832+
assert vae_default.config.scaling_factor == 0.18215
833833
assert vae_default.config.sample_size == 512
834834
assert vae_default.dtype == torch.float32
835835

0 commit comments

Comments
 (0)