Jingya HF staff commited on
Commit
1f93eeb
1 Parent(s): 2a48eda

Synchronizing local compiler cache.

Browse files
Files changed (17) hide show
  1. .gitattributes +4 -0
  2. neuronxcc-2.13.66.0+6dfecc895/0_REGISTRY/0.0.21/inference/stable-diffusion/stabilityai/stable-diffusion-2-1/432c637d174db96aab7a.json +1 -0
  3. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/feature_extractor/preprocessor_config.json +28 -0
  4. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/model_index.json +38 -0
  5. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/scheduler/scheduler_config.json +20 -0
  6. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/text_encoder/config.json +48 -0
  7. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/text_encoder/model.neuron +3 -0
  8. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/tokenizer/merges.txt +0 -0
  9. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/tokenizer/special_tokens_map.json +24 -0
  10. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/tokenizer/tokenizer_config.json +38 -0
  11. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/tokenizer/vocab.json +0 -0
  12. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/unet/config.json +129 -0
  13. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/unet/model.neuron +3 -0
  14. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/vae_decoder/config.json +61 -0
  15. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/vae_decoder/model.neuron +3 -0
  16. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/vae_encoder/config.json +61 -0
  17. neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/vae_encoder/model.neuron +3 -0
.gitattributes CHANGED
@@ -2230,3 +2230,7 @@ neuronxcc-2.13.66.0+6dfecc895/MODULE_f05383eb5cb3098f8a24/text_encoder/model.neu
2230
  neuronxcc-2.13.66.0+6dfecc895/MODULE_f05383eb5cb3098f8a24/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
2231
  neuronxcc-2.13.66.0+6dfecc895/MODULE_f05383eb5cb3098f8a24/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
2232
  neuronxcc-2.13.66.0+6dfecc895/MODULE_f05383eb5cb3098f8a24/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
2230
  neuronxcc-2.13.66.0+6dfecc895/MODULE_f05383eb5cb3098f8a24/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
2231
  neuronxcc-2.13.66.0+6dfecc895/MODULE_f05383eb5cb3098f8a24/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
2232
  neuronxcc-2.13.66.0+6dfecc895/MODULE_f05383eb5cb3098f8a24/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
2233
+ neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
2234
+ neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
2235
+ neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
2236
+ neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
neuronxcc-2.13.66.0+6dfecc895/0_REGISTRY/0.0.21/inference/stable-diffusion/stabilityai/stable-diffusion-2-1/432c637d174db96aab7a.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"model_type": "stable-diffusion", "text_encoder": {"architectures": ["CLIPTextModel"], "attention_dropout": 0.0, "dropout": 0.0, "hidden_act": "gelu", "hidden_size": 1024, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 4096, "layer_norm_eps": 1e-05, "max_position_embeddings": 77, "model_type": "clip_text_model", "neuron": {"auto_cast": "matmul", "auto_cast_type": "bf16", "compiler_type": "neuronx-cc", "compiler_version": "2.13.66.0+6dfecc895", "dynamic_batch_size": false, "inline_weights_to_neff": false, "optlevel": "2", "output_attentions": false, "output_hidden_states": false, "static_batch_size": 1, "static_sequence_length": 77}, "num_attention_heads": 16, "num_hidden_layers": 23, "task": "feature-extraction", "vocab_size": 49408}, "unet": {"_class_name": "UNet2DConditionModel", "act_fn": "silu", "addition_embed_type": null, "addition_embed_type_num_heads": 64, "addition_time_embed_dim": null, "attention_head_dim": [5, 10, 20, 20], "attention_type": "default", "block_out_channels": [320, 640, 1280, 1280], "center_input_sample": false, "class_embed_type": null, "class_embeddings_concat": false, "conv_in_kernel": 3, "conv_out_kernel": 3, "cross_attention_dim": 1024, "cross_attention_norm": null, "down_block_types": ["CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D"], "downsample_padding": 1, "dropout": 0.0, "dual_cross_attention": false, "encoder_hid_dim": null, "encoder_hid_dim_type": null, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "mid_block_only_cross_attention": null, "mid_block_scale_factor": 1, "mid_block_type": "UNetMidBlock2DCrossAttn", "neuron": {"auto_cast": "matmul", "auto_cast_type": "bf16", "compiler_type": "neuronx-cc", "compiler_version": "2.13.66.0+6dfecc895", "dynamic_batch_size": false, "inline_weights_to_neff": false, "optlevel": "2", "output_attentions": false, "output_hidden_states": false, "static_batch_size": 4, "static_height": 96, "static_num_channels": 4, "static_sequence_length": 77, "static_width": 96}, "norm_eps": 1e-05, "norm_num_groups": 32, "num_attention_heads": null, "num_class_embeds": null, "only_cross_attention": false, "out_channels": 4, "projection_class_embeddings_input_dim": null, "resnet_out_scale_factor": 1.0, "resnet_skip_time_act": false, "resnet_time_scale_shift": "default", "reverse_transformer_layers_per_block": null, "task": "semantic-segmentation", "time_cond_proj_dim": null, "time_embedding_act_fn": null, "time_embedding_dim": null, "time_embedding_type": "positional", "timestep_post_act": null, "transformer_layers_per_block": 1, "up_block_types": ["UpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D"], "upcast_attention": true, "use_linear_projection": true}}
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/feature_extractor/preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "feature_extractor_type": "CLIPFeatureExtractor",
12
+ "image_mean": [
13
+ 0.48145466,
14
+ 0.4578275,
15
+ 0.40821073
16
+ ],
17
+ "image_processor_type": "CLIPImageProcessor",
18
+ "image_std": [
19
+ 0.26862954,
20
+ 0.26130258,
21
+ 0.27577711
22
+ ],
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "shortest_edge": 224
27
+ }
28
+ }
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/model_index.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.26.3",
4
+ "_name_or_path": "stabilityai/stable-diffusion-2-1",
5
+ "feature_extractor": [
6
+ "transformers",
7
+ "CLIPImageProcessor"
8
+ ],
9
+ "image_encoder": [
10
+ null,
11
+ null
12
+ ],
13
+ "requires_safety_checker": false,
14
+ "safety_checker": [
15
+ null,
16
+ null
17
+ ],
18
+ "scheduler": [
19
+ "diffusers",
20
+ "DDIMScheduler"
21
+ ],
22
+ "text_encoder": [
23
+ "transformers",
24
+ "CLIPTextModel"
25
+ ],
26
+ "tokenizer": [
27
+ "transformers",
28
+ "CLIPTokenizer"
29
+ ],
30
+ "unet": [
31
+ "diffusers",
32
+ "UNet2DConditionModel"
33
+ ],
34
+ "vae": [
35
+ "diffusers",
36
+ "AutoencoderKL"
37
+ ]
38
+ }
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDIMScheduler",
3
+ "_diffusers_version": "0.26.3",
4
+ "beta_end": 0.012,
5
+ "beta_schedule": "scaled_linear",
6
+ "beta_start": 0.00085,
7
+ "clip_sample": false,
8
+ "clip_sample_range": 1.0,
9
+ "dynamic_thresholding_ratio": 0.995,
10
+ "num_train_timesteps": 1000,
11
+ "prediction_type": "v_prediction",
12
+ "rescale_betas_zero_snr": false,
13
+ "sample_max_value": 1.0,
14
+ "set_alpha_to_one": false,
15
+ "skip_prk_steps": true,
16
+ "steps_offset": 1,
17
+ "thresholding": false,
18
+ "timestep_spacing": "leading",
19
+ "trained_betas": null
20
+ }
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/text_encoder/config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6/text_encoder",
3
+ "architectures": [
4
+ "CLIPTextModel"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
8
+ "dropout": 0.0,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_size": 1024,
12
+ "initializer_factor": 1.0,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 77,
17
+ "model_type": "clip_text_model",
18
+ "neuron": {
19
+ "auto_cast": "matmul",
20
+ "auto_cast_type": "bf16",
21
+ "compiler_type": "neuronx-cc",
22
+ "compiler_version": "2.13.66.0+6dfecc895",
23
+ "dynamic_batch_size": false,
24
+ "inline_weights_to_neff": false,
25
+ "input_names": [
26
+ "input_ids"
27
+ ],
28
+ "model_type": "clip-text-model",
29
+ "optlevel": "2",
30
+ "output_attentions": false,
31
+ "output_hidden_states": false,
32
+ "output_names": [
33
+ "last_hidden_state",
34
+ "pooler_output"
35
+ ],
36
+ "static_batch_size": 1,
37
+ "static_sequence_length": 77
38
+ },
39
+ "num_attention_heads": 16,
40
+ "num_hidden_layers": 23,
41
+ "pad_token_id": 1,
42
+ "projection_dim": 512,
43
+ "task": "feature-extraction",
44
+ "torch_dtype": "float32",
45
+ "torchscript": true,
46
+ "transformers_version": "4.36.2",
47
+ "vocab_size": 49408
48
+ }
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/text_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff7af2820c2097bbca71649e88c83a4b30fdfcf8c70599ea647b396bbbf2aedf
3
+ size 1375256796
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "!",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "!",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49406": {
13
+ "content": "<|startoftext|>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "49407": {
21
+ "content": "<|endoftext|>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ }
28
+ },
29
+ "bos_token": "<|startoftext|>",
30
+ "clean_up_tokenization_spaces": true,
31
+ "do_lower_case": true,
32
+ "eos_token": "<|endoftext|>",
33
+ "errors": "replace",
34
+ "model_max_length": 77,
35
+ "pad_token": "!",
36
+ "tokenizer_class": "CLIPTokenizer",
37
+ "unk_token": "<|endoftext|>"
38
+ }
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/unet/config.json ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.26.3",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6/unet",
6
+ "_use_default_values": [
7
+ "attention_type",
8
+ "time_embedding_dim",
9
+ "encoder_hid_dim",
10
+ "addition_embed_type_num_heads",
11
+ "projection_class_embeddings_input_dim",
12
+ "resnet_time_scale_shift",
13
+ "class_embed_type",
14
+ "resnet_skip_time_act",
15
+ "class_embeddings_concat",
16
+ "addition_time_embed_dim",
17
+ "time_embedding_act_fn",
18
+ "transformer_layers_per_block",
19
+ "addition_embed_type",
20
+ "time_cond_proj_dim",
21
+ "resnet_out_scale_factor",
22
+ "mid_block_type",
23
+ "reverse_transformer_layers_per_block",
24
+ "time_embedding_type",
25
+ "encoder_hid_dim_type",
26
+ "conv_in_kernel",
27
+ "cross_attention_norm",
28
+ "dropout",
29
+ "num_attention_heads",
30
+ "conv_out_kernel",
31
+ "timestep_post_act",
32
+ "mid_block_only_cross_attention"
33
+ ],
34
+ "act_fn": "silu",
35
+ "addition_embed_type": null,
36
+ "addition_embed_type_num_heads": 64,
37
+ "addition_time_embed_dim": null,
38
+ "attention_head_dim": [
39
+ 5,
40
+ 10,
41
+ 20,
42
+ 20
43
+ ],
44
+ "attention_type": "default",
45
+ "block_out_channels": [
46
+ 320,
47
+ 640,
48
+ 1280,
49
+ 1280
50
+ ],
51
+ "center_input_sample": false,
52
+ "class_embed_type": null,
53
+ "class_embeddings_concat": false,
54
+ "conv_in_kernel": 3,
55
+ "conv_out_kernel": 3,
56
+ "cross_attention_dim": 1024,
57
+ "cross_attention_norm": null,
58
+ "down_block_types": [
59
+ "CrossAttnDownBlock2D",
60
+ "CrossAttnDownBlock2D",
61
+ "CrossAttnDownBlock2D",
62
+ "DownBlock2D"
63
+ ],
64
+ "downsample_padding": 1,
65
+ "dropout": 0.0,
66
+ "dual_cross_attention": false,
67
+ "encoder_hid_dim": null,
68
+ "encoder_hid_dim_type": null,
69
+ "flip_sin_to_cos": true,
70
+ "freq_shift": 0,
71
+ "in_channels": 4,
72
+ "layers_per_block": 2,
73
+ "mid_block_only_cross_attention": null,
74
+ "mid_block_scale_factor": 1,
75
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
76
+ "neuron": {
77
+ "auto_cast": "matmul",
78
+ "auto_cast_type": "bf16",
79
+ "compiler_type": "neuronx-cc",
80
+ "compiler_version": "2.13.66.0+6dfecc895",
81
+ "dynamic_batch_size": false,
82
+ "inline_weights_to_neff": false,
83
+ "input_names": [
84
+ "sample",
85
+ "timestep",
86
+ "encoder_hidden_states"
87
+ ],
88
+ "model_type": "unet",
89
+ "optlevel": "2",
90
+ "output_attentions": false,
91
+ "output_hidden_states": false,
92
+ "output_names": [
93
+ "sample"
94
+ ],
95
+ "static_batch_size": 4,
96
+ "static_height": 96,
97
+ "static_num_channels": 4,
98
+ "static_sequence_length": 77,
99
+ "static_width": 96
100
+ },
101
+ "norm_eps": 1e-05,
102
+ "norm_num_groups": 32,
103
+ "num_attention_heads": null,
104
+ "num_class_embeds": null,
105
+ "only_cross_attention": false,
106
+ "out_channels": 4,
107
+ "projection_class_embeddings_input_dim": null,
108
+ "resnet_out_scale_factor": 1.0,
109
+ "resnet_skip_time_act": false,
110
+ "resnet_time_scale_shift": "default",
111
+ "reverse_transformer_layers_per_block": null,
112
+ "sample_size": 96,
113
+ "task": "semantic-segmentation",
114
+ "time_cond_proj_dim": null,
115
+ "time_embedding_act_fn": null,
116
+ "time_embedding_dim": null,
117
+ "time_embedding_type": "positional",
118
+ "timestep_post_act": null,
119
+ "transformer_layers_per_block": 1,
120
+ "transformers_version": null,
121
+ "up_block_types": [
122
+ "UpBlock2D",
123
+ "CrossAttnUpBlock2D",
124
+ "CrossAttnUpBlock2D",
125
+ "CrossAttnUpBlock2D"
126
+ ],
127
+ "upcast_attention": true,
128
+ "use_linear_projection": true
129
+ }
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/unet/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd600a3746d191459cfdab5f4fdbf3381e0cab2b59edbc5738099d08fc0f95c1
3
+ size 4784549126
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/vae_decoder/config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.26.3",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6/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.13.66.0+6dfecc895",
32
+ "dynamic_batch_size": false,
33
+ "inline_weights_to_neff": false,
34
+ "input_names": [
35
+ "latent_sample"
36
+ ],
37
+ "model_type": "vae-decoder",
38
+ "optlevel": "2",
39
+ "output_attentions": false,
40
+ "output_hidden_states": false,
41
+ "output_names": [
42
+ "sample"
43
+ ],
44
+ "static_batch_size": 4,
45
+ "static_height": 96,
46
+ "static_num_channels": 4,
47
+ "static_width": 96
48
+ },
49
+ "norm_num_groups": 32,
50
+ "out_channels": 3,
51
+ "sample_size": 768,
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
+ }
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/vae_decoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbec6eb75652a7288942936a1a3c539c1ea678a050c1670c2dede887d5450b6c
3
+ size 1790245884
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/vae_encoder/config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.26.3",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6/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.13.66.0+6dfecc895",
32
+ "dynamic_batch_size": false,
33
+ "inline_weights_to_neff": false,
34
+ "input_names": [
35
+ "sample"
36
+ ],
37
+ "model_type": "vae-encoder",
38
+ "optlevel": "2",
39
+ "output_attentions": false,
40
+ "output_hidden_states": false,
41
+ "output_names": [
42
+ "latent_sample"
43
+ ],
44
+ "static_batch_size": 4,
45
+ "static_height": 768,
46
+ "static_num_channels": 3,
47
+ "static_width": 768
48
+ },
49
+ "norm_num_groups": 32,
50
+ "out_channels": 3,
51
+ "sample_size": 768,
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
+ }
neuronxcc-2.13.66.0+6dfecc895/MODULE_432c637d174db96aab7a/vae_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:798925d03dfe1c74eb9d3a78de051e3b928e6767fbb573b96d9b24cba6066e38
3
+ size 945046942