Commit 
							
							·
						
						c15c7ba
	
1
								Parent(s):
							
							aed9ccc
								
Upload vae_encoder/config.json with huggingface_hub
Browse files- vae_encoder/config.json +56 -0
 
    	
        vae_encoder/config.json
    ADDED
    
    | 
         @@ -0,0 +1,56 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "_class_name": "AutoencoderKL",
         
     | 
| 3 | 
         
            +
              "_commit_hash": null,
         
     | 
| 4 | 
         
            +
              "_diffusers_version": "0.20.2",
         
     | 
| 5 | 
         
            +
              "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1-base/snapshots/5ede9e4bf3e3fd1cb0ef2f7a3fff13ee514fdf06/vae",
         
     | 
| 6 | 
         
            +
              "_use_default_values": [
         
     | 
| 7 | 
         
            +
                "scaling_factor",
         
     | 
| 8 | 
         
            +
                "force_upcast"
         
     | 
| 9 | 
         
            +
              ],
         
     | 
| 10 | 
         
            +
              "act_fn": "silu",
         
     | 
| 11 | 
         
            +
              "block_out_channels": [
         
     | 
| 12 | 
         
            +
                128,
         
     | 
| 13 | 
         
            +
                256,
         
     | 
| 14 | 
         
            +
                512,
         
     | 
| 15 | 
         
            +
                512
         
     | 
| 16 | 
         
            +
              ],
         
     | 
| 17 | 
         
            +
              "down_block_types": [
         
     | 
| 18 | 
         
            +
                "DownEncoderBlock2D",
         
     | 
| 19 | 
         
            +
                "DownEncoderBlock2D",
         
     | 
| 20 | 
         
            +
                "DownEncoderBlock2D",
         
     | 
| 21 | 
         
            +
                "DownEncoderBlock2D"
         
     | 
| 22 | 
         
            +
              ],
         
     | 
| 23 | 
         
            +
              "force_upcast": true,
         
     | 
| 24 | 
         
            +
              "in_channels": 3,
         
     | 
| 25 | 
         
            +
              "latent_channels": 4,
         
     | 
| 26 | 
         
            +
              "layers_per_block": 2,
         
     | 
| 27 | 
         
            +
              "model_type": "vae-encoder",
         
     | 
| 28 | 
         
            +
              "neuron": {
         
     | 
| 29 | 
         
            +
                "auto_cast": "matmul",
         
     | 
| 30 | 
         
            +
                "auto_cast_type": "bf16",
         
     | 
| 31 | 
         
            +
                "compiler_type": "neuronx-cc",
         
     | 
| 32 | 
         
            +
                "compiler_version": "2.9.0.40+07376825f",
         
     | 
| 33 | 
         
            +
                "dynamic_batch_size": false,
         
     | 
| 34 | 
         
            +
                "input_names": [
         
     | 
| 35 | 
         
            +
                  "sample"
         
     | 
| 36 | 
         
            +
                ],
         
     | 
| 37 | 
         
            +
                "output_names": [
         
     | 
| 38 | 
         
            +
                  "latent_sample"
         
     | 
| 39 | 
         
            +
                ],
         
     | 
| 40 | 
         
            +
                "static_batch_size": 1,
         
     | 
| 41 | 
         
            +
                "static_height": 64,
         
     | 
| 42 | 
         
            +
                "static_num_channels": 3,
         
     | 
| 43 | 
         
            +
                "static_width": 64
         
     | 
| 44 | 
         
            +
              },
         
     | 
| 45 | 
         
            +
              "norm_num_groups": 32,
         
     | 
| 46 | 
         
            +
              "out_channels": 3,
         
     | 
| 47 | 
         
            +
              "sample_size": 768,
         
     | 
| 48 | 
         
            +
              "scaling_factor": 0.18215,
         
     | 
| 49 | 
         
            +
              "transformers_version": null,
         
     | 
| 50 | 
         
            +
              "up_block_types": [
         
     | 
| 51 | 
         
            +
                "UpDecoderBlock2D",
         
     | 
| 52 | 
         
            +
                "UpDecoderBlock2D",
         
     | 
| 53 | 
         
            +
                "UpDecoderBlock2D",
         
     | 
| 54 | 
         
            +
                "UpDecoderBlock2D"
         
     | 
| 55 | 
         
            +
              ]
         
     | 
| 56 | 
         
            +
            }
         
     |