lcm_neuron / vae_encoder /config.json
erwann's picture
Upload vae_encoder/config.json with huggingface_hub
2ed31fd
{
"_class_name": "AutoencoderKL",
"_commit_hash": null,
"_diffusers_version": "0.24.0",
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--SimianLuo--LCM_Dreamshaper_v7/snapshots/4721097975058205c4edcdece2cc574b7dd7bc04/vae",
"act_fn": "silu",
"block_out_channels": [
128,
256,
512,
512
],
"down_block_types": [
"DownEncoderBlock2D",
"DownEncoderBlock2D",
"DownEncoderBlock2D",
"DownEncoderBlock2D"
],
"force_upcast": true,
"in_channels": 3,
"latent_channels": 4,
"layers_per_block": 2,
"neuron": {
"auto_cast": "all",
"auto_cast_type": "fp16",
"compiler_type": "neuronx-cc",
"compiler_version": "2.11.0.35+4f5279863",
"disable_fallback": false,
"disable_fast_relayout": false,
"dynamic_batch_size": false,
"input_names": [
"sample"
],
"model_type": "vae-encoder",
"output_attentions": false,
"output_hidden_states": false,
"output_names": [
"latent_sample"
],
"static_batch_size": 1,
"static_height": 512,
"static_num_beams": 1,
"static_num_channels": 3,
"static_width": 512
},
"norm_num_groups": 32,
"out_channels": 3,
"sample_size": 768,
"scaling_factor": 0.18215,
"task": "semantic-segmentation",
"transformers_version": null,
"up_block_types": [
"UpDecoderBlock2D",
"UpDecoderBlock2D",
"UpDecoderBlock2D",
"UpDecoderBlock2D"
]
}