vae encoder
Browse files- .gitattributes +1 -0
- vae_encoder/config.json +61 -0
- vae_encoder/model.neuron +3 -0
.gitattributes
CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
|
|
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
37 |
+
vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
vae_encoder/config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_commit_hash": null,
|
4 |
+
"_diffusers_version": "0.25.0",
|
5 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--runwayml--stable-diffusion-inpainting/snapshots/51388a731f57604945fddd703ecb5c50e8e7b49d/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 |
+
"neuron": {
|
28 |
+
"auto_cast": "matmul",
|
29 |
+
"auto_cast_type": "bf16",
|
30 |
+
"compiler_type": "neuronx-cc",
|
31 |
+
"compiler_version": "2.12.68.0+4480452af",
|
32 |
+
"dynamic_batch_size": false,
|
33 |
+
"input_names": [
|
34 |
+
"sample"
|
35 |
+
],
|
36 |
+
"model_type": "vae-encoder",
|
37 |
+
"optlevel": "2",
|
38 |
+
"output_attentions": false,
|
39 |
+
"output_hidden_states": false,
|
40 |
+
"output_names": [
|
41 |
+
"latent_sample"
|
42 |
+
],
|
43 |
+
"static_batch_size": 1,
|
44 |
+
"static_height": 1024,
|
45 |
+
"static_num_beams": 1,
|
46 |
+
"static_num_channels": 3,
|
47 |
+
"static_width": 1024
|
48 |
+
},
|
49 |
+
"norm_num_groups": 32,
|
50 |
+
"out_channels": 3,
|
51 |
+
"sample_size": 256,
|
52 |
+
"scaling_factor": 0.18215,
|
53 |
+
"task": "semantic-segmentation",
|
54 |
+
"transformers_version": null,
|
55 |
+
"up_block_types": [
|
56 |
+
"UpDecoderBlock2D",
|
57 |
+
"UpDecoderBlock2D",
|
58 |
+
"UpDecoderBlock2D",
|
59 |
+
"UpDecoderBlock2D"
|
60 |
+
]
|
61 |
+
}
|
vae_encoder/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f1cd3eb6805df8664f3a3e6d0f204c49c8026906ae4ceb01816eb30ba1f4012
|
3 |
+
size 398106108
|