fp16 weights
Browse files- safety_checker/config.json +5 -5
- safety_checker/pytorch_model.bin +2 -2
- scheduler/scheduler_config.json +3 -3
- text_encoder/config.json +3 -3
- text_encoder/pytorch_model.bin +2 -2
- tokenizer/tokenizer_config.json +1 -1
- unet/config.json +1 -1
- unet/diffusion_pytorch_model.bin +2 -2
- vae/config.json +1 -1
- vae/diffusion_pytorch_model.bin +2 -2
safety_checker/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
-
"_commit_hash":
|
3 |
-
"_name_or_path": "
|
4 |
"architectures": [
|
5 |
"StableDiffusionSafetyChecker"
|
6 |
],
|
@@ -79,7 +79,7 @@
|
|
79 |
"top_p": 1.0,
|
80 |
"torch_dtype": null,
|
81 |
"torchscript": false,
|
82 |
-
"transformers_version": "4.
|
83 |
"typical_p": 1.0,
|
84 |
"use_bfloat16": false,
|
85 |
"vocab_size": 49408
|
@@ -90,7 +90,7 @@
|
|
90 |
"num_attention_heads": 12,
|
91 |
"num_hidden_layers": 12
|
92 |
},
|
93 |
-
"torch_dtype": "
|
94 |
"transformers_version": null,
|
95 |
"vision_config": {
|
96 |
"_name_or_path": "",
|
@@ -165,7 +165,7 @@
|
|
165 |
"top_p": 1.0,
|
166 |
"torch_dtype": null,
|
167 |
"torchscript": false,
|
168 |
-
"transformers_version": "4.
|
169 |
"typical_p": 1.0,
|
170 |
"use_bfloat16": false
|
171 |
},
|
|
|
1 |
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"_name_or_path": "./AltDiffusion/safety_checker",
|
4 |
"architectures": [
|
5 |
"StableDiffusionSafetyChecker"
|
6 |
],
|
|
|
79 |
"top_p": 1.0,
|
80 |
"torch_dtype": null,
|
81 |
"torchscript": false,
|
82 |
+
"transformers_version": "4.23.1",
|
83 |
"typical_p": 1.0,
|
84 |
"use_bfloat16": false,
|
85 |
"vocab_size": 49408
|
|
|
90 |
"num_attention_heads": 12,
|
91 |
"num_hidden_layers": 12
|
92 |
},
|
93 |
+
"torch_dtype": "float16",
|
94 |
"transformers_version": null,
|
95 |
"vision_config": {
|
96 |
"_name_or_path": "",
|
|
|
165 |
"top_p": 1.0,
|
166 |
"torch_dtype": null,
|
167 |
"torchscript": false,
|
168 |
+
"transformers_version": "4.23.1",
|
169 |
"typical_p": 1.0,
|
170 |
"use_bfloat16": false
|
171 |
},
|
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:70b4ace4d3096de0a0c6d3574377bbaa17c6338daa9c728ea32f9cfd80a8907c
|
3 |
+
size 608101569
|
scheduler/scheduler_config.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
{
|
2 |
"_class_name": "PNDMScheduler",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
|
|
7 |
"num_train_timesteps": 1000,
|
8 |
"set_alpha_to_one": false,
|
9 |
"skip_prk_steps": true,
|
10 |
"steps_offset": 1,
|
11 |
-
"trained_betas": null
|
12 |
-
"clip_sample": false
|
13 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "PNDMScheduler",
|
3 |
+
"_diffusers_version": "0.8.0.dev0",
|
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 |
"set_alpha_to_one": false,
|
10 |
"skip_prk_steps": true,
|
11 |
"steps_offset": 1,
|
12 |
+
"trained_betas": null
|
|
|
13 |
}
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"RobertaSeriesModelWithTransformation"
|
5 |
],
|
@@ -23,8 +23,8 @@
|
|
23 |
"pooler_fn": "cls",
|
24 |
"position_embedding_type": "absolute",
|
25 |
"project_dim": 768,
|
26 |
-
"torch_dtype": "
|
27 |
-
"transformers_version": "4.
|
28 |
"type_vocab_size": 1,
|
29 |
"use_attention_mask": true,
|
30 |
"use_cache": true,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./AltDiffusion/text_encoder",
|
3 |
"architectures": [
|
4 |
"RobertaSeriesModelWithTransformation"
|
5 |
],
|
|
|
23 |
"pooler_fn": "cls",
|
24 |
"position_embedding_type": "absolute",
|
25 |
"project_dim": 768,
|
26 |
+
"torch_dtype": "float16",
|
27 |
+
"transformers_version": "4.23.1",
|
28 |
"type_vocab_size": 1,
|
29 |
"use_attention_mask": true,
|
30 |
"use_cache": true,
|
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:ca6def2aab8425a75e78318298e715bcd6ba8366646b0778bd1a1ddc9661ca4a
|
3 |
+
size 1121489845
|
tokenizer/tokenizer_config.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
"single_word": false
|
12 |
},
|
13 |
"model_max_length": 77,
|
14 |
-
"name_or_path": "
|
15 |
"pad_token": "<pad>",
|
16 |
"sep_token": "</s>",
|
17 |
"sp_model_kwargs": {},
|
|
|
11 |
"single_word": false
|
12 |
},
|
13 |
"model_max_length": 77,
|
14 |
+
"name_or_path": "./AltDiffusion/tokenizer",
|
15 |
"pad_token": "<pad>",
|
16 |
"sep_token": "</s>",
|
17 |
"sp_model_kwargs": {},
|
unet/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.8.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
6 |
"attention_head_dim": 8,
|
7 |
"block_out_channels": [
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.8.0.dev0",
|
4 |
+
"_name_or_path": "./AltDiffusion/unet",
|
5 |
"act_fn": "silu",
|
6 |
"attention_head_dim": 8,
|
7 |
"block_out_channels": [
|
unet/diffusion_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:bac854229d5b1b459eb5dfd0ca88827d943abfa82c095aec4ba232f94d378db4
|
3 |
+
size 1719324453
|
vae/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.8.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.8.0.dev0",
|
4 |
+
"_name_or_path": "./AltDiffusion/vae",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
vae/diffusion_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:f6e817ec7c5c6641c0000a1a7fc7893f6625251131f33f7bb034c55e5d949455
|
3 |
+
size 167404145
|