Adding `diffusers` weights of this model
#1
by
jzli
- opened
- model_index.json +2 -2
- safety_checker/config.json +5 -5
- safety_checker/model.fp16.safetensors +3 -0
- safety_checker/model.safetensors +3 -0
- safety_checker/pytorch_model.bin +2 -2
- safety_checker/pytorch_model.fp16.bin +3 -0
- scheduler/scheduler_config.json +15 -4
- text_encoder/config.json +3 -2
- text_encoder/model.fp16.safetensors +3 -0
- text_encoder/model.safetensors +3 -0
- text_encoder/pytorch_model.bin +2 -2
- text_encoder/pytorch_model.fp16.bin +3 -0
- unet/config.json +2 -4
- unet/diffusion_pytorch_model.fp16.bin +3 -0
- unet/diffusion_pytorch_model.fp16.safetensors +3 -0
- unet/diffusion_pytorch_model.safetensors +3 -0
- vae/config.json +1 -2
- vae/diffusion_pytorch_model.fp16.bin +3 -0
- vae/diffusion_pytorch_model.fp16.safetensors +3 -0
- vae/diffusion_pytorch_model.safetensors +3 -0
model_index.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"feature_extractor": [
|
5 |
"transformers",
|
6 |
"CLIPFeatureExtractor"
|
@@ -12,7 +12,7 @@
|
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
-
"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.18.0.dev0",
|
4 |
"feature_extractor": [
|
5 |
"transformers",
|
6 |
"CLIPFeatureExtractor"
|
|
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
+
"DPMSolverMultistepScheduler"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
safety_checker/config.json
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
"attention_dropout": 0.0,
|
16 |
"bad_words_ids": null,
|
17 |
"begin_suppress_tokens": null,
|
18 |
-
"bos_token_id":
|
19 |
"chunk_size_feed_forward": 0,
|
20 |
"cross_attention_hidden_size": null,
|
21 |
"decoder_start_token_id": null,
|
@@ -24,7 +24,7 @@
|
|
24 |
"dropout": 0.0,
|
25 |
"early_stopping": false,
|
26 |
"encoder_no_repeat_ngram_size": 0,
|
27 |
-
"eos_token_id":
|
28 |
"exponential_decay_length_penalty": null,
|
29 |
"finetuning_task": null,
|
30 |
"forced_bos_token_id": null,
|
@@ -80,12 +80,12 @@
|
|
80 |
"top_p": 1.0,
|
81 |
"torch_dtype": null,
|
82 |
"torchscript": false,
|
83 |
-
"transformers_version": "4.
|
84 |
"typical_p": 1.0,
|
85 |
"use_bfloat16": false,
|
86 |
"vocab_size": 49408
|
87 |
},
|
88 |
-
"torch_dtype": "
|
89 |
"transformers_version": null,
|
90 |
"vision_config": {
|
91 |
"_name_or_path": "",
|
@@ -161,7 +161,7 @@
|
|
161 |
"top_p": 1.0,
|
162 |
"torch_dtype": null,
|
163 |
"torchscript": false,
|
164 |
-
"transformers_version": "4.
|
165 |
"typical_p": 1.0,
|
166 |
"use_bfloat16": false
|
167 |
}
|
|
|
15 |
"attention_dropout": 0.0,
|
16 |
"bad_words_ids": null,
|
17 |
"begin_suppress_tokens": null,
|
18 |
+
"bos_token_id": 0,
|
19 |
"chunk_size_feed_forward": 0,
|
20 |
"cross_attention_hidden_size": null,
|
21 |
"decoder_start_token_id": null,
|
|
|
24 |
"dropout": 0.0,
|
25 |
"early_stopping": false,
|
26 |
"encoder_no_repeat_ngram_size": 0,
|
27 |
+
"eos_token_id": 2,
|
28 |
"exponential_decay_length_penalty": null,
|
29 |
"finetuning_task": null,
|
30 |
"forced_bos_token_id": null,
|
|
|
80 |
"top_p": 1.0,
|
81 |
"torch_dtype": null,
|
82 |
"torchscript": false,
|
83 |
+
"transformers_version": "4.30.2",
|
84 |
"typical_p": 1.0,
|
85 |
"use_bfloat16": false,
|
86 |
"vocab_size": 49408
|
87 |
},
|
88 |
+
"torch_dtype": "float16",
|
89 |
"transformers_version": null,
|
90 |
"vision_config": {
|
91 |
"_name_or_path": "",
|
|
|
161 |
"top_p": 1.0,
|
162 |
"torch_dtype": null,
|
163 |
"torchscript": false,
|
164 |
+
"transformers_version": "4.30.2",
|
165 |
"typical_p": 1.0,
|
166 |
"use_bfloat16": false
|
167 |
}
|
safety_checker/model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08902f19b1cfebd7c989f152fc0507bef6898c706a91d666509383122324b511
|
3 |
+
size 608018440
|
safety_checker/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11cfe53105625af8c00faac32a430626641cce686454f3c39d837f14397d858b
|
3 |
+
size 1215981832
|
safety_checker/pytorch_model.bin
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:16d28f2b37109f222cdc33620fdd262102ac32112be0352a7f77e9614b35a394
|
3 |
+
size 1216064769
|
safety_checker/pytorch_model.fp16.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22ba87205445ad5def13e54919b038dcfb7321ec1c3f4b12487d4fba6036125f
|
3 |
+
size 608103564
|
scheduler/scheduler_config.json
CHANGED
@@ -1,15 +1,26 @@
|
|
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 |
"num_train_timesteps": 1000,
|
9 |
"prediction_type": "epsilon",
|
|
|
|
|
10 |
"set_alpha_to_one": false,
|
11 |
-
"
|
|
|
12 |
"steps_offset": 1,
|
|
|
13 |
"timestep_spacing": "leading",
|
14 |
-
"trained_betas": null
|
|
|
|
|
15 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "DPMSolverMultistepScheduler",
|
3 |
+
"_diffusers_version": "0.18.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 |
+
"clip_sample_range": 1.0,
|
10 |
+
"dynamic_thresholding_ratio": 0.995,
|
11 |
+
"lambda_min_clipped": -Infinity,
|
12 |
+
"lower_order_final": true,
|
13 |
"num_train_timesteps": 1000,
|
14 |
"prediction_type": "epsilon",
|
15 |
+
"rescale_betas_zero_snr": false,
|
16 |
+
"sample_max_value": 1.0,
|
17 |
"set_alpha_to_one": false,
|
18 |
+
"solver_order": 2,
|
19 |
+
"solver_type": "midpoint",
|
20 |
"steps_offset": 1,
|
21 |
+
"thresholding": false,
|
22 |
"timestep_spacing": "leading",
|
23 |
+
"trained_betas": null,
|
24 |
+
"use_karras_sigmas": false,
|
25 |
+
"variance_type": null
|
26 |
}
|
text_encoder/config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"CLIPTextModel"
|
4 |
],
|
@@ -18,7 +19,7 @@
|
|
18 |
"num_hidden_layers": 12,
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 768,
|
21 |
-
"torch_dtype": "
|
22 |
-
"transformers_version": "4.
|
23 |
"vocab_size": 49408
|
24 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "openai/clip-vit-large-patch14",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"transformers_version": "4.30.2",
|
24 |
"vocab_size": 49408
|
25 |
}
|
text_encoder/model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aeb9810d863698783befb0784f979bb2687d6dc57fe3f70d2a25ab1c67ddd712
|
3 |
+
size 246144864
|
text_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43c84274b7d38aba404f3474957d3c3513568435e7b39e143d8612e0affd2033
|
3 |
+
size 492265880
|
text_encoder/pytorch_model.bin
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:e4cbcb9d79a412c0d407276ea25e76fb91baed44225e13dfaa038bb229cefd27
|
3 |
+
size 492307041
|
text_encoder/pytorch_model.fp16.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3828673d802d82534319ca03fa690877c298a5dfe894202f605de9eca040104d
|
3 |
+
size 246187076
|
unet/config.json
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": null,
|
6 |
"addition_embed_type_num_heads": 64,
|
7 |
-
"addition_time_embed_dim": null,
|
8 |
"attention_head_dim": 8,
|
9 |
"block_out_channels": [
|
10 |
320,
|
@@ -52,13 +51,12 @@
|
|
52 |
"time_embedding_dim": null,
|
53 |
"time_embedding_type": "positional",
|
54 |
"timestep_post_act": null,
|
55 |
-
"transformer_layers_per_block": 1,
|
56 |
"up_block_types": [
|
57 |
"UpBlock2D",
|
58 |
"CrossAttnUpBlock2D",
|
59 |
"CrossAttnUpBlock2D",
|
60 |
"CrossAttnUpBlock2D"
|
61 |
],
|
62 |
-
"upcast_attention":
|
63 |
"use_linear_projection": false
|
64 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.18.0.dev0",
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": null,
|
6 |
"addition_embed_type_num_heads": 64,
|
|
|
7 |
"attention_head_dim": 8,
|
8 |
"block_out_channels": [
|
9 |
320,
|
|
|
51 |
"time_embedding_dim": null,
|
52 |
"time_embedding_type": "positional",
|
53 |
"timestep_post_act": null,
|
|
|
54 |
"up_block_types": [
|
55 |
"UpBlock2D",
|
56 |
"CrossAttnUpBlock2D",
|
57 |
"CrossAttnUpBlock2D",
|
58 |
"CrossAttnUpBlock2D"
|
59 |
],
|
60 |
+
"upcast_attention": null,
|
61 |
"use_linear_projection": false
|
62 |
}
|
unet/diffusion_pytorch_model.fp16.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba8d3195268b1d596b1078a02ee7c348d3dd7b59aa058f6a0048a995a7c60dc0
|
3 |
+
size 1719327893
|
unet/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c5bda12308bbe5531e9c5b1c4f495933f6d8cb73067f30b8af4a9ea50f300337
|
3 |
+
size 1719125304
|
unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d69002faa0407bf54ebf1ee0241dce034639bfb9c83997db0d70de9bace0969
|
3 |
+
size 3438167536
|
vae/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
@@ -14,7 +14,6 @@
|
|
14 |
"DownEncoderBlock2D",
|
15 |
"DownEncoderBlock2D"
|
16 |
],
|
17 |
-
"force_upcast": true,
|
18 |
"in_channels": 3,
|
19 |
"latent_channels": 4,
|
20 |
"layers_per_block": 2,
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.18.0.dev0",
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
|
|
14 |
"DownEncoderBlock2D",
|
15 |
"DownEncoderBlock2D"
|
16 |
],
|
|
|
17 |
"in_channels": 3,
|
18 |
"latent_channels": 4,
|
19 |
"layers_per_block": 2,
|
vae/diffusion_pytorch_model.fp16.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44915add42092106e70bffac475aae4283b5e8167a8a0c5f55ccc667ee4ebeb5
|
3 |
+
size 167405651
|
vae/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e4c08995484ee61270175e9e7a072b66a6e4eeb5f0c266667fe1f45b90daf9a
|
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:2aa1f43011b553a4cba7f37456465cdbd48aab7b54b9348b890e8058ea7683ec
|
3 |
+
size 334643268
|