Upload StableDiffusionPipeline
Browse files- model_index.json +1 -1
- safety_checker/config.json +5 -5
- scheduler/scheduler_config.json +1 -1
- text_encoder/config.json +2 -2
- unet/config.json +1 -1
- vae/config.json +1 -1
model_index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "StableDiffusionPipeline",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"_name_or_path": "CompVis/stable-diffusion-v1-4",
|
| 5 |
"feature_extractor": [
|
| 6 |
"transformers",
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "StableDiffusionPipeline",
|
| 3 |
+
"_diffusers_version": "0.35.2",
|
| 4 |
"_name_or_path": "CompVis/stable-diffusion-v1-4",
|
| 5 |
"feature_extractor": [
|
| 6 |
"transformers",
|
safety_checker/config.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
"architectures": [
|
| 3 |
"StableDiffusionSafetyChecker"
|
| 4 |
],
|
|
|
|
| 5 |
"initializer_factor": 1.0,
|
| 6 |
"logit_scale_init_value": 2.6592,
|
| 7 |
"model_type": "clip",
|
|
@@ -9,6 +10,7 @@
|
|
| 9 |
"text_config": {
|
| 10 |
"attention_dropout": 0.0,
|
| 11 |
"dropout": 0.0,
|
|
|
|
| 12 |
"hidden_act": "quick_gelu",
|
| 13 |
"hidden_size": 768,
|
| 14 |
"initializer_factor": 1.0,
|
|
@@ -20,14 +22,13 @@
|
|
| 20 |
"num_attention_heads": 12,
|
| 21 |
"num_hidden_layers": 12,
|
| 22 |
"projection_dim": 512,
|
| 23 |
-
"torch_dtype": "float16",
|
| 24 |
"vocab_size": 49408
|
| 25 |
},
|
| 26 |
-
"
|
| 27 |
-
"transformers_version": "4.53.1",
|
| 28 |
"vision_config": {
|
| 29 |
"attention_dropout": 0.0,
|
| 30 |
"dropout": 0.0,
|
|
|
|
| 31 |
"hidden_act": "quick_gelu",
|
| 32 |
"hidden_size": 1024,
|
| 33 |
"image_size": 224,
|
|
@@ -40,7 +41,6 @@
|
|
| 40 |
"num_channels": 3,
|
| 41 |
"num_hidden_layers": 24,
|
| 42 |
"patch_size": 14,
|
| 43 |
-
"projection_dim": 512
|
| 44 |
-
"torch_dtype": "float16"
|
| 45 |
}
|
| 46 |
}
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"StableDiffusionSafetyChecker"
|
| 4 |
],
|
| 5 |
+
"dtype": "float16",
|
| 6 |
"initializer_factor": 1.0,
|
| 7 |
"logit_scale_init_value": 2.6592,
|
| 8 |
"model_type": "clip",
|
|
|
|
| 10 |
"text_config": {
|
| 11 |
"attention_dropout": 0.0,
|
| 12 |
"dropout": 0.0,
|
| 13 |
+
"dtype": "float16",
|
| 14 |
"hidden_act": "quick_gelu",
|
| 15 |
"hidden_size": 768,
|
| 16 |
"initializer_factor": 1.0,
|
|
|
|
| 22 |
"num_attention_heads": 12,
|
| 23 |
"num_hidden_layers": 12,
|
| 24 |
"projection_dim": 512,
|
|
|
|
| 25 |
"vocab_size": 49408
|
| 26 |
},
|
| 27 |
+
"transformers_version": "4.57.1",
|
|
|
|
| 28 |
"vision_config": {
|
| 29 |
"attention_dropout": 0.0,
|
| 30 |
"dropout": 0.0,
|
| 31 |
+
"dtype": "float16",
|
| 32 |
"hidden_act": "quick_gelu",
|
| 33 |
"hidden_size": 1024,
|
| 34 |
"image_size": 224,
|
|
|
|
| 41 |
"num_channels": 3,
|
| 42 |
"num_hidden_layers": 24,
|
| 43 |
"patch_size": 14,
|
| 44 |
+
"projection_dim": 512
|
|
|
|
| 45 |
}
|
| 46 |
}
|
scheduler/scheduler_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "PNDMScheduler",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"beta_end": 0.012,
|
| 5 |
"beta_schedule": "scaled_linear",
|
| 6 |
"beta_start": 0.00085,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "PNDMScheduler",
|
| 3 |
+
"_diffusers_version": "0.35.2",
|
| 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": 512,
|
| 21 |
-
"
|
| 22 |
-
"transformers_version": "4.53.1",
|
| 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": 512,
|
| 22 |
+
"transformers_version": "4.57.1",
|
|
|
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
unet/config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"_name_or_path": "/root/.cache/huggingface/hub/models--CompVis--stable-diffusion-v1-4/snapshots/133a221b8aa7292a167afc5127cb63fb5005638b/unet",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"addition_embed_type": null,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "UNet2DConditionModel",
|
| 3 |
+
"_diffusers_version": "0.35.2",
|
| 4 |
"_name_or_path": "/root/.cache/huggingface/hub/models--CompVis--stable-diffusion-v1-4/snapshots/133a221b8aa7292a167afc5127cb63fb5005638b/unet",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"addition_embed_type": null,
|
vae/config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKL",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"_name_or_path": "/root/.cache/huggingface/hub/models--CompVis--stable-diffusion-v1-4/snapshots/133a221b8aa7292a167afc5127cb63fb5005638b/vae",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"block_out_channels": [
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "AutoencoderKL",
|
| 3 |
+
"_diffusers_version": "0.35.2",
|
| 4 |
"_name_or_path": "/root/.cache/huggingface/hub/models--CompVis--stable-diffusion-v1-4/snapshots/133a221b8aa7292a167afc5127cb63fb5005638b/vae",
|
| 5 |
"act_fn": "silu",
|
| 6 |
"block_out_channels": [
|