Add `scale_factor` to vae config.
Browse filesHey FloydianSound 👋,
Your model repository seems to contain a stable diffusion checkpoint. We have just merged a [PR](https://github.com/huggingface/diffusers/pull/1860) in `diffusers` which makes `scaling_factor` (the magic 0.18215 number a config attribute of `vae`).
We strongly recommend that you merge this PR to make sure your model keeps working correctly with diffusers.
Diffusingly,
Suraj.
- vae/config.json +1 -0
vae/config.json
CHANGED
@@ -20,6 +20,7 @@
|
|
20 |
"norm_num_groups": 32,
|
21 |
"out_channels": 3,
|
22 |
"sample_size": 768,
|
|
|
23 |
"up_block_types": [
|
24 |
"UpDecoderBlock2D",
|
25 |
"UpDecoderBlock2D",
|
|
|
20 |
"norm_num_groups": 32,
|
21 |
"out_channels": 3,
|
22 |
"sample_size": 768,
|
23 |
+
"scaling_factor": 0.18215,
|
24 |
"up_block_types": [
|
25 |
"UpDecoderBlock2D",
|
26 |
"UpDecoderBlock2D",
|