Update VAE
#4
by
dn6
HF staff
- opened
- vae/config.json +22 -2
- vae/diffusion_pytorch_model.safetensors +2 -2
vae/config.json
CHANGED
@@ -1,16 +1,36 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.28.0.dev0",
|
|
|
|
|
4 |
"block_out_channels": [
|
5 |
128,
|
6 |
256,
|
7 |
512,
|
8 |
512
|
9 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"in_channels": 3,
|
11 |
"latent_channels": 16,
|
|
|
|
|
12 |
"layers_per_block": 2,
|
13 |
"norm_num_groups": 32,
|
14 |
"out_channels": 3,
|
15 |
-
"sample_size":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"_name_or_path": "../sdxl-vae/",
|
5 |
+
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
8 |
256,
|
9 |
512,
|
10 |
512
|
11 |
],
|
12 |
+
"down_block_types": [
|
13 |
+
"DownEncoderBlock2D",
|
14 |
+
"DownEncoderBlock2D",
|
15 |
+
"DownEncoderBlock2D",
|
16 |
+
"DownEncoderBlock2D"
|
17 |
+
],
|
18 |
+
"force_upcast": true,
|
19 |
"in_channels": 3,
|
20 |
"latent_channels": 16,
|
21 |
+
"latents_mean": null,
|
22 |
+
"latents_std": null,
|
23 |
"layers_per_block": 2,
|
24 |
"norm_num_groups": 32,
|
25 |
"out_channels": 3,
|
26 |
+
"sample_size": 1024,
|
27 |
+
"scaling_factor": 0.13025,
|
28 |
+
"up_block_types": [
|
29 |
+
"UpDecoderBlock2D",
|
30 |
+
"UpDecoderBlock2D",
|
31 |
+
"UpDecoderBlock2D",
|
32 |
+
"UpDecoderBlock2D"
|
33 |
+
],
|
34 |
+
"use_post_quant_conv": false,
|
35 |
+
"use_quant_conv": false
|
36 |
}
|
vae/diffusion_pytorch_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d972e5c4aa354ca9eeee7517bd8b6a7da1c2df2cdf8d657723f689ca1ad65679
|
3 |
+
size 335306212
|