dacorvo HF Staff commited on
Commit
1155dbb
·
verified ·
1 Parent(s): 38cb16e

Synchronizing local compiler cache.

Browse files
Files changed (17) hide show
  1. .gitattributes +4 -0
  2. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.1.dev6/stable-diffusion/stabilityai/stable-diffusion-2-1/d20889d22e9dcc854fdf.json +136 -0
  3. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/feature_extractor/preprocessor_config.json +27 -0
  4. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/model_index.json +38 -0
  5. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/scheduler/scheduler_config.json +20 -0
  6. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/text_encoder/config.json +53 -0
  7. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/text_encoder/model.neuron +3 -0
  8. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/tokenizer/merges.txt +0 -0
  9. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/tokenizer/special_tokens_map.json +24 -0
  10. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/tokenizer/tokenizer_config.json +39 -0
  11. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/tokenizer/vocab.json +0 -0
  12. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/unet/config.json +133 -0
  13. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/unet/model.neuron +3 -0
  14. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/vae_decoder/config.json +76 -0
  15. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/vae_decoder/model.neuron +3 -0
  16. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/vae_encoder/config.json +76 -0
  17. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/vae_encoder/model.neuron +3 -0
.gitattributes CHANGED
@@ -11058,3 +11058,7 @@ neuronxcc-2.19.8089.0+8ab9f450/MODULE_5563303353531456289+5860ac52/model.neff fi
11058
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_5611730803376710915+5860ac52/model.neff filter=lfs diff=lfs merge=lfs -text
11059
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_786005553124601140+5860ac52/model.neff filter=lfs diff=lfs merge=lfs -text
11060
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_929573909463611835+5860ac52/model.neff filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
11058
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_5611730803376710915+5860ac52/model.neff filter=lfs diff=lfs merge=lfs -text
11059
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_786005553124601140+5860ac52/model.neff filter=lfs diff=lfs merge=lfs -text
11060
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_929573909463611835+5860ac52/model.neff filter=lfs diff=lfs merge=lfs -text
11061
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
11062
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
11063
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
11064
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.1.dev6/stable-diffusion/stabilityai/stable-diffusion-2-1/d20889d22e9dcc854fdf.json ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "MultiModelCacheEntry",
3
+ "_model_id": "stabilityai/stable-diffusion-2-1",
4
+ "_task": null,
5
+ "text_encoder": {
6
+ "architectures": [
7
+ "CLIPTextModel"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "dropout": 0.0,
11
+ "export_model_type": "clip-text-model",
12
+ "hidden_act": "gelu",
13
+ "hidden_size": 1024,
14
+ "initializer_factor": 1.0,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 4096,
17
+ "layer_norm_eps": 1e-05,
18
+ "max_position_embeddings": 77,
19
+ "model_type": "clip_text_model",
20
+ "neuron": {
21
+ "auto_cast": "matmul",
22
+ "auto_cast_type": "bf16",
23
+ "compiler_type": "neuronx-cc",
24
+ "compiler_version": "2.19.8089.0+8ab9f450",
25
+ "cpu_backend": false,
26
+ "dynamic_batch_size": false,
27
+ "float_dtype": "fp32",
28
+ "inline_weights_to_neff": false,
29
+ "int_dtype": "int64",
30
+ "optlevel": "2",
31
+ "output_attentions": false,
32
+ "output_hidden_states": false,
33
+ "static_batch_size": 1,
34
+ "static_sequence_length": 77,
35
+ "task": "feature-extraction",
36
+ "tensor_parallel_size": 1
37
+ },
38
+ "num_attention_heads": 16,
39
+ "num_hidden_layers": 23,
40
+ "return_dict": false,
41
+ "vocab_size": 49408
42
+ },
43
+ "unet": {
44
+ "_class_name": "UNet2DConditionModel",
45
+ "act_fn": "silu",
46
+ "addition_embed_type": null,
47
+ "addition_embed_type_num_heads": 64,
48
+ "addition_time_embed_dim": null,
49
+ "attention_head_dim": [
50
+ 5,
51
+ 10,
52
+ 20,
53
+ 20
54
+ ],
55
+ "attention_type": "default",
56
+ "block_out_channels": [
57
+ 320,
58
+ 640,
59
+ 1280,
60
+ 1280
61
+ ],
62
+ "center_input_sample": false,
63
+ "class_embed_type": null,
64
+ "class_embeddings_concat": false,
65
+ "conv_in_kernel": 3,
66
+ "conv_out_kernel": 3,
67
+ "cross_attention_dim": 1024,
68
+ "cross_attention_norm": null,
69
+ "down_block_types": [
70
+ "CrossAttnDownBlock2D",
71
+ "CrossAttnDownBlock2D",
72
+ "CrossAttnDownBlock2D",
73
+ "DownBlock2D"
74
+ ],
75
+ "downsample_padding": 1,
76
+ "dropout": 0.0,
77
+ "dual_cross_attention": false,
78
+ "encoder_hid_dim": null,
79
+ "encoder_hid_dim_type": null,
80
+ "flip_sin_to_cos": true,
81
+ "freq_shift": 0,
82
+ "in_channels": 4,
83
+ "layers_per_block": 2,
84
+ "mid_block_only_cross_attention": null,
85
+ "mid_block_scale_factor": 1,
86
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
87
+ "neuron": {
88
+ "auto_cast": "matmul",
89
+ "auto_cast_type": "bf16",
90
+ "compiler_type": "neuronx-cc",
91
+ "compiler_version": "2.19.8089.0+8ab9f450",
92
+ "cpu_backend": false,
93
+ "dynamic_batch_size": false,
94
+ "float_dtype": "fp32",
95
+ "inline_weights_to_neff": false,
96
+ "int_dtype": "int64",
97
+ "optlevel": "2",
98
+ "output_attentions": false,
99
+ "output_hidden_states": false,
100
+ "static_batch_size": 1,
101
+ "static_height": 64,
102
+ "static_num_channels": 4,
103
+ "static_sequence_length": 77,
104
+ "static_vae_scale_factor": 8,
105
+ "static_width": 64,
106
+ "task": "semantic-segmentation",
107
+ "tensor_parallel_size": 1
108
+ },
109
+ "norm_eps": 1e-05,
110
+ "norm_num_groups": 32,
111
+ "num_attention_heads": null,
112
+ "num_class_embeds": null,
113
+ "only_cross_attention": false,
114
+ "out_channels": 4,
115
+ "output_attentions": false,
116
+ "projection_class_embeddings_input_dim": null,
117
+ "resnet_out_scale_factor": 1.0,
118
+ "resnet_skip_time_act": false,
119
+ "resnet_time_scale_shift": "default",
120
+ "reverse_transformer_layers_per_block": null,
121
+ "time_cond_proj_dim": null,
122
+ "time_embedding_act_fn": null,
123
+ "time_embedding_dim": null,
124
+ "time_embedding_type": "positional",
125
+ "timestep_post_act": null,
126
+ "transformer_layers_per_block": 1,
127
+ "up_block_types": [
128
+ "UpBlock2D",
129
+ "CrossAttnUpBlock2D",
130
+ "CrossAttnUpBlock2D",
131
+ "CrossAttnUpBlock2D"
132
+ ],
133
+ "upcast_attention": true,
134
+ "use_linear_projection": true
135
+ }
136
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/feature_extractor/preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "CLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 224
26
+ }
27
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/model_index.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.35.1",
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.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDIMScheduler",
3
+ "_diffusers_version": "0.35.1",
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.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/text_encoder/config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPTextModel"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 0,
7
+ "dropout": 0.0,
8
+ "eos_token_id": 2,
9
+ "export_model_type": "clip-text-model",
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.19.8089.0+8ab9f450",
23
+ "cpu_backend": false,
24
+ "dynamic_batch_size": false,
25
+ "float_dtype": "fp32",
26
+ "inline_weights_to_neff": false,
27
+ "input_names": [
28
+ "input_ids"
29
+ ],
30
+ "int_dtype": "int64",
31
+ "model_type": "clip-text-model",
32
+ "optlevel": "2",
33
+ "output_attentions": false,
34
+ "output_hidden_states": false,
35
+ "output_names": [
36
+ "last_hidden_state",
37
+ "pooler_output"
38
+ ],
39
+ "static_batch_size": 1,
40
+ "static_sequence_length": 77,
41
+ "task": "feature-extraction",
42
+ "tensor_parallel_size": 1
43
+ },
44
+ "num_attention_heads": 16,
45
+ "num_hidden_layers": 23,
46
+ "pad_token_id": 1,
47
+ "projection_dim": 512,
48
+ "return_dict": false,
49
+ "torch_dtype": "float32",
50
+ "torchscript": true,
51
+ "transformers_version": "4.55.4",
52
+ "vocab_size": 49408
53
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/text_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:172a220abe0b5e7db2a0facda00ebb175a268c47dbecd034eeed66610f6947a4
3
+ size 1372698553
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/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.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
31
+ "do_lower_case": true,
32
+ "eos_token": "<|endoftext|>",
33
+ "errors": "replace",
34
+ "extra_special_tokens": {},
35
+ "model_max_length": 77,
36
+ "pad_token": "!",
37
+ "tokenizer_class": "CLIPTokenizer",
38
+ "unk_token": "<|endoftext|>"
39
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/unet/config.json ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.35.1",
4
+ "_use_default_values": [
5
+ "num_attention_heads",
6
+ "addition_embed_type_num_heads",
7
+ "cross_attention_norm",
8
+ "conv_out_kernel",
9
+ "addition_embed_type",
10
+ "attention_type",
11
+ "addition_time_embed_dim",
12
+ "resnet_out_scale_factor",
13
+ "encoder_hid_dim",
14
+ "time_embedding_act_fn",
15
+ "timestep_post_act",
16
+ "resnet_time_scale_shift",
17
+ "time_embedding_type",
18
+ "class_embed_type",
19
+ "resnet_skip_time_act",
20
+ "conv_in_kernel",
21
+ "time_cond_proj_dim",
22
+ "encoder_hid_dim_type",
23
+ "reverse_transformer_layers_per_block",
24
+ "dropout",
25
+ "mid_block_type",
26
+ "time_embedding_dim",
27
+ "mid_block_only_cross_attention",
28
+ "transformer_layers_per_block",
29
+ "class_embeddings_concat",
30
+ "projection_class_embeddings_input_dim"
31
+ ],
32
+ "act_fn": "silu",
33
+ "addition_embed_type": null,
34
+ "addition_embed_type_num_heads": 64,
35
+ "addition_time_embed_dim": null,
36
+ "attention_head_dim": [
37
+ 5,
38
+ 10,
39
+ 20,
40
+ 20
41
+ ],
42
+ "attention_type": "default",
43
+ "block_out_channels": [
44
+ 320,
45
+ 640,
46
+ 1280,
47
+ 1280
48
+ ],
49
+ "center_input_sample": false,
50
+ "class_embed_type": null,
51
+ "class_embeddings_concat": false,
52
+ "conv_in_kernel": 3,
53
+ "conv_out_kernel": 3,
54
+ "cross_attention_dim": 1024,
55
+ "cross_attention_norm": null,
56
+ "down_block_types": [
57
+ "CrossAttnDownBlock2D",
58
+ "CrossAttnDownBlock2D",
59
+ "CrossAttnDownBlock2D",
60
+ "DownBlock2D"
61
+ ],
62
+ "downsample_padding": 1,
63
+ "dropout": 0.0,
64
+ "dual_cross_attention": false,
65
+ "encoder_hid_dim": null,
66
+ "encoder_hid_dim_type": null,
67
+ "flip_sin_to_cos": true,
68
+ "freq_shift": 0,
69
+ "in_channels": 4,
70
+ "layers_per_block": 2,
71
+ "mid_block_only_cross_attention": null,
72
+ "mid_block_scale_factor": 1,
73
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
74
+ "neuron": {
75
+ "auto_cast": "matmul",
76
+ "auto_cast_type": "bf16",
77
+ "compiler_type": "neuronx-cc",
78
+ "compiler_version": "2.19.8089.0+8ab9f450",
79
+ "cpu_backend": false,
80
+ "dynamic_batch_size": false,
81
+ "float_dtype": "fp32",
82
+ "inline_weights_to_neff": false,
83
+ "input_names": [
84
+ "sample",
85
+ "timestep",
86
+ "encoder_hidden_states"
87
+ ],
88
+ "int_dtype": "int64",
89
+ "model_type": "unet",
90
+ "optlevel": "2",
91
+ "output_attentions": false,
92
+ "output_hidden_states": false,
93
+ "output_names": [
94
+ "sample"
95
+ ],
96
+ "static_batch_size": 1,
97
+ "static_height": 64,
98
+ "static_num_channels": 4,
99
+ "static_sequence_length": 77,
100
+ "static_vae_scale_factor": 8,
101
+ "static_width": 64,
102
+ "task": "semantic-segmentation",
103
+ "tensor_parallel_size": 1
104
+ },
105
+ "norm_eps": 1e-05,
106
+ "norm_num_groups": 32,
107
+ "num_attention_heads": null,
108
+ "num_class_embeds": null,
109
+ "only_cross_attention": false,
110
+ "out_channels": 4,
111
+ "output_attentions": false,
112
+ "projection_class_embeddings_input_dim": null,
113
+ "resnet_out_scale_factor": 1.0,
114
+ "resnet_skip_time_act": false,
115
+ "resnet_time_scale_shift": "default",
116
+ "reverse_transformer_layers_per_block": null,
117
+ "sample_size": 96,
118
+ "time_cond_proj_dim": null,
119
+ "time_embedding_act_fn": null,
120
+ "time_embedding_dim": null,
121
+ "time_embedding_type": "positional",
122
+ "timestep_post_act": null,
123
+ "transformer_layers_per_block": 1,
124
+ "transformers_version": null,
125
+ "up_block_types": [
126
+ "UpBlock2D",
127
+ "CrossAttnUpBlock2D",
128
+ "CrossAttnUpBlock2D",
129
+ "CrossAttnUpBlock2D"
130
+ ],
131
+ "upcast_attention": true,
132
+ "use_linear_projection": true
133
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/unet/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6eba27a405e88a7db48e4b228902066ea925efca6ff136eddb66ecb658951f76
3
+ size 3570009805
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/vae_decoder/config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.35.1",
4
+ "_use_default_values": [
5
+ "use_quant_conv",
6
+ "use_post_quant_conv",
7
+ "latents_std",
8
+ "latents_mean",
9
+ "shift_factor",
10
+ "scaling_factor",
11
+ "force_upcast",
12
+ "mid_block_add_attention"
13
+ ],
14
+ "act_fn": "silu",
15
+ "block_out_channels": [
16
+ 128,
17
+ 256,
18
+ 512,
19
+ 512
20
+ ],
21
+ "down_block_types": [
22
+ "DownEncoderBlock2D",
23
+ "DownEncoderBlock2D",
24
+ "DownEncoderBlock2D",
25
+ "DownEncoderBlock2D"
26
+ ],
27
+ "force_upcast": true,
28
+ "in_channels": 3,
29
+ "latent_channels": 4,
30
+ "latents_mean": null,
31
+ "latents_std": null,
32
+ "layers_per_block": 2,
33
+ "mid_block_add_attention": true,
34
+ "neuron": {
35
+ "auto_cast": "matmul",
36
+ "auto_cast_type": "bf16",
37
+ "compiler_type": "neuronx-cc",
38
+ "compiler_version": "2.19.8089.0+8ab9f450",
39
+ "cpu_backend": false,
40
+ "dynamic_batch_size": false,
41
+ "float_dtype": "fp32",
42
+ "inline_weights_to_neff": false,
43
+ "input_names": [
44
+ "latent_sample"
45
+ ],
46
+ "int_dtype": "int64",
47
+ "model_type": "vae-decoder",
48
+ "optlevel": "2",
49
+ "output_attentions": false,
50
+ "output_hidden_states": false,
51
+ "output_names": [
52
+ "sample"
53
+ ],
54
+ "static_batch_size": 1,
55
+ "static_height": 64,
56
+ "static_num_channels": 4,
57
+ "static_width": 64,
58
+ "task": "semantic-segmentation",
59
+ "tensor_parallel_size": 1
60
+ },
61
+ "norm_num_groups": 32,
62
+ "out_channels": 3,
63
+ "output_attentions": false,
64
+ "sample_size": 768,
65
+ "scaling_factor": 0.18215,
66
+ "shift_factor": null,
67
+ "transformers_version": null,
68
+ "up_block_types": [
69
+ "UpDecoderBlock2D",
70
+ "UpDecoderBlock2D",
71
+ "UpDecoderBlock2D",
72
+ "UpDecoderBlock2D"
73
+ ],
74
+ "use_post_quant_conv": true,
75
+ "use_quant_conv": true
76
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/vae_decoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:750813327a5416778f4f518092525b34623926217788395bdff3be8b4ae354c8
3
+ size 258982101
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/vae_encoder/config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.35.1",
4
+ "_use_default_values": [
5
+ "use_quant_conv",
6
+ "use_post_quant_conv",
7
+ "latents_std",
8
+ "latents_mean",
9
+ "shift_factor",
10
+ "scaling_factor",
11
+ "force_upcast",
12
+ "mid_block_add_attention"
13
+ ],
14
+ "act_fn": "silu",
15
+ "block_out_channels": [
16
+ 128,
17
+ 256,
18
+ 512,
19
+ 512
20
+ ],
21
+ "down_block_types": [
22
+ "DownEncoderBlock2D",
23
+ "DownEncoderBlock2D",
24
+ "DownEncoderBlock2D",
25
+ "DownEncoderBlock2D"
26
+ ],
27
+ "force_upcast": true,
28
+ "in_channels": 3,
29
+ "latent_channels": 4,
30
+ "latents_mean": null,
31
+ "latents_std": null,
32
+ "layers_per_block": 2,
33
+ "mid_block_add_attention": true,
34
+ "neuron": {
35
+ "auto_cast": "matmul",
36
+ "auto_cast_type": "bf16",
37
+ "compiler_type": "neuronx-cc",
38
+ "compiler_version": "2.19.8089.0+8ab9f450",
39
+ "cpu_backend": false,
40
+ "dynamic_batch_size": false,
41
+ "float_dtype": "fp32",
42
+ "inline_weights_to_neff": false,
43
+ "input_names": [
44
+ "sample"
45
+ ],
46
+ "int_dtype": "int64",
47
+ "model_type": "vae-encoder",
48
+ "optlevel": "2",
49
+ "output_attentions": false,
50
+ "output_hidden_states": false,
51
+ "output_names": [
52
+ "latent_parameters"
53
+ ],
54
+ "static_batch_size": 1,
55
+ "static_height": 512,
56
+ "static_num_channels": 3,
57
+ "static_width": 512,
58
+ "task": "semantic-segmentation",
59
+ "tensor_parallel_size": 1
60
+ },
61
+ "norm_num_groups": 32,
62
+ "out_channels": 3,
63
+ "output_attentions": false,
64
+ "sample_size": 768,
65
+ "scaling_factor": 0.18215,
66
+ "shift_factor": null,
67
+ "transformers_version": null,
68
+ "up_block_types": [
69
+ "UpDecoderBlock2D",
70
+ "UpDecoderBlock2D",
71
+ "UpDecoderBlock2D",
72
+ "UpDecoderBlock2D"
73
+ ],
74
+ "use_post_quant_conv": true,
75
+ "use_quant_conv": true
76
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d20889d22e9dcc854fdf/vae_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2400b5d5a0c634fb315eddcaf522a1bdf9475a1ea65077f7271ab829a97f2a0
3
+ size 169118803