Add `scale_factor` to vae config.
Browse filesHey zuleo 👋,
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
@@ -21,6 +21,7 @@
|
|
21 |
"norm_num_groups": 32,
|
22 |
"out_channels": 3,
|
23 |
"sample_size": 256,
|
|
|
24 |
"up_block_types": [
|
25 |
"UpDecoderBlock2D",
|
26 |
"UpDecoderBlock2D",
|
|
|
21 |
"norm_num_groups": 32,
|
22 |
"out_channels": 3,
|
23 |
"sample_size": 256,
|
24 |
+
"scaling_factor": 0.18215,
|
25 |
"up_block_types": [
|
26 |
"UpDecoderBlock2D",
|
27 |
"UpDecoderBlock2D",
|