Upload StableCascadePriorPipeline
Browse files- model_index.json +12 -8
- prior/config.json +10 -10
- prior/diffusion_pytorch_model.safetensors +2 -2
- text_encoder/config.json +1 -1
- text_encoder/model.safetensors +1 -1
model_index.json
CHANGED
@@ -1,12 +1,20 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.30.2",
|
4 |
-
"_name_or_path": "stabilityai/stable-cascade",
|
5 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
"diffusers",
|
7 |
"StableCascadeUNet"
|
8 |
],
|
9 |
-
"
|
10 |
"scheduler": [
|
11 |
"diffusers",
|
12 |
"DDPMWuerstchenScheduler"
|
@@ -18,9 +26,5 @@
|
|
18 |
"tokenizer": [
|
19 |
"transformers",
|
20 |
"CLIPTokenizerFast"
|
21 |
-
],
|
22 |
-
"vqgan": [
|
23 |
-
"wuerstchen",
|
24 |
-
"PaellaVQModel"
|
25 |
]
|
26 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "StableCascadePriorPipeline",
|
3 |
"_diffusers_version": "0.30.2",
|
4 |
+
"_name_or_path": "stabilityai/stable-cascade-prior",
|
5 |
+
"feature_extractor": [
|
6 |
+
"transformers",
|
7 |
+
"CLIPImageProcessor"
|
8 |
+
],
|
9 |
+
"image_encoder": [
|
10 |
+
"transformers",
|
11 |
+
"CLIPVisionModelWithProjection"
|
12 |
+
],
|
13 |
+
"prior": [
|
14 |
"diffusers",
|
15 |
"StableCascadeUNet"
|
16 |
],
|
17 |
+
"resolution_multiple": 42.67,
|
18 |
"scheduler": [
|
19 |
"diffusers",
|
20 |
"DDPMWuerstchenScheduler"
|
|
|
26 |
"tokenizer": [
|
27 |
"transformers",
|
28 |
"CLIPTokenizerFast"
|
|
|
|
|
|
|
|
|
29 |
]
|
30 |
}
|
prior/config.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
{
|
2 |
"_class_name": "StableCascadeUNet",
|
3 |
"_diffusers_version": "0.30.2",
|
4 |
-
"_name_or_path": "/
|
5 |
"block_out_channels": [
|
6 |
-
|
7 |
-
|
8 |
],
|
9 |
"block_types_per_layer": [
|
10 |
[
|
@@ -22,14 +22,14 @@
|
|
22 |
"clip_seq": 4,
|
23 |
"clip_text_in_channels": 1280,
|
24 |
"clip_text_pooled_in_channels": 1280,
|
25 |
-
"conditioning_dim":
|
26 |
"down_blocks_repeat_mappers": [
|
27 |
1,
|
28 |
1
|
29 |
],
|
30 |
"down_num_layers_per_block": [
|
31 |
-
|
32 |
-
|
33 |
],
|
34 |
"dropout": [
|
35 |
0.1,
|
@@ -39,8 +39,8 @@
|
|
39 |
"in_channels": 16,
|
40 |
"kernel_size": 3,
|
41 |
"num_attention_heads": [
|
42 |
-
|
43 |
-
|
44 |
],
|
45 |
"out_channels": 16,
|
46 |
"patch_size": 1,
|
@@ -59,7 +59,7 @@
|
|
59 |
1
|
60 |
],
|
61 |
"up_num_layers_per_block": [
|
62 |
-
|
63 |
-
|
64 |
]
|
65 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "StableCascadeUNet",
|
3 |
"_diffusers_version": "0.30.2",
|
4 |
+
"_name_or_path": "stabilityai/stable-cascade-prior",
|
5 |
"block_out_channels": [
|
6 |
+
1536,
|
7 |
+
1536
|
8 |
],
|
9 |
"block_types_per_layer": [
|
10 |
[
|
|
|
22 |
"clip_seq": 4,
|
23 |
"clip_text_in_channels": 1280,
|
24 |
"clip_text_pooled_in_channels": 1280,
|
25 |
+
"conditioning_dim": 1536,
|
26 |
"down_blocks_repeat_mappers": [
|
27 |
1,
|
28 |
1
|
29 |
],
|
30 |
"down_num_layers_per_block": [
|
31 |
+
4,
|
32 |
+
12
|
33 |
],
|
34 |
"dropout": [
|
35 |
0.1,
|
|
|
39 |
"in_channels": 16,
|
40 |
"kernel_size": 3,
|
41 |
"num_attention_heads": [
|
42 |
+
24,
|
43 |
+
24
|
44 |
],
|
45 |
"out_channels": 16,
|
46 |
"patch_size": 1,
|
|
|
59 |
1
|
60 |
],
|
61 |
"up_num_layers_per_block": [
|
62 |
+
12,
|
63 |
+
4
|
64 |
]
|
65 |
}
|
prior/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:61a01756dcaecda654074624fd5f993dbe22c7f5cb0d08887416e6c594179a6a
|
3 |
+
size 4123225040
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-cascade/snapshots/
|
3 |
"architectures": [
|
4 |
"CLIPTextModelWithProjection"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-cascade-prior/snapshots/7ca32c21c3b4d4e35bbb94fcfedfb4fa2259bd91/text_encoder",
|
3 |
"architectures": [
|
4 |
"CLIPTextModelWithProjection"
|
5 |
],
|
text_encoder/model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2778702264
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa5b2e6f4c2efc2d82e4b8312faec1a5540eabfc6415126c9a05c8436a530ef4
|
3 |
size 2778702264
|