Add fp32 weights
Browse files- model_index.json +1 -2
- scheduler/scheduler_config.json +1 -1
- text_encoder/config.json +2 -3
- text_encoder/model.fp16.safetensors +2 -2
- text_encoder/model.safetensors +3 -0
- text_encoder_2/config.json +2 -3
- text_encoder_2/model.fp16.safetensors +2 -2
- text_encoder_2/model.safetensors +3 -0
- tokenizer/tokenizer_config.json +1 -1
- unet/config.json +8 -27
- unet/diffusion_pytorch_model.safetensors +3 -0
- vae/config.json +1 -2
- vae/diffusion_pytorch_model.fp16.safetensors +1 -1
- vae/diffusion_pytorch_model.safetensors +3 -0
model_index.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionXLPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": "SDXL-Mini",
|
5 |
"force_zeros_for_empty_prompt": true,
|
6 |
"scheduler": [
|
7 |
"diffusers",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionXLPipeline",
|
3 |
+
"_diffusers_version": "0.19.0",
|
|
|
4 |
"force_zeros_for_empty_prompt": true,
|
5 |
"scheduler": [
|
6 |
"diffusers",
|
scheduler/scheduler_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "EulerDiscreteScheduler",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
|
|
1 |
{
|
2 |
"_class_name": "EulerDiscreteScheduler",
|
3 |
+
"_diffusers_version": "0.19.0",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "SDXL-Mini/text_encoder",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
@@ -19,7 +18,7 @@
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
-
"torch_dtype": "
|
23 |
-
"transformers_version": "4.
|
24 |
"vocab_size": 49408
|
25 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"CLIPTextModel"
|
4 |
],
|
|
|
18 |
"num_hidden_layers": 12,
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 768,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.29.2",
|
23 |
"vocab_size": 49408
|
24 |
}
|
text_encoder/model.fp16.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:5487ea0eee9c9a9bff8abd097908d4deff3ae1fa87b3b67397f8b9538139d447
|
3 |
+
size 246144864
|
text_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8377b1ca9d88fe06ec483dd7b3cfc62e5e8dbf8ddd252f455e79d659fa0553c5
|
3 |
+
size 492265880
|
text_encoder_2/config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "SDXL-Mini/text_encoder_2",
|
3 |
"architectures": [
|
4 |
"CLIPTextModelWithProjection"
|
5 |
],
|
@@ -19,7 +18,7 @@
|
|
19 |
"num_hidden_layers": 32,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 1280,
|
22 |
-
"torch_dtype": "
|
23 |
-
"transformers_version": "4.
|
24 |
"vocab_size": 49408
|
25 |
}
|
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"CLIPTextModelWithProjection"
|
4 |
],
|
|
|
18 |
"num_hidden_layers": 32,
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 1280,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.29.2",
|
23 |
"vocab_size": 49408
|
24 |
}
|
text_encoder_2/model.fp16.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:d3df577f6e3799c8e1bd9b40e30133710e02e8e25d0ce48cdcc790e7dfe12d6d
|
3 |
+
size 1389382880
|
text_encoder_2/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b84f413eebecbd049b72874c1df533a516510cb5a2489ae58c7e320209cf0ebe
|
3 |
+
size 2778702976
|
tokenizer/tokenizer_config.json
CHANGED
@@ -30,4 +30,4 @@
|
|
30 |
"rstrip": false,
|
31 |
"single_word": false
|
32 |
}
|
33 |
-
}
|
|
|
30 |
"rstrip": false,
|
31 |
"single_word": false
|
32 |
}
|
33 |
+
}
|
unet/config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": "SDXL-Mini/unet",
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": "text_time",
|
7 |
"addition_embed_type_num_heads": 64,
|
@@ -11,7 +10,6 @@
|
|
11 |
10,
|
12 |
20
|
13 |
],
|
14 |
-
"attention_type": "default",
|
15 |
"block_out_channels": [
|
16 |
320,
|
17 |
640,
|
@@ -30,7 +28,6 @@
|
|
30 |
"CrossAttnDownBlock2D"
|
31 |
],
|
32 |
"downsample_padding": 1,
|
33 |
-
"dropout": 0.0,
|
34 |
"dual_cross_attention": false,
|
35 |
"encoder_hid_dim": null,
|
36 |
"encoder_hid_dim_type": null,
|
@@ -51,19 +48,6 @@
|
|
51 |
"resnet_out_scale_factor": 1.0,
|
52 |
"resnet_skip_time_act": false,
|
53 |
"resnet_time_scale_shift": "default",
|
54 |
-
"reverse_transformer_layers_per_block": [
|
55 |
-
[
|
56 |
-
4,
|
57 |
-
4,
|
58 |
-
10
|
59 |
-
],
|
60 |
-
[
|
61 |
-
2,
|
62 |
-
1,
|
63 |
-
1
|
64 |
-
],
|
65 |
-
1
|
66 |
-
],
|
67 |
"sample_size": 128,
|
68 |
"time_cond_proj_dim": null,
|
69 |
"time_embedding_act_fn": null,
|
@@ -71,17 +55,14 @@
|
|
71 |
"time_embedding_type": "positional",
|
72 |
"timestep_post_act": null,
|
73 |
"transformer_layers_per_block": [
|
74 |
-
[
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
1
|
76 |
-
],
|
77 |
-
[
|
78 |
-
2,
|
79 |
-
2
|
80 |
-
],
|
81 |
-
[
|
82 |
-
4,
|
83 |
-
4
|
84 |
-
]
|
85 |
],
|
86 |
"up_block_types": [
|
87 |
"CrossAttnUpBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.19.0.dev0",
|
|
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": "text_time",
|
6 |
"addition_embed_type_num_heads": 64,
|
|
|
10 |
10,
|
11 |
20
|
12 |
],
|
|
|
13 |
"block_out_channels": [
|
14 |
320,
|
15 |
640,
|
|
|
28 |
"CrossAttnDownBlock2D"
|
29 |
],
|
30 |
"downsample_padding": 1,
|
|
|
31 |
"dual_cross_attention": false,
|
32 |
"encoder_hid_dim": null,
|
33 |
"encoder_hid_dim_type": null,
|
|
|
48 |
"resnet_out_scale_factor": 1.0,
|
49 |
"resnet_skip_time_act": false,
|
50 |
"resnet_time_scale_shift": "default",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
"sample_size": 128,
|
52 |
"time_cond_proj_dim": null,
|
53 |
"time_embedding_act_fn": null,
|
|
|
55 |
"time_embedding_type": "positional",
|
56 |
"timestep_post_act": null,
|
57 |
"transformer_layers_per_block": [
|
58 |
+
[1],
|
59 |
+
[2,2],
|
60 |
+
[4,4]
|
61 |
+
],
|
62 |
+
"reverse_transformer_layers_per_block": [
|
63 |
+
[4,4,10],
|
64 |
+
[2,1,1],
|
65 |
1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
],
|
67 |
"up_block_types": [
|
68 |
"CrossAttnUpBlock2D",
|
unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02ed8ebd0ed55aec686fcf20946d7a1659a31f9f8d9c3798cd254ba6b67434ca
|
3 |
+
size 5325459760
|
vae/config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": "SDXL-Mini/vae",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.19.0",
|
|
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
vae/diffusion_pytorch_model.fp16.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 167335342
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6353737672c94b96174cb590f711eac6edf2fcce5b6e91aa9d73c5adc589ee48
|
3 |
size 167335342
|
vae/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78f6189c8492013e3cac81637a1f657f790a237387f8a9dfd6bfa5fee28eb646
|
3 |
+
size 334643268
|