Unverified Commit 41424466 authored by Dhruv Nair's avatar Dhruv Nair Committed by GitHub
Browse files

[Tests] Fix incorrect constant in VAE scaling test. (#7301)

update
parent 95de1981
...@@ -829,7 +829,7 @@ class AutoencoderKLIntegrationTests(unittest.TestCase): ...@@ -829,7 +829,7 @@ class AutoencoderKLIntegrationTests(unittest.TestCase):
"https://huggingface.co/stabilityai/sd-vae-ft-mse-original/blob/main/vae-ft-mse-840000-ema-pruned.safetensors", "https://huggingface.co/stabilityai/sd-vae-ft-mse-original/blob/main/vae-ft-mse-840000-ema-pruned.safetensors",
) )
assert vae_default.config.scaling_factor == 0.18125 assert vae_default.config.scaling_factor == 0.18215
assert vae_default.config.sample_size == 512 assert vae_default.config.sample_size == 512
assert vae_default.dtype == torch.float32 assert vae_default.dtype == torch.float32
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment