Adding `diffusers` weights of this model
Browse filesThis PR adds fp32 and fp16 weights in safetensors format to linaqruf/animagine-xl
- model_index.json +1 -1
- scheduler/scheduler_config.json +1 -1
- text_encoder/config.json +2 -3
- text_encoder/model.fp16.safetensors +3 -0
- text_encoder/model.safetensors +2 -2
- text_encoder_2/config.json +2 -3
- text_encoder_2/model.fp16.safetensors +3 -0
- text_encoder_2/model.safetensors +2 -2
- unet/config.json +3 -2
- unet/diffusion_pytorch_model.fp16.safetensors +3 -0
- vae/config.json +3 -3
- vae/diffusion_pytorch_model.fp16.safetensors +3 -0
- vae/diffusion_pytorch_model.safetensors +1 -1
model_index.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionXLPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"force_zeros_for_empty_prompt": true,
|
5 |
"scheduler": [
|
6 |
"diffusers",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionXLPipeline",
|
3 |
+
"_diffusers_version": "0.21.0.dev0",
|
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.21.0.dev0",
|
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": null,
|
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": "float16",
|
22 |
+
"transformers_version": "4.31.0",
|
23 |
"vocab_size": 49408
|
24 |
}
|
text_encoder/model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:660c6f5b1abae9dc498ac2d21e1347d2abdb0cf6c0c0c8576cd796491d9a6cdd
|
3 |
+
size 246144152
|
text_encoder/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:5c3d6454dd2d23414b56aa1b5858a72487a656937847b6fea8d0606d7a42cdbc
|
3 |
+
size 492265168
|
text_encoder_2/config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": null,
|
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": "float16",
|
22 |
+
"transformers_version": "4.31.0",
|
23 |
"vocab_size": 49408
|
24 |
}
|
text_encoder_2/model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec310df2af79c318e24d20511b601a591ca8cd4f1fce1d8dff822a356bcdb1f4
|
3 |
+
size 1389382176
|
text_encoder_2/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:3a6032f63d37ae02bbc74ccd6a27440578cd71701f96532229d0154f55a8d3ff
|
3 |
+
size 2778702264
|
unet/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": "text_time",
|
6 |
"addition_embed_type_num_heads": 64,
|
@@ -10,6 +10,7 @@
|
|
10 |
10,
|
11 |
20
|
12 |
],
|
|
|
13 |
"block_out_channels": [
|
14 |
320,
|
15 |
640,
|
@@ -64,6 +65,6 @@
|
|
64 |
"CrossAttnUpBlock2D",
|
65 |
"UpBlock2D"
|
66 |
],
|
67 |
-
"upcast_attention":
|
68 |
"use_linear_projection": true
|
69 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.21.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 |
+
"attention_type": "default",
|
14 |
"block_out_channels": [
|
15 |
320,
|
16 |
640,
|
|
|
65 |
"CrossAttnUpBlock2D",
|
66 |
"UpBlock2D"
|
67 |
],
|
68 |
+
"upcast_attention": null,
|
69 |
"use_linear_projection": true
|
70 |
}
|
unet/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17366fdde1112788927e2e2567d8c1c2f7f603fc51a15450296432b4e445d5a6
|
3 |
+
size 5135149760
|
vae/config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": ".",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
@@ -15,6 +14,7 @@
|
|
15 |
"DownEncoderBlock2D",
|
16 |
"DownEncoderBlock2D"
|
17 |
],
|
|
|
18 |
"in_channels": 3,
|
19 |
"latent_channels": 4,
|
20 |
"layers_per_block": 2,
|
@@ -28,4 +28,4 @@
|
|
28 |
"UpDecoderBlock2D",
|
29 |
"UpDecoderBlock2D"
|
30 |
]
|
31 |
-
}
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.21.0.dev0",
|
|
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
|
|
14 |
"DownEncoderBlock2D",
|
15 |
"DownEncoderBlock2D"
|
16 |
],
|
17 |
+
"force_upcast": true,
|
18 |
"in_channels": 3,
|
19 |
"latent_channels": 4,
|
20 |
"layers_per_block": 2,
|
|
|
28 |
"UpDecoderBlock2D",
|
29 |
"UpDecoderBlock2D"
|
30 |
]
|
31 |
+
}
|
vae/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bcb60880a46b63dea58e9bc591abe15f8350bde47b405f9c38f4be70c6161e68
|
3 |
+
size 167335342
|
vae/diffusion_pytorch_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 334643268
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8aef7b00195ec3fa8caaa3434e7516eff7d658e1d30eafc9ad6b0e66e9e827e
|
3 |
size 334643268
|