Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
41424466
Unverified
Commit
41424466
authored
Mar 14, 2024
by
Dhruv Nair
Committed by
GitHub
Mar 14, 2024
Browse files
[Tests] Fix incorrect constant in VAE scaling test. (#7301)
update
parent
95de1981
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/models/autoencoders/test_models_vae.py
tests/models/autoencoders/test_models_vae.py
+1
-1
No files found.
tests/models/autoencoders/test_models_vae.py
View file @
41424466
...
...
@@ -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"
,
)
assert
vae_default
.
config
.
scaling_factor
==
0.18
1
25
assert
vae_default
.
config
.
scaling_factor
==
0.182
1
5
assert
vae_default
.
config
.
sample_size
==
512
assert
vae_default
.
dtype
==
torch
.
float32
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment