valhalla commited on
Commit
ace0359
1 Parent(s): 4a11bc2

Add `scale_factor` to vae config.

Browse files

Hey 3ee 👋,

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.

Files changed (1) hide show
  1. 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",