valhalla commited on
Commit
5edd180
1 Parent(s): 0a6a2ea

Add `scale_factor` to vae config.

Browse files

Hey flax 👋,

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
@@ -20,6 +20,7 @@
20
  "norm_num_groups": 32,
21
  "out_channels": 3,
22
  "sample_size": 256,
 
23
  "up_block_types": [
24
  "UpDecoderBlock2D",
25
  "UpDecoderBlock2D",
 
20
  "norm_num_groups": 32,
21
  "out_channels": 3,
22
  "sample_size": 256,
23
+ "scaling_factor": 0.18215,
24
  "up_block_types": [
25
  "UpDecoderBlock2D",
26
  "UpDecoderBlock2D",