dn6 HF staff commited on
Commit
abc818b
1 Parent(s): e6b0429
README.md CHANGED
@@ -68,8 +68,6 @@ steps), SDXL (50 inference steps), SDXL Turbo (1 inference step) and Würstchen
68
 
69
  ## Code Example
70
 
71
- **⚠️ Important**: For the code below to work, you have to install `diffusers` from this branch while the PR is WIP.
72
-
73
  ```python
74
  import torch
75
  from diffusers import StableCascadeDecoderPipeline, StableCascadePriorPipeline
 
68
 
69
  ## Code Example
70
 
 
 
71
  ```python
72
  import torch
73
  from diffusers import StableCascadeDecoderPipeline, StableCascadePriorPipeline
decoder_lite/config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableCascadeUNet",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "block_out_channels": [
5
+ 320,
6
+ 576,
7
+ 1152,
8
+ 1152
9
+ ],
10
+ "block_types_per_layer": [
11
+ [
12
+ "SDCascadeResBlock",
13
+ "SDCascadeTimestepBlock"
14
+ ],
15
+ [
16
+ "SDCascadeResBlock",
17
+ "SDCascadeTimestepBlock"
18
+ ],
19
+ [
20
+ "SDCascadeResBlock",
21
+ "SDCascadeTimestepBlock",
22
+ "SDCascadeAttnBlock"
23
+ ],
24
+ [
25
+ "SDCascadeResBlock",
26
+ "SDCascadeTimestepBlock",
27
+ "SDCascadeAttnBlock"
28
+ ]
29
+ ],
30
+ "clip_image_in_channels": null,
31
+ "clip_seq": 4,
32
+ "clip_text_in_channels": null,
33
+ "clip_text_pooled_in_channels": 1280,
34
+ "conditioning_dim": 1280,
35
+ "down_blocks_repeat_mappers": [
36
+ 1,
37
+ 1,
38
+ 1,
39
+ 1
40
+ ],
41
+ "down_num_layers_per_block": [
42
+ 2,
43
+ 4,
44
+ 14,
45
+ 4
46
+ ],
47
+ "dropout": [
48
+ 0,
49
+ 0,
50
+ 0.1,
51
+ 0.1
52
+ ],
53
+ "effnet_in_channels": 16,
54
+ "in_channels": 4,
55
+ "kernel_size": 3,
56
+ "num_attention_heads": [
57
+ 0,
58
+ 9,
59
+ 18,
60
+ 18
61
+ ],
62
+ "out_channels": 4,
63
+ "patch_size": 2,
64
+ "pixel_mapper_in_channels": 3,
65
+ "self_attn": true,
66
+ "switch_level": null,
67
+ "timestep_conditioning_type": [
68
+ "sca"
69
+ ],
70
+ "timestep_ratio_embedding_dim": 64,
71
+ "up_blocks_repeat_mappers": [
72
+ 2,
73
+ 2,
74
+ 2,
75
+ 2
76
+ ],
77
+ "up_num_layers_per_block": [
78
+ 4,
79
+ 14,
80
+ 4,
81
+ 2
82
+ ]
83
+ }
decoder_lite/diffusion_pytorch_model.bf16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdf99f9972e67abfbffcd9146be83ae0fd7307789619cefa4cf4a54cd62181e6
3
+ size 1399047416
decoder_lite/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7dcb3fc8b1e3f2a1756503472043a7d6810003a418b60b08674633b20b452ffb
3
+ size 2797989648