Commit
•
16ad0e9
1
Parent(s):
2b6e774
Adding `diffusers` weights of this model
Browse filesThis PR adds fp16 weights in safetensors format to fluently/Fluently-XL-Final
- model_index.json +2 -2
- scheduler/scheduler_config.json +17 -3
- text_encoder/config.json +1 -1
- text_encoder/model.safetensors +3 -0
- text_encoder_2/config.json +1 -1
- text_encoder_2/model.safetensors +3 -0
- tokenizer/tokenizer_config.json +20 -23
- tokenizer_2/tokenizer_config.json +28 -23
- unet/config.json +4 -1
- unet/diffusion_pytorch_model.safetensors +3 -0
- vae/config.json +4 -1
- vae/diffusion_pytorch_model.safetensors +3 -0
model_index.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionXLPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"feature_extractor": [
|
5 |
null,
|
6 |
null
|
@@ -12,7 +12,7 @@
|
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
-
"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionXLPipeline",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
"feature_extractor": [
|
5 |
null,
|
6 |
null
|
|
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
+
"EDMDPMSolverMultistepScheduler"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
scheduler/scheduler_config.json
CHANGED
@@ -1,17 +1,31 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
-
"_diffusers_version": "0.
|
|
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
|
|
|
|
|
|
8 |
"interpolation_type": "linear",
|
|
|
9 |
"num_train_timesteps": 1000,
|
10 |
"prediction_type": "epsilon",
|
|
|
11 |
"sample_max_value": 1.0,
|
12 |
"set_alpha_to_one": false,
|
|
|
|
|
|
|
|
|
13 |
"skip_prk_steps": true,
|
|
|
|
|
14 |
"steps_offset": 1,
|
|
|
15 |
"timestep_spacing": "leading",
|
16 |
-
"trained_betas": null
|
|
|
17 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "EDMDPMSolverMultistepScheduler",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"algorithm_type": "dpmsolver++",
|
5 |
"beta_end": 0.012,
|
6 |
"beta_schedule": "scaled_linear",
|
7 |
"beta_start": 0.00085,
|
8 |
"clip_sample": false,
|
9 |
+
"dynamic_thresholding_ratio": 0.995,
|
10 |
+
"euler_at_final": false,
|
11 |
+
"final_sigmas_type": "zero",
|
12 |
"interpolation_type": "linear",
|
13 |
+
"lower_order_final": true,
|
14 |
"num_train_timesteps": 1000,
|
15 |
"prediction_type": "epsilon",
|
16 |
+
"rho": 7.0,
|
17 |
"sample_max_value": 1.0,
|
18 |
"set_alpha_to_one": false,
|
19 |
+
"sigma_data": 0.5,
|
20 |
+
"sigma_max": 80.0,
|
21 |
+
"sigma_min": 0.002,
|
22 |
+
"sigma_schedule": "karras",
|
23 |
"skip_prk_steps": true,
|
24 |
+
"solver_order": 2,
|
25 |
+
"solver_type": "midpoint",
|
26 |
"steps_offset": 1,
|
27 |
+
"thresholding": false,
|
28 |
"timestep_spacing": "leading",
|
29 |
+
"trained_betas": null,
|
30 |
+
"use_karras_sigmas": false
|
31 |
}
|
text_encoder/config.json
CHANGED
@@ -19,6 +19,6 @@
|
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 768,
|
21 |
"torch_dtype": "float16",
|
22 |
-
"transformers_version": "4.
|
23 |
"vocab_size": 49408
|
24 |
}
|
|
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 768,
|
21 |
"torch_dtype": "float16",
|
22 |
+
"transformers_version": "4.41.1",
|
23 |
"vocab_size": 49408
|
24 |
}
|
text_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e92ee41d9f833c7b6bb75512bc79c25e400a9f17152b53292afda8d3389f40d3
|
3 |
+
size 246144152
|
text_encoder_2/config.json
CHANGED
@@ -19,6 +19,6 @@
|
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 1280,
|
21 |
"torch_dtype": "float16",
|
22 |
-
"transformers_version": "4.
|
23 |
"vocab_size": 49408
|
24 |
}
|
|
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 1280,
|
21 |
"torch_dtype": "float16",
|
22 |
+
"transformers_version": "4.41.1",
|
23 |
"vocab_size": 49408
|
24 |
}
|
text_encoder_2/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d1b38d284ed24dd170563bbf610642074d2ecc51010660a7c2ccb3f83164759a
|
3 |
+
size 1389382176
|
tokenizer/tokenizer_config.json
CHANGED
@@ -1,33 +1,30 @@
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
-
"
|
4 |
-
"
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
},
|
|
|
11 |
"clean_up_tokenization_spaces": true,
|
12 |
"do_lower_case": true,
|
13 |
-
"eos_token":
|
14 |
-
"__type": "AddedToken",
|
15 |
-
"content": "<|endoftext|>",
|
16 |
-
"lstrip": false,
|
17 |
-
"normalized": true,
|
18 |
-
"rstrip": false,
|
19 |
-
"single_word": false
|
20 |
-
},
|
21 |
"errors": "replace",
|
22 |
"model_max_length": 77,
|
23 |
"pad_token": "<|endoftext|>",
|
24 |
"tokenizer_class": "CLIPTokenizer",
|
25 |
-
"unk_token":
|
26 |
-
"__type": "AddedToken",
|
27 |
-
"content": "<|endoftext|>",
|
28 |
-
"lstrip": false,
|
29 |
-
"normalized": true,
|
30 |
-
"rstrip": false,
|
31 |
-
"single_word": false
|
32 |
-
}
|
33 |
}
|
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"49406": {
|
5 |
+
"content": "<|startoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
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",
|
26 |
"model_max_length": 77,
|
27 |
"pad_token": "<|endoftext|>",
|
28 |
"tokenizer_class": "CLIPTokenizer",
|
29 |
+
"unk_token": "<|endoftext|>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
tokenizer_2/tokenizer_config.json
CHANGED
@@ -1,33 +1,38 @@
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
-
"
|
4 |
-
"
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
},
|
|
|
11 |
"clean_up_tokenization_spaces": true,
|
12 |
"do_lower_case": true,
|
13 |
-
"eos_token":
|
14 |
-
"__type": "AddedToken",
|
15 |
-
"content": "<|endoftext|>",
|
16 |
-
"lstrip": false,
|
17 |
-
"normalized": true,
|
18 |
-
"rstrip": false,
|
19 |
-
"single_word": false
|
20 |
-
},
|
21 |
"errors": "replace",
|
22 |
"model_max_length": 77,
|
23 |
"pad_token": "!",
|
24 |
"tokenizer_class": "CLIPTokenizer",
|
25 |
-
"unk_token":
|
26 |
-
"__type": "AddedToken",
|
27 |
-
"content": "<|endoftext|>",
|
28 |
-
"lstrip": false,
|
29 |
-
"normalized": true,
|
30 |
-
"rstrip": false,
|
31 |
-
"single_word": false
|
32 |
-
}
|
33 |
}
|
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "!",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"49406": {
|
13 |
+
"content": "<|startoftext|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
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",
|
34 |
"model_max_length": 77,
|
35 |
"pad_token": "!",
|
36 |
"tokenizer_class": "CLIPTokenizer",
|
37 |
+
"unk_token": "<|endoftext|>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
}
|
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,
|
@@ -28,6 +29,7 @@
|
|
28 |
"CrossAttnDownBlock2D"
|
29 |
],
|
30 |
"downsample_padding": 1,
|
|
|
31 |
"dual_cross_attention": false,
|
32 |
"encoder_hid_dim": null,
|
33 |
"encoder_hid_dim_type": null,
|
@@ -48,6 +50,7 @@
|
|
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,
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.28.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,
|
|
|
29 |
"CrossAttnDownBlock2D"
|
30 |
],
|
31 |
"downsample_padding": 1,
|
32 |
+
"dropout": 0.0,
|
33 |
"dual_cross_attention": false,
|
34 |
"encoder_hid_dim": null,
|
35 |
"encoder_hid_dim_type": null,
|
|
|
50 |
"resnet_out_scale_factor": 1.0,
|
51 |
"resnet_skip_time_act": false,
|
52 |
"resnet_time_scale_shift": "default",
|
53 |
+
"reverse_transformer_layers_per_block": null,
|
54 |
"sample_size": 128,
|
55 |
"time_cond_proj_dim": null,
|
56 |
"time_embedding_act_fn": null,
|
unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a76cae4945eec355b90d3bfca73a458a2629f8c56c9ee94a90b3e5e1d38148a
|
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,
|
@@ -17,6 +18,8 @@
|
|
17 |
"force_upcast": true,
|
18 |
"in_channels": 3,
|
19 |
"latent_channels": 4,
|
|
|
|
|
20 |
"layers_per_block": 2,
|
21 |
"norm_num_groups": 32,
|
22 |
"out_channels": 3,
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"_name_or_path": "../sdxl-vae/",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
|
|
18 |
"force_upcast": true,
|
19 |
"in_channels": 3,
|
20 |
"latent_channels": 4,
|
21 |
+
"latents_mean": null,
|
22 |
+
"latents_std": null,
|
23 |
"layers_per_block": 2,
|
24 |
"norm_num_groups": 32,
|
25 |
"out_channels": 3,
|
vae/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bcb60880a46b63dea58e9bc591abe15f8350bde47b405f9c38f4be70c6161e68
|
3 |
+
size 167335342
|