Replace with corrected diffusers format. ai-toolkit expects model.safetensors files. Previous commit had pytorch_model.bin files.
Browse files- model_index.json +1 -1
- scheduler/scheduler_config.json +1 -1
- text_encoder/config.json +2 -2
- text_encoder/{pytorch_model.bin → model.safetensors} +2 -2
- text_encoder_2/config.json +2 -2
- text_encoder_2/{pytorch_model.bin → model.safetensors} +2 -2
- tokenizer/special_tokens_map.json +3 -9
- tokenizer/tokenizer_config.json +2 -2
- tokenizer_2/special_tokens_map.json +2 -2
- tokenizer_2/tokenizer_config.json +2 -2
- unet/config.json +2 -2
- unet/{diffusion_pytorch_model.bin → diffusion_pytorch_model.safetensors} +2 -2
- vae/config.json +2 -1
- vae/{diffusion_pytorch_model.bin → diffusion_pytorch_model.safetensors} +2 -2
model_index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "StableDiffusionXLPipeline",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"feature_extractor": [
|
| 5 |
null,
|
| 6 |
null
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "StableDiffusionXLPipeline",
|
| 3 |
+
"_diffusers_version": "0.36.0.dev0",
|
| 4 |
"feature_extractor": [
|
| 5 |
null,
|
| 6 |
null
|
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.36.0.dev0",
|
| 4 |
"beta_end": 0.012,
|
| 5 |
"beta_schedule": "scaled_linear",
|
| 6 |
"beta_start": 0.00085,
|
text_encoder/config.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
| 5 |
"attention_dropout": 0.0,
|
| 6 |
"bos_token_id": 0,
|
| 7 |
"dropout": 0.0,
|
|
|
|
| 8 |
"eos_token_id": 2,
|
| 9 |
"hidden_act": "quick_gelu",
|
| 10 |
"hidden_size": 768,
|
|
@@ -18,7 +19,6 @@
|
|
| 18 |
"num_hidden_layers": 12,
|
| 19 |
"pad_token_id": 1,
|
| 20 |
"projection_dim": 768,
|
| 21 |
-
"
|
| 22 |
-
"transformers_version": "4.51.3",
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
|
|
|
| 5 |
"attention_dropout": 0.0,
|
| 6 |
"bos_token_id": 0,
|
| 7 |
"dropout": 0.0,
|
| 8 |
+
"dtype": "float16",
|
| 9 |
"eos_token_id": 2,
|
| 10 |
"hidden_act": "quick_gelu",
|
| 11 |
"hidden_size": 768,
|
|
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
+
"transformers_version": "4.57.1",
|
|
|
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
text_encoder/{pytorch_model.bin → model.safetensors}
RENAMED
|
@@ -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:a0bc4387a2e1056f9561633887196c213c6c0180e7d65701e2236b00d12f35ff
|
| 3 |
+
size 246144152
|
text_encoder_2/config.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
| 5 |
"attention_dropout": 0.0,
|
| 6 |
"bos_token_id": 0,
|
| 7 |
"dropout": 0.0,
|
|
|
|
| 8 |
"eos_token_id": 2,
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_size": 1280,
|
|
@@ -18,7 +19,6 @@
|
|
| 18 |
"num_hidden_layers": 32,
|
| 19 |
"pad_token_id": 1,
|
| 20 |
"projection_dim": 1280,
|
| 21 |
-
"
|
| 22 |
-
"transformers_version": "4.51.3",
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
|
|
|
| 5 |
"attention_dropout": 0.0,
|
| 6 |
"bos_token_id": 0,
|
| 7 |
"dropout": 0.0,
|
| 8 |
+
"dtype": "float16",
|
| 9 |
"eos_token_id": 2,
|
| 10 |
"hidden_act": "gelu",
|
| 11 |
"hidden_size": 1280,
|
|
|
|
| 19 |
"num_hidden_layers": 32,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 1280,
|
| 22 |
+
"transformers_version": "4.57.1",
|
|
|
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
text_encoder_2/{pytorch_model.bin → model.safetensors}
RENAMED
|
@@ -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:430b1997dfeb35634e430f6f3f7ffd1ef60efe5a31e83ae51f823cada2e42996
|
| 3 |
+
size 1389382176
|
tokenizer/special_tokens_map.json
CHANGED
|
@@ -9,21 +9,15 @@
|
|
| 9 |
"eos_token": {
|
| 10 |
"content": "<|endoftext|>",
|
| 11 |
"lstrip": false,
|
| 12 |
-
"normalized":
|
| 13 |
-
"rstrip": false,
|
| 14 |
-
"single_word": false
|
| 15 |
-
},
|
| 16 |
-
"pad_token": {
|
| 17 |
-
"content": "<|endoftext|>",
|
| 18 |
-
"lstrip": false,
|
| 19 |
-
"normalized": false,
|
| 20 |
"rstrip": false,
|
| 21 |
"single_word": false
|
| 22 |
},
|
|
|
|
| 23 |
"unk_token": {
|
| 24 |
"content": "<|endoftext|>",
|
| 25 |
"lstrip": false,
|
| 26 |
-
"normalized":
|
| 27 |
"rstrip": false,
|
| 28 |
"single_word": false
|
| 29 |
}
|
|
|
|
| 9 |
"eos_token": {
|
| 10 |
"content": "<|endoftext|>",
|
| 11 |
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
"rstrip": false,
|
| 14 |
"single_word": false
|
| 15 |
},
|
| 16 |
+
"pad_token": "<|endoftext|>",
|
| 17 |
"unk_token": {
|
| 18 |
"content": "<|endoftext|>",
|
| 19 |
"lstrip": false,
|
| 20 |
+
"normalized": true,
|
| 21 |
"rstrip": false,
|
| 22 |
"single_word": false
|
| 23 |
}
|
tokenizer/tokenizer_config.json
CHANGED
|
@@ -12,14 +12,14 @@
|
|
| 12 |
"49407": {
|
| 13 |
"content": "<|endoftext|>",
|
| 14 |
"lstrip": false,
|
| 15 |
-
"normalized":
|
| 16 |
"rstrip": false,
|
| 17 |
"single_word": false,
|
| 18 |
"special": true
|
| 19 |
}
|
| 20 |
},
|
| 21 |
"bos_token": "<|startoftext|>",
|
| 22 |
-
"clean_up_tokenization_spaces":
|
| 23 |
"do_lower_case": true,
|
| 24 |
"eos_token": "<|endoftext|>",
|
| 25 |
"errors": "replace",
|
|
|
|
| 12 |
"49407": {
|
| 13 |
"content": "<|endoftext|>",
|
| 14 |
"lstrip": false,
|
| 15 |
+
"normalized": true,
|
| 16 |
"rstrip": false,
|
| 17 |
"single_word": false,
|
| 18 |
"special": true
|
| 19 |
}
|
| 20 |
},
|
| 21 |
"bos_token": "<|startoftext|>",
|
| 22 |
+
"clean_up_tokenization_spaces": true,
|
| 23 |
"do_lower_case": true,
|
| 24 |
"eos_token": "<|endoftext|>",
|
| 25 |
"errors": "replace",
|
tokenizer_2/special_tokens_map.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
| 9 |
"eos_token": {
|
| 10 |
"content": "<|endoftext|>",
|
| 11 |
"lstrip": false,
|
| 12 |
-
"normalized":
|
| 13 |
"rstrip": false,
|
| 14 |
"single_word": false
|
| 15 |
},
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
"unk_token": {
|
| 18 |
"content": "<|endoftext|>",
|
| 19 |
"lstrip": false,
|
| 20 |
-
"normalized":
|
| 21 |
"rstrip": false,
|
| 22 |
"single_word": false
|
| 23 |
}
|
|
|
|
| 9 |
"eos_token": {
|
| 10 |
"content": "<|endoftext|>",
|
| 11 |
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
"rstrip": false,
|
| 14 |
"single_word": false
|
| 15 |
},
|
|
|
|
| 17 |
"unk_token": {
|
| 18 |
"content": "<|endoftext|>",
|
| 19 |
"lstrip": false,
|
| 20 |
+
"normalized": true,
|
| 21 |
"rstrip": false,
|
| 22 |
"single_word": false
|
| 23 |
}
|
tokenizer_2/tokenizer_config.json
CHANGED
|
@@ -20,14 +20,14 @@
|
|
| 20 |
"49407": {
|
| 21 |
"content": "<|endoftext|>",
|
| 22 |
"lstrip": false,
|
| 23 |
-
"normalized":
|
| 24 |
"rstrip": false,
|
| 25 |
"single_word": false,
|
| 26 |
"special": true
|
| 27 |
}
|
| 28 |
},
|
| 29 |
"bos_token": "<|startoftext|>",
|
| 30 |
-
"clean_up_tokenization_spaces":
|
| 31 |
"do_lower_case": true,
|
| 32 |
"eos_token": "<|endoftext|>",
|
| 33 |
"errors": "replace",
|
|
|
|
| 20 |
"49407": {
|
| 21 |
"content": "<|endoftext|>",
|
| 22 |
"lstrip": false,
|
| 23 |
+
"normalized": true,
|
| 24 |
"rstrip": false,
|
| 25 |
"single_word": false,
|
| 26 |
"special": true
|
| 27 |
}
|
| 28 |
},
|
| 29 |
"bos_token": "<|startoftext|>",
|
| 30 |
+
"clean_up_tokenization_spaces": true,
|
| 31 |
"do_lower_case": true,
|
| 32 |
"eos_token": "<|endoftext|>",
|
| 33 |
"errors": "replace",
|
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,
|
|
@@ -67,6 +67,6 @@
|
|
| 67 |
"CrossAttnUpBlock2D",
|
| 68 |
"UpBlock2D"
|
| 69 |
],
|
| 70 |
-
"upcast_attention":
|
| 71 |
"use_linear_projection": true
|
| 72 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
+
"_diffusers_version": "0.36.0.dev0",
|
| 4 |
"act_fn": "silu",
|
| 5 |
"addition_embed_type": "text_time",
|
| 6 |
"addition_embed_type_num_heads": 64,
|
|
|
|
| 67 |
"CrossAttnUpBlock2D",
|
| 68 |
"UpBlock2D"
|
| 69 |
],
|
| 70 |
+
"upcast_attention": null,
|
| 71 |
"use_linear_projection": true
|
| 72 |
}
|
unet/{diffusion_pytorch_model.bin → diffusion_pytorch_model.safetensors}
RENAMED
|
@@ -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:b251cd0ece07b6c69b5eff40c6037dc901dbc84b3e67e7498ab4bf22ddcee3c4
|
| 3 |
+
size 5135149760
|
vae/config.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKL",
|
| 3 |
-
"_diffusers_version": "0.
|
|
|
|
| 4 |
"act_fn": "silu",
|
| 5 |
"block_out_channels": [
|
| 6 |
128,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKL",
|
| 3 |
+
"_diffusers_version": "0.36.0.dev0",
|
| 4 |
+
"_name_or_path": "../sdxl-vae/",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"block_out_channels": [
|
| 7 |
128,
|
vae/{diffusion_pytorch_model.bin → diffusion_pytorch_model.safetensors}
RENAMED
|
@@ -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:6353737672c94b96174cb590f711eac6edf2fcce5b6e91aa9d73c5adc589ee48
|
| 3 |
+
size 167335342
|