Revert "build: bump versions"
Browse filesThis reverts commit ead4c11c46aee8be034a7afb01bd2d73df736fc5.
- feature_extractor/preprocessor_config.json +1 -2
- model_index.json +1 -5
- requirements.txt +19 -23
- safety_checker/config.json +4 -2
- scheduler/scheduler_config.json +1 -1
- text_encoder/config.json +5 -3
- unet/config.json +8 -3
- vae/config.json +7 -2
feature_extractor/preprocessor_config.json
CHANGED
@@ -23,8 +23,7 @@
|
|
23 |
"resample": 3,
|
24 |
"rescale_factor": 0.00392156862745098,
|
25 |
"size": {
|
26 |
-
"
|
27 |
-
"width": 224
|
28 |
},
|
29 |
"use_square_size": false
|
30 |
}
|
|
|
23 |
"resample": 3,
|
24 |
"rescale_factor": 0.00392156862745098,
|
25 |
"size": {
|
26 |
+
"shortest_edge": 224
|
|
|
27 |
},
|
28 |
"use_square_size": false
|
29 |
}
|
model_index.json
CHANGED
@@ -1,15 +1,11 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"_name_or_path": "somq/fantassified_icons_v2",
|
5 |
"feature_extractor": [
|
6 |
"transformers",
|
7 |
"CLIPFeatureExtractor"
|
8 |
],
|
9 |
-
"image_encoder": [
|
10 |
-
null,
|
11 |
-
null
|
12 |
-
],
|
13 |
"requires_safety_checker": true,
|
14 |
"safety_checker": [
|
15 |
"stable_diffusion",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.23.1",
|
4 |
"_name_or_path": "somq/fantassified_icons_v2",
|
5 |
"feature_extractor": [
|
6 |
"transformers",
|
7 |
"CLIPFeatureExtractor"
|
8 |
],
|
|
|
|
|
|
|
|
|
9 |
"requires_safety_checker": true,
|
10 |
"safety_checker": [
|
11 |
"stable_diffusion",
|
requirements.txt
CHANGED
@@ -1,46 +1,42 @@
|
|
1 |
-
accelerate==0.
|
2 |
certifi==2023.11.17
|
3 |
charset-normalizer==3.3.2
|
4 |
-
|
5 |
-
diffusers==0.24.0
|
6 |
-
docopt==0.6.2
|
7 |
filelock==3.13.1
|
8 |
-
fsspec==2023.
|
9 |
huggingface-hub==0.19.4
|
10 |
-
idna==3.
|
11 |
-
importlib-metadata==
|
12 |
Jinja2==3.1.2
|
13 |
MarkupSafe==2.1.3
|
14 |
mpmath==1.3.0
|
15 |
networkx==3.2.1
|
16 |
numpy==1.26.2
|
17 |
-
nvidia-cublas-cu12==12.3.
|
18 |
-
nvidia-cuda-cupti-cu12==12.
|
19 |
-
nvidia-cuda-nvrtc-cu12==12.
|
20 |
-
nvidia-cuda-runtime-cu12==12.
|
21 |
-
nvidia-cudnn-cu12==8.9.
|
22 |
-
nvidia-cufft-cu12==11.0.
|
23 |
-
nvidia-curand-cu12==10.3.
|
24 |
-
nvidia-cusolver-cu12==11.5.
|
25 |
-
nvidia-cusparse-cu12==12.
|
26 |
-
nvidia-nccl-cu12==2.
|
27 |
nvidia-nvjitlink-cu12==12.3.101
|
28 |
-
nvidia-nvtx-cu12==12.
|
29 |
packaging==23.2
|
30 |
Pillow==10.1.0
|
31 |
-
pip-upgrader==1.4.15
|
32 |
psutil==5.9.6
|
33 |
PyYAML==6.0.1
|
34 |
regex==2023.10.3
|
35 |
requests==2.31.0
|
36 |
-
safetensors==0.4.
|
37 |
sympy==1.12
|
38 |
-
terminaltables==3.1.10
|
39 |
tokenizers==0.15.0
|
40 |
torch==2.1.1
|
41 |
tqdm==4.66.1
|
42 |
-
transformers==4.
|
43 |
triton==2.1.0
|
44 |
-
typing_extensions==4.
|
45 |
urllib3==2.1.0
|
46 |
zipp==3.17.0
|
|
|
1 |
+
accelerate==0.24.1
|
2 |
certifi==2023.11.17
|
3 |
charset-normalizer==3.3.2
|
4 |
+
diffusers==0.23.1
|
|
|
|
|
5 |
filelock==3.13.1
|
6 |
+
fsspec==2023.10.0
|
7 |
huggingface-hub==0.19.4
|
8 |
+
idna==3.4
|
9 |
+
importlib-metadata==6.8.0
|
10 |
Jinja2==3.1.2
|
11 |
MarkupSafe==2.1.3
|
12 |
mpmath==1.3.0
|
13 |
networkx==3.2.1
|
14 |
numpy==1.26.2
|
15 |
+
nvidia-cublas-cu12==12.1.3.1
|
16 |
+
nvidia-cuda-cupti-cu12==12.1.105
|
17 |
+
nvidia-cuda-nvrtc-cu12==12.1.105
|
18 |
+
nvidia-cuda-runtime-cu12==12.1.105
|
19 |
+
nvidia-cudnn-cu12==8.9.2.26
|
20 |
+
nvidia-cufft-cu12==11.0.2.54
|
21 |
+
nvidia-curand-cu12==10.3.2.106
|
22 |
+
nvidia-cusolver-cu12==11.4.5.107
|
23 |
+
nvidia-cusparse-cu12==12.1.0.106
|
24 |
+
nvidia-nccl-cu12==2.18.1
|
25 |
nvidia-nvjitlink-cu12==12.3.101
|
26 |
+
nvidia-nvtx-cu12==12.1.105
|
27 |
packaging==23.2
|
28 |
Pillow==10.1.0
|
|
|
29 |
psutil==5.9.6
|
30 |
PyYAML==6.0.1
|
31 |
regex==2023.10.3
|
32 |
requests==2.31.0
|
33 |
+
safetensors==0.4.0
|
34 |
sympy==1.12
|
|
|
35 |
tokenizers==0.15.0
|
36 |
torch==2.1.1
|
37 |
tqdm==4.66.1
|
38 |
+
transformers==4.35.2
|
39 |
triton==2.1.0
|
40 |
+
typing_extensions==4.8.0
|
41 |
urllib3==2.1.0
|
42 |
zipp==3.17.0
|
safety_checker/config.json
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
{
|
2 |
"_commit_hash": "cb41f3a270d63d454d385fc2e4f571c487c253c5",
|
3 |
"_name_or_path": "CompVis/stable-diffusion-safety-checker",
|
4 |
-
"architectures": [
|
|
|
|
|
5 |
"initializer_factor": 1.0,
|
6 |
"logit_scale_init_value": 2.6592,
|
7 |
"model_type": "clip",
|
@@ -16,7 +18,7 @@
|
|
16 |
"num_attention_heads": 12
|
17 |
},
|
18 |
"torch_dtype": "float32",
|
19 |
-
"transformers_version": "4.
|
20 |
"vision_config": {
|
21 |
"dropout": 0.0,
|
22 |
"hidden_size": 1024,
|
|
|
1 |
{
|
2 |
"_commit_hash": "cb41f3a270d63d454d385fc2e4f571c487c253c5",
|
3 |
"_name_or_path": "CompVis/stable-diffusion-safety-checker",
|
4 |
+
"architectures": [
|
5 |
+
"StableDiffusionSafetyChecker"
|
6 |
+
],
|
7 |
"initializer_factor": 1.0,
|
8 |
"logit_scale_init_value": 2.6592,
|
9 |
"model_type": "clip",
|
|
|
18 |
"num_attention_heads": 12
|
19 |
},
|
20 |
"torch_dtype": "float32",
|
21 |
+
"transformers_version": "4.35.2",
|
22 |
"vision_config": {
|
23 |
"dropout": 0.0,
|
24 |
"hidden_size": 1024,
|
scheduler/scheduler_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "DPMSolverMultistepScheduler",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"algorithm_type": "dpmsolver++",
|
5 |
"beta_end": 0.012,
|
6 |
"beta_schedule": "scaled_linear",
|
|
|
1 |
{
|
2 |
"_class_name": "DPMSolverMultistepScheduler",
|
3 |
+
"_diffusers_version": "0.23.1",
|
4 |
"algorithm_type": "dpmsolver++",
|
5 |
"beta_end": 0.012,
|
6 |
"beta_schedule": "scaled_linear",
|
text_encoder/config.json
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
{
|
2 |
"_name_or_path": "openai/clip-vit-large-patch14",
|
3 |
-
"architectures": [
|
|
|
|
|
4 |
"attention_dropout": 0.0,
|
5 |
"bos_token_id": 0,
|
6 |
"dropout": 0.0,
|
@@ -10,7 +12,7 @@
|
|
10 |
"initializer_factor": 1.0,
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 3072,
|
13 |
-
"layer_norm_eps": 1e-
|
14 |
"max_position_embeddings": 77,
|
15 |
"model_type": "clip_text_model",
|
16 |
"num_attention_heads": 12,
|
@@ -18,6 +20,6 @@
|
|
18 |
"pad_token_id": 1,
|
19 |
"projection_dim": 768,
|
20 |
"torch_dtype": "float32",
|
21 |
-
"transformers_version": "4.
|
22 |
"vocab_size": 49408
|
23 |
}
|
|
|
1 |
{
|
2 |
"_name_or_path": "openai/clip-vit-large-patch14",
|
3 |
+
"architectures": [
|
4 |
+
"CLIPTextModel"
|
5 |
+
],
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 0,
|
8 |
"dropout": 0.0,
|
|
|
12 |
"initializer_factor": 1.0,
|
13 |
"initializer_range": 0.02,
|
14 |
"intermediate_size": 3072,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
"max_position_embeddings": 77,
|
17 |
"model_type": "clip_text_model",
|
18 |
"num_attention_heads": 12,
|
|
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.35.2",
|
24 |
"vocab_size": 49408
|
25 |
}
|
unet/config.json
CHANGED
@@ -1,13 +1,18 @@
|
|
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 |
"attention_type": "default",
|
10 |
-
"block_out_channels": [
|
|
|
|
|
|
|
|
|
|
|
11 |
"center_input_sample": false,
|
12 |
"class_embed_type": null,
|
13 |
"class_embeddings_concat": false,
|
@@ -33,7 +38,7 @@
|
|
33 |
"mid_block_only_cross_attention": null,
|
34 |
"mid_block_scale_factor": 1,
|
35 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
36 |
-
"norm_eps": 1e-
|
37 |
"norm_num_groups": 32,
|
38 |
"num_attention_heads": null,
|
39 |
"num_class_embeds": null,
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.23.1",
|
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 |
"attention_type": "default",
|
10 |
+
"block_out_channels": [
|
11 |
+
320,
|
12 |
+
640,
|
13 |
+
1280,
|
14 |
+
1280
|
15 |
+
],
|
16 |
"center_input_sample": false,
|
17 |
"class_embed_type": null,
|
18 |
"class_embeddings_concat": false,
|
|
|
38 |
"mid_block_only_cross_attention": null,
|
39 |
"mid_block_scale_factor": 1,
|
40 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
41 |
+
"norm_eps": 1e-05,
|
42 |
"norm_num_groups": 32,
|
43 |
"num_attention_heads": null,
|
44 |
"num_class_embeds": null,
|
vae/config.json
CHANGED
@@ -1,8 +1,13 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
-
"block_out_channels": [
|
|
|
|
|
|
|
|
|
|
|
6 |
"down_block_types": [
|
7 |
"DownEncoderBlock2D",
|
8 |
"DownEncoderBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.23.1",
|
4 |
"act_fn": "silu",
|
5 |
+
"block_out_channels": [
|
6 |
+
128,
|
7 |
+
256,
|
8 |
+
512,
|
9 |
+
512
|
10 |
+
],
|
11 |
"down_block_types": [
|
12 |
"DownEncoderBlock2D",
|
13 |
"DownEncoderBlock2D",
|