Upload unet/config.json with huggingface_hub
Browse files- unet/config.json +5 -9
unet/config.json
CHANGED
@@ -2,10 +2,7 @@
|
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_commit_hash": null,
|
4 |
"_diffusers_version": "0.24.0",
|
5 |
-
"_name_or_path": "/home/ubuntu
|
6 |
-
"_use_default_values": [
|
7 |
-
"reverse_transformer_layers_per_block"
|
8 |
-
],
|
9 |
"act_fn": "silu",
|
10 |
"addition_embed_type": null,
|
11 |
"addition_embed_type_num_heads": 64,
|
@@ -44,7 +41,7 @@
|
|
44 |
"mid_block_scale_factor": 1,
|
45 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
46 |
"neuron": {
|
47 |
-
"auto_cast": "
|
48 |
"auto_cast_type": "bf16",
|
49 |
"compiler_type": "neuronx-cc",
|
50 |
"compiler_version": "2.11.0.35+4f5279863",
|
@@ -54,8 +51,7 @@
|
|
54 |
"input_names": [
|
55 |
"sample",
|
56 |
"timestep",
|
57 |
-
"encoder_hidden_states"
|
58 |
-
"timestep_cond"
|
59 |
],
|
60 |
"model_type": "unet",
|
61 |
"output_attentions": false,
|
@@ -81,9 +77,9 @@
|
|
81 |
"resnet_skip_time_act": false,
|
82 |
"resnet_time_scale_shift": "default",
|
83 |
"reverse_transformer_layers_per_block": null,
|
84 |
-
"sample_size":
|
85 |
"task": "semantic-segmentation",
|
86 |
-
"time_cond_proj_dim":
|
87 |
"time_embedding_act_fn": null,
|
88 |
"time_embedding_dim": null,
|
89 |
"time_embedding_type": "positional",
|
|
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_commit_hash": null,
|
4 |
"_diffusers_version": "0.24.0",
|
5 |
+
"_name_or_path": "/home/ubuntu/realtime-lcm-service/dreamshaper-8-lcm/unet",
|
|
|
|
|
|
|
6 |
"act_fn": "silu",
|
7 |
"addition_embed_type": null,
|
8 |
"addition_embed_type_num_heads": 64,
|
|
|
41 |
"mid_block_scale_factor": 1,
|
42 |
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
43 |
"neuron": {
|
44 |
+
"auto_cast": "all",
|
45 |
"auto_cast_type": "bf16",
|
46 |
"compiler_type": "neuronx-cc",
|
47 |
"compiler_version": "2.11.0.35+4f5279863",
|
|
|
51 |
"input_names": [
|
52 |
"sample",
|
53 |
"timestep",
|
54 |
+
"encoder_hidden_states"
|
|
|
55 |
],
|
56 |
"model_type": "unet",
|
57 |
"output_attentions": false,
|
|
|
77 |
"resnet_skip_time_act": false,
|
78 |
"resnet_time_scale_shift": "default",
|
79 |
"reverse_transformer_layers_per_block": null,
|
80 |
+
"sample_size": 64,
|
81 |
"task": "semantic-segmentation",
|
82 |
+
"time_cond_proj_dim": null,
|
83 |
"time_embedding_act_fn": null,
|
84 |
"time_embedding_dim": null,
|
85 |
"time_embedding_type": "positional",
|