Update config.json
Browse filespipeline usage for diffusers
- config.json +3 -2
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "ControlNetModel",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"act_fn": "silu",
|
| 5 |
"addition_embed_type": "text_time",
|
| 6 |
"addition_embed_type_num_heads": 64,
|
|
@@ -39,6 +39,7 @@
|
|
| 39 |
"in_channels": 4,
|
| 40 |
"layers_per_block": 2,
|
| 41 |
"mid_block_scale_factor": 1,
|
|
|
|
| 42 |
"norm_eps": 1e-05,
|
| 43 |
"norm_num_groups": 32,
|
| 44 |
"num_attention_heads": null,
|
|
@@ -51,6 +52,6 @@
|
|
| 51 |
2,
|
| 52 |
10
|
| 53 |
],
|
| 54 |
-
"upcast_attention":
|
| 55 |
"use_linear_projection": true
|
| 56 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "ControlNetModel",
|
| 3 |
+
"_diffusers_version": "0.27.2",
|
| 4 |
"act_fn": "silu",
|
| 5 |
"addition_embed_type": "text_time",
|
| 6 |
"addition_embed_type_num_heads": 64,
|
|
|
|
| 39 |
"in_channels": 4,
|
| 40 |
"layers_per_block": 2,
|
| 41 |
"mid_block_scale_factor": 1,
|
| 42 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
| 43 |
"norm_eps": 1e-05,
|
| 44 |
"norm_num_groups": 32,
|
| 45 |
"num_attention_heads": null,
|
|
|
|
| 52 |
2,
|
| 53 |
10
|
| 54 |
],
|
| 55 |
+
"upcast_attention": false,
|
| 56 |
"use_linear_projection": true
|
| 57 |
}
|