dacorvo HF Staff commited on
Commit
9ccc256
·
verified ·
1 Parent(s): 1d883e2

Synchronizing local compiler cache.

Browse files
Files changed (22) hide show
  1. .gitattributes +5 -0
  2. neuronxcc-2.17.194.0+d312836f/0_REGISTRY/0.3.0.dev1/stable-diffusion/stabilityai/sdxl-turbo/68031b89e85788c276aa.json +162 -0
  3. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/model_index.json +42 -0
  4. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/scheduler/scheduler_config.json +18 -0
  5. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/text_encoder/config.json +51 -0
  6. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/text_encoder/model.neuron +3 -0
  7. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/text_encoder_2/config.json +51 -0
  8. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/text_encoder_2/model.neuron +3 -0
  9. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer/merges.txt +0 -0
  10. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer/special_tokens_map.json +30 -0
  11. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer/tokenizer_config.json +31 -0
  12. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer/vocab.json +0 -0
  13. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer_2/merges.txt +0 -0
  14. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer_2/special_tokens_map.json +30 -0
  15. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer_2/tokenizer_config.json +39 -0
  16. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer_2/vocab.json +0 -0
  17. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/unet/config.json +104 -0
  18. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/unet/model.neuron +3 -0
  19. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/vae_decoder/config.json +71 -0
  20. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/vae_decoder/model.neuron +3 -0
  21. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/vae_encoder/config.json +71 -0
  22. neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/vae_encoder/model.neuron +3 -0
.gitattributes CHANGED
@@ -8596,3 +8596,8 @@ neuronxcc-2.17.194.0+d312836f/MODULE_aecf63194b748979aee7/text_encoder/model.neu
8596
  neuronxcc-2.17.194.0+d312836f/MODULE_aecf63194b748979aee7/transformer/model.neuron filter=lfs diff=lfs merge=lfs -text
8597
  neuronxcc-2.17.194.0+d312836f/MODULE_aecf63194b748979aee7/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
8598
  neuronxcc-2.17.194.0+d312836f/MODULE_aecf63194b748979aee7/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
8596
  neuronxcc-2.17.194.0+d312836f/MODULE_aecf63194b748979aee7/transformer/model.neuron filter=lfs diff=lfs merge=lfs -text
8597
  neuronxcc-2.17.194.0+d312836f/MODULE_aecf63194b748979aee7/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
8598
  neuronxcc-2.17.194.0+d312836f/MODULE_aecf63194b748979aee7/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
8599
+ neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
8600
+ neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/text_encoder_2/model.neuron filter=lfs diff=lfs merge=lfs -text
8601
+ neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
8602
+ neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
8603
+ neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
neuronxcc-2.17.194.0+d312836f/0_REGISTRY/0.3.0.dev1/stable-diffusion/stabilityai/sdxl-turbo/68031b89e85788c276aa.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "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.17.194.0+d312836f",
24
+ "dynamic_batch_size": false,
25
+ "inline_weights_to_neff": false,
26
+ "optlevel": "2",
27
+ "output_attentions": false,
28
+ "output_hidden_states": false,
29
+ "static_batch_size": 1,
30
+ "static_sequence_length": 77,
31
+ "task": "feature-extraction",
32
+ "tensor_parallel_size": 1
33
+ },
34
+ "num_attention_heads": 12,
35
+ "num_hidden_layers": 12,
36
+ "output_hidden_states": true,
37
+ "vocab_size": 49408
38
+ },
39
+ "text_encoder_2": {
40
+ "architectures": [
41
+ "CLIPTextModelWithProjection"
42
+ ],
43
+ "attention_dropout": 0.0,
44
+ "dropout": 0.0,
45
+ "hidden_act": "gelu",
46
+ "hidden_size": 1280,
47
+ "initializer_factor": 1.0,
48
+ "initializer_range": 0.02,
49
+ "intermediate_size": 5120,
50
+ "layer_norm_eps": 1e-05,
51
+ "max_position_embeddings": 77,
52
+ "model_type": "clip_text_model",
53
+ "neuron": {
54
+ "auto_cast": "matmul",
55
+ "auto_cast_type": "bf16",
56
+ "compiler_type": "neuronx-cc",
57
+ "compiler_version": "2.17.194.0+d312836f",
58
+ "dynamic_batch_size": false,
59
+ "inline_weights_to_neff": false,
60
+ "optlevel": "2",
61
+ "output_attentions": false,
62
+ "output_hidden_states": false,
63
+ "static_batch_size": 1,
64
+ "static_sequence_length": 77,
65
+ "task": "feature-extraction",
66
+ "tensor_parallel_size": 1
67
+ },
68
+ "num_attention_heads": 20,
69
+ "num_hidden_layers": 32,
70
+ "output_hidden_states": true,
71
+ "vocab_size": 49408
72
+ },
73
+ "unet": {
74
+ "_class_name": "UNet2DConditionModel",
75
+ "act_fn": "silu",
76
+ "addition_embed_type": "text_time",
77
+ "addition_embed_type_num_heads": 64,
78
+ "addition_time_embed_dim": 256,
79
+ "attention_head_dim": [
80
+ 5,
81
+ 10,
82
+ 20
83
+ ],
84
+ "attention_type": "default",
85
+ "block_out_channels": [
86
+ 320,
87
+ 640,
88
+ 1280
89
+ ],
90
+ "center_input_sample": false,
91
+ "class_embed_type": null,
92
+ "class_embeddings_concat": false,
93
+ "conv_in_kernel": 3,
94
+ "conv_out_kernel": 3,
95
+ "cross_attention_dim": 2048,
96
+ "cross_attention_norm": null,
97
+ "down_block_types": [
98
+ "DownBlock2D",
99
+ "CrossAttnDownBlock2D",
100
+ "CrossAttnDownBlock2D"
101
+ ],
102
+ "downsample_padding": 1,
103
+ "dropout": 0.0,
104
+ "dual_cross_attention": false,
105
+ "encoder_hid_dim": null,
106
+ "encoder_hid_dim_type": null,
107
+ "flip_sin_to_cos": true,
108
+ "freq_shift": 0,
109
+ "in_channels": 4,
110
+ "layers_per_block": 2,
111
+ "mid_block_only_cross_attention": null,
112
+ "mid_block_scale_factor": 1,
113
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
114
+ "neuron": {
115
+ "auto_cast": "matmul",
116
+ "auto_cast_type": "bf16",
117
+ "compiler_type": "neuronx-cc",
118
+ "compiler_version": "2.17.194.0+d312836f",
119
+ "dynamic_batch_size": false,
120
+ "inline_weights_to_neff": true,
121
+ "optlevel": "2",
122
+ "output_attentions": false,
123
+ "output_hidden_states": false,
124
+ "static_batch_size": 1,
125
+ "static_height": 128,
126
+ "static_num_channels": 4,
127
+ "static_sequence_length": 77,
128
+ "static_vae_scale_factor": 8,
129
+ "static_width": 128,
130
+ "task": "semantic-segmentation",
131
+ "tensor_parallel_size": 1
132
+ },
133
+ "norm_eps": 1e-05,
134
+ "norm_num_groups": 32,
135
+ "num_attention_heads": null,
136
+ "num_class_embeds": null,
137
+ "only_cross_attention": false,
138
+ "out_channels": 4,
139
+ "projection_class_embeddings_input_dim": 2816,
140
+ "resnet_out_scale_factor": 1.0,
141
+ "resnet_skip_time_act": false,
142
+ "resnet_time_scale_shift": "default",
143
+ "reverse_transformer_layers_per_block": null,
144
+ "time_cond_proj_dim": null,
145
+ "time_embedding_act_fn": null,
146
+ "time_embedding_dim": null,
147
+ "time_embedding_type": "positional",
148
+ "timestep_post_act": null,
149
+ "transformer_layers_per_block": [
150
+ 1,
151
+ 2,
152
+ 10
153
+ ],
154
+ "up_block_types": [
155
+ "CrossAttnUpBlock2D",
156
+ "CrossAttnUpBlock2D",
157
+ "UpBlock2D"
158
+ ],
159
+ "upcast_attention": null,
160
+ "use_linear_projection": true
161
+ }
162
+ }
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/model_index.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionXLPipeline",
3
+ "_diffusers_version": "0.30.3",
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.17.194.0+d312836f/MODULE_68031b89e85788c276aa/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "EulerAncestralDiscreteScheduler",
3
+ "_diffusers_version": "0.30.3",
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.17.194.0+d312836f/MODULE_68031b89e85788c276aa/text_encoder/config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "hidden_act": "quick_gelu",
11
+ "hidden_size": 768,
12
+ "initializer_factor": 1.0,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
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.17.194.0+d312836f",
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
+ "hidden_states"
36
+ ],
37
+ "static_batch_size": 1,
38
+ "static_sequence_length": 77,
39
+ "task": "feature-extraction",
40
+ "tensor_parallel_size": 1
41
+ },
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 12,
44
+ "output_hidden_states": true,
45
+ "pad_token_id": 1,
46
+ "projection_dim": 768,
47
+ "torch_dtype": "float32",
48
+ "torchscript": true,
49
+ "transformers_version": "4.51.3",
50
+ "vocab_size": 49408
51
+ }
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/text_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0858dad915fa2bbfbc9811c4fe3ece3c32d356c3991ccd273fc9a7d613adb604
3
+ size 495950713
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/text_encoder_2/config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "hidden_act": "gelu",
11
+ "hidden_size": 1280,
12
+ "initializer_factor": 1.0,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 5120,
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.17.194.0+d312836f",
23
+ "dynamic_batch_size": false,
24
+ "inline_weights_to_neff": false,
25
+ "input_names": [
26
+ "input_ids"
27
+ ],
28
+ "model_type": "clip-text-with-projection",
29
+ "optlevel": "2",
30
+ "output_attentions": false,
31
+ "output_hidden_states": false,
32
+ "output_names": [
33
+ "text_embeds",
34
+ "last_hidden_state",
35
+ "hidden_states"
36
+ ],
37
+ "static_batch_size": 1,
38
+ "static_sequence_length": 77,
39
+ "task": "feature-extraction",
40
+ "tensor_parallel_size": 1
41
+ },
42
+ "num_attention_heads": 20,
43
+ "num_hidden_layers": 32,
44
+ "output_hidden_states": true,
45
+ "pad_token_id": 1,
46
+ "projection_dim": 1280,
47
+ "torch_dtype": "float32",
48
+ "torchscript": true,
49
+ "transformers_version": "4.51.3",
50
+ "vocab_size": 49408
51
+ }
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/text_encoder_2/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:106339566a095246ca802b6d52761c9592d4a6511bcafd49fa023ed94086273e
3
+ size 2801222123
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/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.17.194.0+d312836f/MODULE_68031b89e85788c276aa/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.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer_2/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/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.17.194.0+d312836f/MODULE_68031b89e85788c276aa/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.17.194.0+d312836f/MODULE_68031b89e85788c276aa/tokenizer_2/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/unet/config.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.30.3",
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.17.194.0+d312836f",
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.17.194.0+d312836f/MODULE_68031b89e85788c276aa/unet/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76bcfb4bbc246e489f3c554b86246ede7d1d91ea707643e413e618dd269eb927
3
+ size 4173421949
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/vae_decoder/config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.30.3",
5
+ "_use_default_values": [
6
+ "latents_std",
7
+ "use_post_quant_conv",
8
+ "shift_factor",
9
+ "mid_block_add_attention",
10
+ "latents_mean",
11
+ "use_quant_conv"
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.17.194.0+d312836f",
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.17.194.0+d312836f/MODULE_68031b89e85788c276aa/vae_decoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a762a100cf5da20ce7656b51515e804d4909848fabf6e401653e6ef0084bf4e
3
+ size 749922867
neuronxcc-2.17.194.0+d312836f/MODULE_68031b89e85788c276aa/vae_encoder/config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.30.3",
5
+ "_use_default_values": [
6
+ "latents_std",
7
+ "use_post_quant_conv",
8
+ "shift_factor",
9
+ "mid_block_add_attention",
10
+ "latents_mean",
11
+ "use_quant_conv"
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.17.194.0+d312836f",
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.17.194.0+d312836f/MODULE_68031b89e85788c276aa/vae_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3b2bdbb822866d7dd379e0bb7e77c5dd7c84367d395bbe1c45e4583580dc91a
3
+ size 382102067