Jingya HF staff commited on
Commit
28cdfdf
1 Parent(s): f74222d

Synchronizing local compiler cache.

Browse files
Files changed (17) hide show
  1. .gitattributes +4 -0
  2. neuronxcc-2.12.68.0+4480452af/0_REGISTRY/0.0.21.dev0/inference/stable-diffusion/stabilityai/stable-diffusion-2-1/a158d1aa78ec6a598893.json +1 -0
  3. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/feature_extractor/preprocessor_config.json +28 -0
  4. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/model_index.json +38 -0
  5. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/scheduler/scheduler_config.json +20 -0
  6. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/text_encoder/config.json +48 -0
  7. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/text_encoder/model.neuron +3 -0
  8. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/tokenizer/merges.txt +0 -0
  9. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/tokenizer/special_tokens_map.json +24 -0
  10. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/tokenizer/tokenizer_config.json +38 -0
  11. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/tokenizer/vocab.json +0 -0
  12. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/unet/config.json +129 -0
  13. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/unet/model.neuron +3 -0
  14. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/vae_decoder/config.json +65 -0
  15. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/vae_decoder/model.neuron +3 -0
  16. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/vae_encoder/config.json +65 -0
  17. neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/vae_encoder/model.neuron +3 -0
.gitattributes CHANGED
@@ -1830,3 +1830,7 @@ neuronxcc-2.12.68.0+4480452af/MODULE_0a2a84e73bbfccb069e0/text_encoder/model.neu
1830
  neuronxcc-2.12.68.0+4480452af/MODULE_0a2a84e73bbfccb069e0/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
1831
  neuronxcc-2.12.68.0+4480452af/MODULE_0a2a84e73bbfccb069e0/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
1832
  neuronxcc-2.12.68.0+4480452af/MODULE_0a2a84e73bbfccb069e0/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
1830
  neuronxcc-2.12.68.0+4480452af/MODULE_0a2a84e73bbfccb069e0/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
1831
  neuronxcc-2.12.68.0+4480452af/MODULE_0a2a84e73bbfccb069e0/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
1832
  neuronxcc-2.12.68.0+4480452af/MODULE_0a2a84e73bbfccb069e0/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
1833
+ neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
1834
+ neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
1835
+ neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
1836
+ neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
neuronxcc-2.12.68.0+4480452af/0_REGISTRY/0.0.21.dev0/inference/stable-diffusion/stabilityai/stable-diffusion-2-1/a158d1aa78ec6a598893.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.12.68.0+4480452af", "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.12.68.0+4480452af", "dynamic_batch_size": false, "inline_weights_to_neff": false, "optlevel": "2", "output_attentions": false, "output_hidden_states": false, "static_batch_size": 1, "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.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/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.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/model_index.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.27.2",
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.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDIMScheduler",
3
+ "_diffusers_version": "0.27.2",
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.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/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.12.68.0+4480452af",
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.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/text_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bf94e9532a7443d2d97ec0d079510f0923f031aff4bd94068cea6e944b4a164
3
+ size 1375267100
neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/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.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/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.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/unet/config.json ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.27.2",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6/unet",
6
+ "_use_default_values": [
7
+ "addition_embed_type",
8
+ "cross_attention_norm",
9
+ "encoder_hid_dim_type",
10
+ "addition_embed_type_num_heads",
11
+ "class_embed_type",
12
+ "conv_in_kernel",
13
+ "dropout",
14
+ "time_embedding_type",
15
+ "mid_block_type",
16
+ "conv_out_kernel",
17
+ "timestep_post_act",
18
+ "addition_time_embed_dim",
19
+ "mid_block_only_cross_attention",
20
+ "resnet_time_scale_shift",
21
+ "num_attention_heads",
22
+ "class_embeddings_concat",
23
+ "projection_class_embeddings_input_dim",
24
+ "resnet_skip_time_act",
25
+ "encoder_hid_dim",
26
+ "time_embedding_act_fn",
27
+ "time_embedding_dim",
28
+ "transformer_layers_per_block",
29
+ "time_cond_proj_dim",
30
+ "resnet_out_scale_factor",
31
+ "reverse_transformer_layers_per_block",
32
+ "attention_type"
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.12.68.0+4480452af",
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": 1,
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.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/unet/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ce1aedadfb93ceffa9c9f07a6309f3b4e803db3c39092c45d8ac42d1671676e
3
+ size 3748598790
neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/vae_decoder/config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.27.2",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6/vae",
6
+ "_use_default_values": [
7
+ "latents_std",
8
+ "scaling_factor",
9
+ "latents_mean",
10
+ "force_upcast"
11
+ ],
12
+ "act_fn": "silu",
13
+ "block_out_channels": [
14
+ 128,
15
+ 256,
16
+ 512,
17
+ 512
18
+ ],
19
+ "down_block_types": [
20
+ "DownEncoderBlock2D",
21
+ "DownEncoderBlock2D",
22
+ "DownEncoderBlock2D",
23
+ "DownEncoderBlock2D"
24
+ ],
25
+ "force_upcast": true,
26
+ "in_channels": 3,
27
+ "latent_channels": 4,
28
+ "latents_mean": null,
29
+ "latents_std": null,
30
+ "layers_per_block": 2,
31
+ "neuron": {
32
+ "auto_cast": "matmul",
33
+ "auto_cast_type": "bf16",
34
+ "compiler_type": "neuronx-cc",
35
+ "compiler_version": "2.12.68.0+4480452af",
36
+ "dynamic_batch_size": false,
37
+ "inline_weights_to_neff": false,
38
+ "input_names": [
39
+ "latent_sample"
40
+ ],
41
+ "model_type": "vae-decoder",
42
+ "optlevel": "2",
43
+ "output_attentions": false,
44
+ "output_hidden_states": false,
45
+ "output_names": [
46
+ "sample"
47
+ ],
48
+ "static_batch_size": 1,
49
+ "static_height": 96,
50
+ "static_num_channels": 4,
51
+ "static_width": 96
52
+ },
53
+ "norm_num_groups": 32,
54
+ "out_channels": 3,
55
+ "sample_size": 768,
56
+ "scaling_factor": 0.18215,
57
+ "task": "semantic-segmentation",
58
+ "transformers_version": null,
59
+ "up_block_types": [
60
+ "UpDecoderBlock2D",
61
+ "UpDecoderBlock2D",
62
+ "UpDecoderBlock2D",
63
+ "UpDecoderBlock2D"
64
+ ]
65
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/vae_decoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc3ad4e5a9503db3ce76517bd8496c40f181990ceecdac00e9e057aac321965d
3
+ size 604023804
neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/vae_encoder/config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.27.2",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6/vae",
6
+ "_use_default_values": [
7
+ "latents_std",
8
+ "scaling_factor",
9
+ "latents_mean",
10
+ "force_upcast"
11
+ ],
12
+ "act_fn": "silu",
13
+ "block_out_channels": [
14
+ 128,
15
+ 256,
16
+ 512,
17
+ 512
18
+ ],
19
+ "down_block_types": [
20
+ "DownEncoderBlock2D",
21
+ "DownEncoderBlock2D",
22
+ "DownEncoderBlock2D",
23
+ "DownEncoderBlock2D"
24
+ ],
25
+ "force_upcast": true,
26
+ "in_channels": 3,
27
+ "latent_channels": 4,
28
+ "latents_mean": null,
29
+ "latents_std": null,
30
+ "layers_per_block": 2,
31
+ "neuron": {
32
+ "auto_cast": "matmul",
33
+ "auto_cast_type": "bf16",
34
+ "compiler_type": "neuronx-cc",
35
+ "compiler_version": "2.12.68.0+4480452af",
36
+ "dynamic_batch_size": false,
37
+ "inline_weights_to_neff": false,
38
+ "input_names": [
39
+ "sample"
40
+ ],
41
+ "model_type": "vae-encoder",
42
+ "optlevel": "2",
43
+ "output_attentions": false,
44
+ "output_hidden_states": false,
45
+ "output_names": [
46
+ "latent_sample"
47
+ ],
48
+ "static_batch_size": 1,
49
+ "static_height": 768,
50
+ "static_num_channels": 3,
51
+ "static_width": 768
52
+ },
53
+ "norm_num_groups": 32,
54
+ "out_channels": 3,
55
+ "sample_size": 768,
56
+ "scaling_factor": 0.18215,
57
+ "task": "semantic-segmentation",
58
+ "transformers_version": null,
59
+ "up_block_types": [
60
+ "UpDecoderBlock2D",
61
+ "UpDecoderBlock2D",
62
+ "UpDecoderBlock2D",
63
+ "UpDecoderBlock2D"
64
+ ]
65
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_a158d1aa78ec6a598893/vae_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b2f7ea78dab5751f5d8df2f6344e50cabfe430722fb4c33ea2988919667e775
3
+ size 338787742