dacorvo HF Staff commited on
Commit
a82a4bf
·
verified ·
1 Parent(s): 1ae77c9

Synchronizing local compiler cache.

Browse files
Files changed (22) hide show
  1. .gitattributes +5 -0
  2. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0/stable-diffusion/stabilityai/sdxl-turbo/5b352bf3e87f4c80516e.json +164 -0
  3. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/model_index.json +42 -0
  4. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/scheduler/scheduler_config.json +18 -0
  5. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/text_encoder/config.json +52 -0
  6. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/text_encoder/model.neuron +3 -0
  7. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/text_encoder_2/config.json +52 -0
  8. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/text_encoder_2/model.neuron +3 -0
  9. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer/merges.txt +0 -0
  10. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer/special_tokens_map.json +30 -0
  11. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer/tokenizer_config.json +31 -0
  12. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer/vocab.json +0 -0
  13. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer_2/merges.txt +0 -0
  14. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer_2/special_tokens_map.json +30 -0
  15. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer_2/tokenizer_config.json +39 -0
  16. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer_2/vocab.json +0 -0
  17. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/unet/config.json +104 -0
  18. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/unet/model.neuron +3 -0
  19. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/vae_decoder/config.json +71 -0
  20. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/vae_decoder/model.neuron +3 -0
  21. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/vae_encoder/config.json +71 -0
  22. neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/vae_encoder/model.neuron +3 -0
.gitattributes CHANGED
@@ -9988,3 +9988,8 @@ neuronxcc-2.19.8089.0+8ab9f450/MODULE_bffdf2362632fe603a89/text_encoder_2/model.
9988
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_bffdf2362632fe603a89/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
9989
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_bffdf2362632fe603a89/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
9990
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_bffdf2362632fe603a89/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
9988
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_bffdf2362632fe603a89/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
9989
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_bffdf2362632fe603a89/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
9990
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_bffdf2362632fe603a89/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
9991
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
9992
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/text_encoder_2/model.neuron filter=lfs diff=lfs merge=lfs -text
9993
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
9994
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
9995
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0/stable-diffusion/stabilityai/sdxl-turbo/5b352bf3e87f4c80516e.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "MultiModelCacheEntry",
3
+ "_model_id": "stabilityai/sdxl-turbo",
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": "quick_gelu",
13
+ "hidden_size": 768,
14
+ "initializer_factor": 1.0,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
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
+ "dynamic_batch_size": false,
26
+ "inline_weights_to_neff": false,
27
+ "optlevel": "2",
28
+ "output_attentions": false,
29
+ "output_hidden_states": false,
30
+ "static_batch_size": 1,
31
+ "static_sequence_length": 77,
32
+ "task": "feature-extraction",
33
+ "tensor_parallel_size": 1
34
+ },
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 12,
37
+ "output_hidden_states": true,
38
+ "vocab_size": 49408
39
+ },
40
+ "text_encoder_2": {
41
+ "architectures": [
42
+ "CLIPTextModelWithProjection"
43
+ ],
44
+ "attention_dropout": 0.0,
45
+ "dropout": 0.0,
46
+ "export_model_type": "clip-text-with-projection",
47
+ "hidden_act": "gelu",
48
+ "hidden_size": 1280,
49
+ "initializer_factor": 1.0,
50
+ "initializer_range": 0.02,
51
+ "intermediate_size": 5120,
52
+ "layer_norm_eps": 1e-05,
53
+ "max_position_embeddings": 77,
54
+ "model_type": "clip_text_model",
55
+ "neuron": {
56
+ "auto_cast": "matmul",
57
+ "auto_cast_type": "bf16",
58
+ "compiler_type": "neuronx-cc",
59
+ "compiler_version": "2.19.8089.0+8ab9f450",
60
+ "dynamic_batch_size": false,
61
+ "inline_weights_to_neff": false,
62
+ "optlevel": "2",
63
+ "output_attentions": false,
64
+ "output_hidden_states": false,
65
+ "static_batch_size": 1,
66
+ "static_sequence_length": 77,
67
+ "task": "feature-extraction",
68
+ "tensor_parallel_size": 1
69
+ },
70
+ "num_attention_heads": 20,
71
+ "num_hidden_layers": 32,
72
+ "output_hidden_states": true,
73
+ "vocab_size": 49408
74
+ },
75
+ "unet": {
76
+ "_class_name": "UNet2DConditionModel",
77
+ "act_fn": "silu",
78
+ "addition_embed_type": "text_time",
79
+ "addition_embed_type_num_heads": 64,
80
+ "addition_time_embed_dim": 256,
81
+ "attention_head_dim": [
82
+ 5,
83
+ 10,
84
+ 20
85
+ ],
86
+ "attention_type": "default",
87
+ "block_out_channels": [
88
+ 320,
89
+ 640,
90
+ 1280
91
+ ],
92
+ "center_input_sample": false,
93
+ "class_embed_type": null,
94
+ "class_embeddings_concat": false,
95
+ "conv_in_kernel": 3,
96
+ "conv_out_kernel": 3,
97
+ "cross_attention_dim": 2048,
98
+ "cross_attention_norm": null,
99
+ "down_block_types": [
100
+ "DownBlock2D",
101
+ "CrossAttnDownBlock2D",
102
+ "CrossAttnDownBlock2D"
103
+ ],
104
+ "downsample_padding": 1,
105
+ "dropout": 0.0,
106
+ "dual_cross_attention": false,
107
+ "encoder_hid_dim": null,
108
+ "encoder_hid_dim_type": null,
109
+ "flip_sin_to_cos": true,
110
+ "freq_shift": 0,
111
+ "in_channels": 4,
112
+ "layers_per_block": 2,
113
+ "mid_block_only_cross_attention": null,
114
+ "mid_block_scale_factor": 1,
115
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
116
+ "neuron": {
117
+ "auto_cast": "matmul",
118
+ "auto_cast_type": "bf16",
119
+ "compiler_type": "neuronx-cc",
120
+ "compiler_version": "2.19.8089.0+8ab9f450",
121
+ "dynamic_batch_size": false,
122
+ "inline_weights_to_neff": true,
123
+ "optlevel": "2",
124
+ "output_attentions": false,
125
+ "output_hidden_states": false,
126
+ "static_batch_size": 1,
127
+ "static_height": 128,
128
+ "static_num_channels": 4,
129
+ "static_sequence_length": 77,
130
+ "static_vae_scale_factor": 8,
131
+ "static_width": 128,
132
+ "task": "semantic-segmentation",
133
+ "tensor_parallel_size": 1
134
+ },
135
+ "norm_eps": 1e-05,
136
+ "norm_num_groups": 32,
137
+ "num_attention_heads": null,
138
+ "num_class_embeds": null,
139
+ "only_cross_attention": false,
140
+ "out_channels": 4,
141
+ "projection_class_embeddings_input_dim": 2816,
142
+ "resnet_out_scale_factor": 1.0,
143
+ "resnet_skip_time_act": false,
144
+ "resnet_time_scale_shift": "default",
145
+ "reverse_transformer_layers_per_block": null,
146
+ "time_cond_proj_dim": null,
147
+ "time_embedding_act_fn": null,
148
+ "time_embedding_dim": null,
149
+ "time_embedding_type": "positional",
150
+ "timestep_post_act": null,
151
+ "transformer_layers_per_block": [
152
+ 1,
153
+ 2,
154
+ 10
155
+ ],
156
+ "up_block_types": [
157
+ "CrossAttnUpBlock2D",
158
+ "CrossAttnUpBlock2D",
159
+ "UpBlock2D"
160
+ ],
161
+ "upcast_attention": null,
162
+ "use_linear_projection": true
163
+ }
164
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/model_index.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionXLPipeline",
3
+ "_diffusers_version": "0.34.0",
4
+ "_name_or_path": "stabilityai/sdxl-turbo",
5
+ "feature_extractor": [
6
+ null,
7
+ null
8
+ ],
9
+ "force_zeros_for_empty_prompt": true,
10
+ "image_encoder": [
11
+ null,
12
+ null
13
+ ],
14
+ "scheduler": [
15
+ "diffusers",
16
+ "EulerAncestralDiscreteScheduler"
17
+ ],
18
+ "text_encoder": [
19
+ "transformers",
20
+ "CLIPTextModel"
21
+ ],
22
+ "text_encoder_2": [
23
+ "transformers",
24
+ "CLIPTextModelWithProjection"
25
+ ],
26
+ "tokenizer": [
27
+ "transformers",
28
+ "CLIPTokenizer"
29
+ ],
30
+ "tokenizer_2": [
31
+ "transformers",
32
+ "CLIPTokenizer"
33
+ ],
34
+ "unet": [
35
+ "diffusers",
36
+ "UNet2DConditionModel"
37
+ ],
38
+ "vae": [
39
+ "diffusers",
40
+ "AutoencoderKL"
41
+ ]
42
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "EulerAncestralDiscreteScheduler",
3
+ "_diffusers_version": "0.34.0",
4
+ "beta_end": 0.012,
5
+ "beta_schedule": "scaled_linear",
6
+ "beta_start": 0.00085,
7
+ "clip_sample": false,
8
+ "interpolation_type": "linear",
9
+ "num_train_timesteps": 1000,
10
+ "prediction_type": "epsilon",
11
+ "rescale_betas_zero_snr": false,
12
+ "sample_max_value": 1.0,
13
+ "set_alpha_to_one": false,
14
+ "skip_prk_steps": true,
15
+ "steps_offset": 1,
16
+ "timestep_spacing": "trailing",
17
+ "trained_betas": null
18
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/text_encoder/config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
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
+ "export_model_type": "clip-text-model",
11
+ "hidden_act": "quick_gelu",
12
+ "hidden_size": 768,
13
+ "initializer_factor": 1.0,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 3072,
16
+ "layer_norm_eps": 1e-05,
17
+ "max_position_embeddings": 77,
18
+ "model_type": "clip_text_model",
19
+ "neuron": {
20
+ "auto_cast": "matmul",
21
+ "auto_cast_type": "bf16",
22
+ "compiler_type": "neuronx-cc",
23
+ "compiler_version": "2.19.8089.0+8ab9f450",
24
+ "dynamic_batch_size": false,
25
+ "inline_weights_to_neff": false,
26
+ "input_names": [
27
+ "input_ids"
28
+ ],
29
+ "model_type": "clip-text-model",
30
+ "optlevel": "2",
31
+ "output_attentions": false,
32
+ "output_hidden_states": false,
33
+ "output_names": [
34
+ "last_hidden_state",
35
+ "pooler_output",
36
+ "hidden_states"
37
+ ],
38
+ "static_batch_size": 1,
39
+ "static_sequence_length": 77,
40
+ "task": "feature-extraction",
41
+ "tensor_parallel_size": 1
42
+ },
43
+ "num_attention_heads": 12,
44
+ "num_hidden_layers": 12,
45
+ "output_hidden_states": true,
46
+ "pad_token_id": 1,
47
+ "projection_dim": 768,
48
+ "torch_dtype": "float32",
49
+ "torchscript": true,
50
+ "transformers_version": "4.51.3",
51
+ "vocab_size": 49408
52
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/text_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:914c7bc69b93c24844b8fd75feb758012316cbb49cd2ef854e37b1b3ca8d5f9d
3
+ size 496092729
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/text_encoder_2/config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "architectures": [
4
+ "CLIPTextModelWithProjection"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
8
+ "dropout": 0.0,
9
+ "eos_token_id": 2,
10
+ "export_model_type": "clip-text-with-projection",
11
+ "hidden_act": "gelu",
12
+ "hidden_size": 1280,
13
+ "initializer_factor": 1.0,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 5120,
16
+ "layer_norm_eps": 1e-05,
17
+ "max_position_embeddings": 77,
18
+ "model_type": "clip_text_model",
19
+ "neuron": {
20
+ "auto_cast": "matmul",
21
+ "auto_cast_type": "bf16",
22
+ "compiler_type": "neuronx-cc",
23
+ "compiler_version": "2.19.8089.0+8ab9f450",
24
+ "dynamic_batch_size": false,
25
+ "inline_weights_to_neff": false,
26
+ "input_names": [
27
+ "input_ids"
28
+ ],
29
+ "model_type": "clip-text-with-projection",
30
+ "optlevel": "2",
31
+ "output_attentions": false,
32
+ "output_hidden_states": false,
33
+ "output_names": [
34
+ "text_embeds",
35
+ "last_hidden_state",
36
+ "hidden_states"
37
+ ],
38
+ "static_batch_size": 1,
39
+ "static_sequence_length": 77,
40
+ "task": "feature-extraction",
41
+ "tensor_parallel_size": 1
42
+ },
43
+ "num_attention_heads": 20,
44
+ "num_hidden_layers": 32,
45
+ "output_hidden_states": true,
46
+ "pad_token_id": 1,
47
+ "projection_dim": 1280,
48
+ "torch_dtype": "float32",
49
+ "torchscript": true,
50
+ "transformers_version": "4.51.3",
51
+ "vocab_size": 49408
52
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/text_encoder_2/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c32a7b7a67513971e337f45e6a0e5e9373a5135ae0f88216b5d934944037ecfb
3
+ size 2801582571
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "49406": {
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49407": {
13
+ "content": "<|endoftext|>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "bos_token": "<|startoftext|>",
22
+ "clean_up_tokenization_spaces": true,
23
+ "do_lower_case": true,
24
+ "eos_token": "<|endoftext|>",
25
+ "errors": "replace",
26
+ "extra_special_tokens": {},
27
+ "model_max_length": 77,
28
+ "pad_token": "<|endoftext|>",
29
+ "tokenizer_class": "CLIPTokenizer",
30
+ "unk_token": "<|endoftext|>"
31
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer_2/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer_2/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "content": "!",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/tokenizer_2/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": true,
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_5b352bf3e87f4c80516e/tokenizer_2/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/unet/config.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.34.0",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": "text_time",
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": 256,
9
+ "attention_head_dim": [
10
+ 5,
11
+ 10,
12
+ 20
13
+ ],
14
+ "attention_type": "default",
15
+ "block_out_channels": [
16
+ 320,
17
+ 640,
18
+ 1280
19
+ ],
20
+ "center_input_sample": false,
21
+ "class_embed_type": null,
22
+ "class_embeddings_concat": false,
23
+ "conv_in_kernel": 3,
24
+ "conv_out_kernel": 3,
25
+ "cross_attention_dim": 2048,
26
+ "cross_attention_norm": null,
27
+ "down_block_types": [
28
+ "DownBlock2D",
29
+ "CrossAttnDownBlock2D",
30
+ "CrossAttnDownBlock2D"
31
+ ],
32
+ "downsample_padding": 1,
33
+ "dropout": 0.0,
34
+ "dual_cross_attention": false,
35
+ "encoder_hid_dim": null,
36
+ "encoder_hid_dim_type": null,
37
+ "flip_sin_to_cos": true,
38
+ "freq_shift": 0,
39
+ "in_channels": 4,
40
+ "layers_per_block": 2,
41
+ "mid_block_only_cross_attention": null,
42
+ "mid_block_scale_factor": 1,
43
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
44
+ "neuron": {
45
+ "auto_cast": "matmul",
46
+ "auto_cast_type": "bf16",
47
+ "compiler_type": "neuronx-cc",
48
+ "compiler_version": "2.19.8089.0+8ab9f450",
49
+ "dynamic_batch_size": false,
50
+ "inline_weights_to_neff": true,
51
+ "input_names": [
52
+ "sample",
53
+ "timestep",
54
+ "encoder_hidden_states",
55
+ "text_embeds",
56
+ "time_ids"
57
+ ],
58
+ "model_type": "unet",
59
+ "optlevel": "2",
60
+ "output_attentions": false,
61
+ "output_hidden_states": false,
62
+ "output_names": [
63
+ "sample"
64
+ ],
65
+ "static_batch_size": 1,
66
+ "static_height": 128,
67
+ "static_num_channels": 4,
68
+ "static_sequence_length": 77,
69
+ "static_vae_scale_factor": 8,
70
+ "static_width": 128,
71
+ "task": "semantic-segmentation",
72
+ "tensor_parallel_size": 1
73
+ },
74
+ "norm_eps": 1e-05,
75
+ "norm_num_groups": 32,
76
+ "num_attention_heads": null,
77
+ "num_class_embeds": null,
78
+ "only_cross_attention": false,
79
+ "out_channels": 4,
80
+ "projection_class_embeddings_input_dim": 2816,
81
+ "resnet_out_scale_factor": 1.0,
82
+ "resnet_skip_time_act": false,
83
+ "resnet_time_scale_shift": "default",
84
+ "reverse_transformer_layers_per_block": null,
85
+ "sample_size": 64,
86
+ "time_cond_proj_dim": null,
87
+ "time_embedding_act_fn": null,
88
+ "time_embedding_dim": null,
89
+ "time_embedding_type": "positional",
90
+ "timestep_post_act": null,
91
+ "transformer_layers_per_block": [
92
+ 1,
93
+ 2,
94
+ 10
95
+ ],
96
+ "transformers_version": null,
97
+ "up_block_types": [
98
+ "CrossAttnUpBlock2D",
99
+ "CrossAttnUpBlock2D",
100
+ "UpBlock2D"
101
+ ],
102
+ "upcast_attention": null,
103
+ "use_linear_projection": true
104
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/unet/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5434fc5a86f706d93442d0657710bd76d5e9896a6591aa1e628ef002197cd2ce
3
+ size 4175474813
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/vae_decoder/config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.34.0",
5
+ "_use_default_values": [
6
+ "use_post_quant_conv",
7
+ "latents_std",
8
+ "mid_block_add_attention",
9
+ "latents_mean",
10
+ "use_quant_conv",
11
+ "shift_factor"
12
+ ],
13
+ "act_fn": "silu",
14
+ "block_out_channels": [
15
+ 128,
16
+ 256,
17
+ 512,
18
+ 512
19
+ ],
20
+ "down_block_types": [
21
+ "DownEncoderBlock2D",
22
+ "DownEncoderBlock2D",
23
+ "DownEncoderBlock2D",
24
+ "DownEncoderBlock2D"
25
+ ],
26
+ "force_upcast": true,
27
+ "in_channels": 3,
28
+ "latent_channels": 4,
29
+ "latents_mean": null,
30
+ "latents_std": null,
31
+ "layers_per_block": 2,
32
+ "mid_block_add_attention": true,
33
+ "neuron": {
34
+ "auto_cast": "matmul",
35
+ "auto_cast_type": "bf16",
36
+ "compiler_type": "neuronx-cc",
37
+ "compiler_version": "2.19.8089.0+8ab9f450",
38
+ "dynamic_batch_size": false,
39
+ "inline_weights_to_neff": true,
40
+ "input_names": [
41
+ "latent_sample"
42
+ ],
43
+ "model_type": "vae-decoder",
44
+ "optlevel": "2",
45
+ "output_attentions": false,
46
+ "output_hidden_states": false,
47
+ "output_names": [
48
+ "sample"
49
+ ],
50
+ "static_batch_size": 1,
51
+ "static_height": 128,
52
+ "static_num_channels": 4,
53
+ "static_width": 128,
54
+ "task": "semantic-segmentation",
55
+ "tensor_parallel_size": 1
56
+ },
57
+ "norm_num_groups": 32,
58
+ "out_channels": 3,
59
+ "sample_size": 1024,
60
+ "scaling_factor": 0.13025,
61
+ "shift_factor": null,
62
+ "transformers_version": null,
63
+ "up_block_types": [
64
+ "UpDecoderBlock2D",
65
+ "UpDecoderBlock2D",
66
+ "UpDecoderBlock2D",
67
+ "UpDecoderBlock2D"
68
+ ],
69
+ "use_post_quant_conv": true,
70
+ "use_quant_conv": true
71
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/vae_decoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d6a58da6e428c9239239e45ba86a7834bcc75314776816cb5548ad2aec8336f
3
+ size 370909427
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/vae_encoder/config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.34.0",
5
+ "_use_default_values": [
6
+ "use_post_quant_conv",
7
+ "latents_std",
8
+ "mid_block_add_attention",
9
+ "latents_mean",
10
+ "use_quant_conv",
11
+ "shift_factor"
12
+ ],
13
+ "act_fn": "silu",
14
+ "block_out_channels": [
15
+ 128,
16
+ 256,
17
+ 512,
18
+ 512
19
+ ],
20
+ "down_block_types": [
21
+ "DownEncoderBlock2D",
22
+ "DownEncoderBlock2D",
23
+ "DownEncoderBlock2D",
24
+ "DownEncoderBlock2D"
25
+ ],
26
+ "force_upcast": true,
27
+ "in_channels": 3,
28
+ "latent_channels": 4,
29
+ "latents_mean": null,
30
+ "latents_std": null,
31
+ "layers_per_block": 2,
32
+ "mid_block_add_attention": true,
33
+ "neuron": {
34
+ "auto_cast": "matmul",
35
+ "auto_cast_type": "bf16",
36
+ "compiler_type": "neuronx-cc",
37
+ "compiler_version": "2.19.8089.0+8ab9f450",
38
+ "dynamic_batch_size": false,
39
+ "inline_weights_to_neff": true,
40
+ "input_names": [
41
+ "sample"
42
+ ],
43
+ "model_type": "vae-encoder",
44
+ "optlevel": "2",
45
+ "output_attentions": false,
46
+ "output_hidden_states": false,
47
+ "output_names": [
48
+ "latent_parameters"
49
+ ],
50
+ "static_batch_size": 1,
51
+ "static_height": 1024,
52
+ "static_num_channels": 3,
53
+ "static_width": 1024,
54
+ "task": "semantic-segmentation",
55
+ "tensor_parallel_size": 1
56
+ },
57
+ "norm_num_groups": 32,
58
+ "out_channels": 3,
59
+ "sample_size": 1024,
60
+ "scaling_factor": 0.13025,
61
+ "shift_factor": null,
62
+ "transformers_version": null,
63
+ "up_block_types": [
64
+ "UpDecoderBlock2D",
65
+ "UpDecoderBlock2D",
66
+ "UpDecoderBlock2D",
67
+ "UpDecoderBlock2D"
68
+ ],
69
+ "use_post_quant_conv": true,
70
+ "use_quant_conv": true
71
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_5b352bf3e87f4c80516e/vae_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d75268fac61227fc645c4861252879810b19a898095b84a97397c7bda69386f
3
+ size 222984883