Upload transformer/config.json with huggingface_hub
Browse files- transformer/config.json +59 -0
transformer/config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "FluxTransformer2DModel",
|
| 3 |
+
"_commit_hash": null,
|
| 4 |
+
"_diffusers_version": "0.34.0",
|
| 5 |
+
"_use_default_values": [
|
| 6 |
+
"axes_dims_rope",
|
| 7 |
+
"out_channels"
|
| 8 |
+
],
|
| 9 |
+
"attention_head_dim": 128,
|
| 10 |
+
"axes_dims_rope": [
|
| 11 |
+
16,
|
| 12 |
+
56,
|
| 13 |
+
56
|
| 14 |
+
],
|
| 15 |
+
"guidance_embeds": true,
|
| 16 |
+
"in_channels": 64,
|
| 17 |
+
"joint_attention_dim": 4096,
|
| 18 |
+
"neuron": {
|
| 19 |
+
"auto_cast": "none",
|
| 20 |
+
"auto_cast_type": "bf16",
|
| 21 |
+
"compiler_type": "neuronx-cc",
|
| 22 |
+
"compiler_version": "2.19.8089.0+8ab9f450",
|
| 23 |
+
"dynamic_batch_size": false,
|
| 24 |
+
"inline_weights_to_neff": true,
|
| 25 |
+
"input_names": [
|
| 26 |
+
"hidden_states",
|
| 27 |
+
"encoder_hidden_states",
|
| 28 |
+
"pooled_projections",
|
| 29 |
+
"timestep",
|
| 30 |
+
"guidance",
|
| 31 |
+
"image_rotary_emb"
|
| 32 |
+
],
|
| 33 |
+
"model_type": "flux-transformer-2d",
|
| 34 |
+
"optlevel": "2",
|
| 35 |
+
"output_attentions": false,
|
| 36 |
+
"output_hidden_states": false,
|
| 37 |
+
"output_names": [
|
| 38 |
+
"out_hidden_states"
|
| 39 |
+
],
|
| 40 |
+
"static_batch_size": 1,
|
| 41 |
+
"static_encoder_hidden_size": 768,
|
| 42 |
+
"static_height": 128,
|
| 43 |
+
"static_num_channels": 64,
|
| 44 |
+
"static_patch_size": 1,
|
| 45 |
+
"static_rotary_axes_dim": 128,
|
| 46 |
+
"static_sequence_length": 512,
|
| 47 |
+
"static_vae_scale_factor": 8,
|
| 48 |
+
"static_width": 128,
|
| 49 |
+
"task": "semantic-segmentation",
|
| 50 |
+
"tensor_parallel_size": 8
|
| 51 |
+
},
|
| 52 |
+
"num_attention_heads": 24,
|
| 53 |
+
"num_layers": 19,
|
| 54 |
+
"num_single_layers": 38,
|
| 55 |
+
"out_channels": null,
|
| 56 |
+
"patch_size": 1,
|
| 57 |
+
"pooled_projection_dim": 768,
|
| 58 |
+
"transformers_version": null
|
| 59 |
+
}
|