Add Neuron cache for cache_mirror

#2
by badaoui HF Staff - opened
Files changed (17) hide show
  1. .gitattributes +4 -0
  2. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0/stable-diffusion/stable-diffusion-v1-5/stable-diffusion-v1-5/d3916fc96134b5cb8b2a.json +123 -0
  3. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/feature_extractor/preprocessor_config.json +27 -0
  4. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/model_index.json +38 -0
  5. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/scheduler/scheduler_config.json +15 -0
  6. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/text_encoder/config.json +50 -0
  7. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/text_encoder/model.neuron +3 -0
  8. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/tokenizer/merges.txt +0 -0
  9. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/tokenizer/special_tokens_map.json +24 -0
  10. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/tokenizer/tokenizer_config.json +31 -0
  11. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/tokenizer/vocab.json +0 -0
  12. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/unet/config.json +130 -0
  13. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/unet/model.neuron +3 -0
  14. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/vae_decoder/config.json +73 -0
  15. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/vae_decoder/model.neuron +3 -0
  16. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/vae_encoder/config.json +73 -0
  17. neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/vae_encoder/model.neuron +3 -0
.gitattributes CHANGED
@@ -44,3 +44,7 @@ neuronxcc-2.16.372.0+4a9b2326/MODULE_7bebb00dc9acea881b5a/model.neuron filter=lf
44
  neuronxcc-2.16.372.0+4a9b2326/MODULE_42c7c80374d4e8712757/model.neuron filter=lfs diff=lfs merge=lfs -text
45
  neuronxcc-2.16.372.0+4a9b2326/MODULE_fce72056449004b51385/model.neuron filter=lfs diff=lfs merge=lfs -text
46
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_925eeddec3d7c8386722/model.neuron filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
44
  neuronxcc-2.16.372.0+4a9b2326/MODULE_42c7c80374d4e8712757/model.neuron filter=lfs diff=lfs merge=lfs -text
45
  neuronxcc-2.16.372.0+4a9b2326/MODULE_fce72056449004b51385/model.neuron filter=lfs diff=lfs merge=lfs -text
46
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_925eeddec3d7c8386722/model.neuron filter=lfs diff=lfs merge=lfs -text
47
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
48
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
49
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
50
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0/stable-diffusion/stable-diffusion-v1-5/stable-diffusion-v1-5/d3916fc96134b5cb8b2a.json ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "MultiModelCacheEntry",
3
+ "_model_id": "stable-diffusion-v1-5/stable-diffusion-v1-5",
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": true,
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
+ "vocab_size": 49408
38
+ },
39
+ "unet": {
40
+ "_class_name": "UNet2DConditionModel",
41
+ "act_fn": "silu",
42
+ "addition_embed_type": null,
43
+ "addition_embed_type_num_heads": 64,
44
+ "addition_time_embed_dim": null,
45
+ "attention_head_dim": 8,
46
+ "attention_type": "default",
47
+ "block_out_channels": [
48
+ 320,
49
+ 640,
50
+ 1280,
51
+ 1280
52
+ ],
53
+ "center_input_sample": false,
54
+ "class_embed_type": null,
55
+ "class_embeddings_concat": false,
56
+ "conv_in_kernel": 3,
57
+ "conv_out_kernel": 3,
58
+ "cross_attention_dim": 768,
59
+ "cross_attention_norm": null,
60
+ "down_block_types": [
61
+ "CrossAttnDownBlock2D",
62
+ "CrossAttnDownBlock2D",
63
+ "CrossAttnDownBlock2D",
64
+ "DownBlock2D"
65
+ ],
66
+ "downsample_padding": 1,
67
+ "dropout": 0.0,
68
+ "dual_cross_attention": false,
69
+ "encoder_hid_dim": null,
70
+ "encoder_hid_dim_type": null,
71
+ "flip_sin_to_cos": true,
72
+ "freq_shift": 0,
73
+ "in_channels": 4,
74
+ "layers_per_block": 2,
75
+ "mid_block_only_cross_attention": null,
76
+ "mid_block_scale_factor": 1,
77
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
78
+ "neuron": {
79
+ "auto_cast": "matmul",
80
+ "auto_cast_type": "bf16",
81
+ "compiler_type": "neuronx-cc",
82
+ "compiler_version": "2.19.8089.0+8ab9f450",
83
+ "dynamic_batch_size": false,
84
+ "inline_weights_to_neff": true,
85
+ "optlevel": "2",
86
+ "output_attentions": false,
87
+ "output_hidden_states": false,
88
+ "static_batch_size": 1,
89
+ "static_height": 64,
90
+ "static_num_channels": 4,
91
+ "static_sequence_length": 77,
92
+ "static_vae_scale_factor": 8,
93
+ "static_width": 64,
94
+ "task": "semantic-segmentation",
95
+ "tensor_parallel_size": 1
96
+ },
97
+ "norm_eps": 1e-05,
98
+ "norm_num_groups": 32,
99
+ "num_attention_heads": null,
100
+ "num_class_embeds": null,
101
+ "only_cross_attention": false,
102
+ "out_channels": 4,
103
+ "projection_class_embeddings_input_dim": null,
104
+ "resnet_out_scale_factor": 1.0,
105
+ "resnet_skip_time_act": false,
106
+ "resnet_time_scale_shift": "default",
107
+ "reverse_transformer_layers_per_block": null,
108
+ "time_cond_proj_dim": null,
109
+ "time_embedding_act_fn": null,
110
+ "time_embedding_dim": null,
111
+ "time_embedding_type": "positional",
112
+ "timestep_post_act": null,
113
+ "transformer_layers_per_block": 1,
114
+ "up_block_types": [
115
+ "UpBlock2D",
116
+ "CrossAttnUpBlock2D",
117
+ "CrossAttnUpBlock2D",
118
+ "CrossAttnUpBlock2D"
119
+ ],
120
+ "upcast_attention": false,
121
+ "use_linear_projection": false
122
+ }
123
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/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_d3916fc96134b5cb8b2a/model_index.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.34.0",
4
+ "_name_or_path": "stable-diffusion-v1-5/stable-diffusion-v1-5",
5
+ "feature_extractor": [
6
+ "transformers",
7
+ "CLIPImageProcessor"
8
+ ],
9
+ "image_encoder": [
10
+ null,
11
+ null
12
+ ],
13
+ "requires_safety_checker": true,
14
+ "safety_checker": [
15
+ "stable_diffusion",
16
+ "StableDiffusionSafetyChecker"
17
+ ],
18
+ "scheduler": [
19
+ "diffusers",
20
+ "PNDMScheduler"
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_d3916fc96134b5cb8b2a/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "PNDMScheduler",
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
+ "num_train_timesteps": 1000,
9
+ "prediction_type": "epsilon",
10
+ "set_alpha_to_one": false,
11
+ "skip_prk_steps": true,
12
+ "steps_offset": 1,
13
+ "timestep_spacing": "leading",
14
+ "trained_betas": null
15
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/text_encoder/config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
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
+ ],
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
+ "pad_token_id": 1,
45
+ "projection_dim": 768,
46
+ "torch_dtype": "float32",
47
+ "torchscript": true,
48
+ "transformers_version": "4.51.3",
49
+ "vocab_size": 49408
50
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/text_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cd61bcd3fc4e939a8240bfe4487c42da1725d85f787d07afc003d5ed9ac0b3a
3
+ size 441582967
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/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": "<|endoftext|>",
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_d3916fc96134b5cb8b2a/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": false,
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_d3916fc96134b5cb8b2a/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/unet/config.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.34.0",
5
+ "_use_default_values": [
6
+ "addition_time_embed_dim",
7
+ "upcast_attention",
8
+ "only_cross_attention",
9
+ "class_embed_type",
10
+ "conv_out_kernel",
11
+ "dual_cross_attention",
12
+ "encoder_hid_dim_type",
13
+ "num_class_embeds",
14
+ "time_embedding_act_fn",
15
+ "mid_block_type",
16
+ "addition_embed_type",
17
+ "conv_in_kernel",
18
+ "resnet_out_scale_factor",
19
+ "time_cond_proj_dim",
20
+ "num_attention_heads",
21
+ "cross_attention_norm",
22
+ "encoder_hid_dim",
23
+ "transformer_layers_per_block",
24
+ "reverse_transformer_layers_per_block",
25
+ "mid_block_only_cross_attention",
26
+ "class_embeddings_concat",
27
+ "timestep_post_act",
28
+ "use_linear_projection",
29
+ "attention_type",
30
+ "projection_class_embeddings_input_dim",
31
+ "resnet_skip_time_act",
32
+ "resnet_time_scale_shift",
33
+ "addition_embed_type_num_heads",
34
+ "time_embedding_dim",
35
+ "dropout",
36
+ "time_embedding_type"
37
+ ],
38
+ "act_fn": "silu",
39
+ "addition_embed_type": null,
40
+ "addition_embed_type_num_heads": 64,
41
+ "addition_time_embed_dim": null,
42
+ "attention_head_dim": 8,
43
+ "attention_type": "default",
44
+ "block_out_channels": [
45
+ 320,
46
+ 640,
47
+ 1280,
48
+ 1280
49
+ ],
50
+ "center_input_sample": false,
51
+ "class_embed_type": null,
52
+ "class_embeddings_concat": false,
53
+ "conv_in_kernel": 3,
54
+ "conv_out_kernel": 3,
55
+ "cross_attention_dim": 768,
56
+ "cross_attention_norm": null,
57
+ "down_block_types": [
58
+ "CrossAttnDownBlock2D",
59
+ "CrossAttnDownBlock2D",
60
+ "CrossAttnDownBlock2D",
61
+ "DownBlock2D"
62
+ ],
63
+ "downsample_padding": 1,
64
+ "dropout": 0.0,
65
+ "dual_cross_attention": false,
66
+ "encoder_hid_dim": null,
67
+ "encoder_hid_dim_type": null,
68
+ "flip_sin_to_cos": true,
69
+ "freq_shift": 0,
70
+ "in_channels": 4,
71
+ "layers_per_block": 2,
72
+ "mid_block_only_cross_attention": null,
73
+ "mid_block_scale_factor": 1,
74
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
75
+ "neuron": {
76
+ "auto_cast": "matmul",
77
+ "auto_cast_type": "bf16",
78
+ "compiler_type": "neuronx-cc",
79
+ "compiler_version": "2.19.8089.0+8ab9f450",
80
+ "dynamic_batch_size": false,
81
+ "inline_weights_to_neff": true,
82
+ "input_names": [
83
+ "sample",
84
+ "timestep",
85
+ "encoder_hidden_states"
86
+ ],
87
+ "model_type": "unet",
88
+ "optlevel": "2",
89
+ "output_attentions": false,
90
+ "output_hidden_states": false,
91
+ "output_names": [
92
+ "sample"
93
+ ],
94
+ "static_batch_size": 1,
95
+ "static_height": 64,
96
+ "static_num_channels": 4,
97
+ "static_sequence_length": 77,
98
+ "static_vae_scale_factor": 8,
99
+ "static_width": 64,
100
+ "task": "semantic-segmentation",
101
+ "tensor_parallel_size": 1
102
+ },
103
+ "norm_eps": 1e-05,
104
+ "norm_num_groups": 32,
105
+ "num_attention_heads": null,
106
+ "num_class_embeds": null,
107
+ "only_cross_attention": false,
108
+ "out_channels": 4,
109
+ "projection_class_embeddings_input_dim": null,
110
+ "resnet_out_scale_factor": 1.0,
111
+ "resnet_skip_time_act": false,
112
+ "resnet_time_scale_shift": "default",
113
+ "reverse_transformer_layers_per_block": null,
114
+ "sample_size": 64,
115
+ "time_cond_proj_dim": null,
116
+ "time_embedding_act_fn": null,
117
+ "time_embedding_dim": null,
118
+ "time_embedding_type": "positional",
119
+ "timestep_post_act": null,
120
+ "transformer_layers_per_block": 1,
121
+ "transformers_version": null,
122
+ "up_block_types": [
123
+ "UpBlock2D",
124
+ "CrossAttnUpBlock2D",
125
+ "CrossAttnUpBlock2D",
126
+ "CrossAttnUpBlock2D"
127
+ ],
128
+ "upcast_attention": false,
129
+ "use_linear_projection": false
130
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/unet/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e84d538c285732c9435193aa7cd2c82fa3c8ef6b71a098f993850e3752ce6e0
3
+ size 1933053363
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/vae_decoder/config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.34.0",
5
+ "_use_default_values": [
6
+ "shift_factor",
7
+ "latents_mean",
8
+ "use_quant_conv",
9
+ "scaling_factor",
10
+ "latents_std",
11
+ "force_upcast",
12
+ "use_post_quant_conv",
13
+ "mid_block_add_attention"
14
+ ],
15
+ "act_fn": "silu",
16
+ "block_out_channels": [
17
+ 128,
18
+ 256,
19
+ 512,
20
+ 512
21
+ ],
22
+ "down_block_types": [
23
+ "DownEncoderBlock2D",
24
+ "DownEncoderBlock2D",
25
+ "DownEncoderBlock2D",
26
+ "DownEncoderBlock2D"
27
+ ],
28
+ "force_upcast": true,
29
+ "in_channels": 3,
30
+ "latent_channels": 4,
31
+ "latents_mean": null,
32
+ "latents_std": null,
33
+ "layers_per_block": 2,
34
+ "mid_block_add_attention": true,
35
+ "neuron": {
36
+ "auto_cast": "matmul",
37
+ "auto_cast_type": "bf16",
38
+ "compiler_type": "neuronx-cc",
39
+ "compiler_version": "2.19.8089.0+8ab9f450",
40
+ "dynamic_batch_size": false,
41
+ "inline_weights_to_neff": true,
42
+ "input_names": [
43
+ "latent_sample"
44
+ ],
45
+ "model_type": "vae-decoder",
46
+ "optlevel": "2",
47
+ "output_attentions": false,
48
+ "output_hidden_states": false,
49
+ "output_names": [
50
+ "sample"
51
+ ],
52
+ "static_batch_size": 1,
53
+ "static_height": 64,
54
+ "static_num_channels": 4,
55
+ "static_width": 64,
56
+ "task": "semantic-segmentation",
57
+ "tensor_parallel_size": 1
58
+ },
59
+ "norm_num_groups": 32,
60
+ "out_channels": 3,
61
+ "sample_size": 512,
62
+ "scaling_factor": 0.18215,
63
+ "shift_factor": null,
64
+ "transformers_version": null,
65
+ "up_block_types": [
66
+ "UpDecoderBlock2D",
67
+ "UpDecoderBlock2D",
68
+ "UpDecoderBlock2D",
69
+ "UpDecoderBlock2D"
70
+ ],
71
+ "use_post_quant_conv": true,
72
+ "use_quant_conv": true
73
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/vae_decoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a0907a6fac9e3721f7120ddeed979b4f057901cc00db9618d5f0a6bd1f6a663
3
+ size 158930739
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/vae_encoder/config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.34.0",
5
+ "_use_default_values": [
6
+ "shift_factor",
7
+ "latents_mean",
8
+ "use_quant_conv",
9
+ "scaling_factor",
10
+ "latents_std",
11
+ "force_upcast",
12
+ "use_post_quant_conv",
13
+ "mid_block_add_attention"
14
+ ],
15
+ "act_fn": "silu",
16
+ "block_out_channels": [
17
+ 128,
18
+ 256,
19
+ 512,
20
+ 512
21
+ ],
22
+ "down_block_types": [
23
+ "DownEncoderBlock2D",
24
+ "DownEncoderBlock2D",
25
+ "DownEncoderBlock2D",
26
+ "DownEncoderBlock2D"
27
+ ],
28
+ "force_upcast": true,
29
+ "in_channels": 3,
30
+ "latent_channels": 4,
31
+ "latents_mean": null,
32
+ "latents_std": null,
33
+ "layers_per_block": 2,
34
+ "mid_block_add_attention": true,
35
+ "neuron": {
36
+ "auto_cast": "matmul",
37
+ "auto_cast_type": "bf16",
38
+ "compiler_type": "neuronx-cc",
39
+ "compiler_version": "2.19.8089.0+8ab9f450",
40
+ "dynamic_batch_size": false,
41
+ "inline_weights_to_neff": true,
42
+ "input_names": [
43
+ "sample"
44
+ ],
45
+ "model_type": "vae-encoder",
46
+ "optlevel": "2",
47
+ "output_attentions": false,
48
+ "output_hidden_states": false,
49
+ "output_names": [
50
+ "latent_parameters"
51
+ ],
52
+ "static_batch_size": 1,
53
+ "static_height": 512,
54
+ "static_num_channels": 3,
55
+ "static_width": 512,
56
+ "task": "semantic-segmentation",
57
+ "tensor_parallel_size": 1
58
+ },
59
+ "norm_num_groups": 32,
60
+ "out_channels": 3,
61
+ "sample_size": 512,
62
+ "scaling_factor": 0.18215,
63
+ "shift_factor": null,
64
+ "transformers_version": null,
65
+ "up_block_types": [
66
+ "UpDecoderBlock2D",
67
+ "UpDecoderBlock2D",
68
+ "UpDecoderBlock2D",
69
+ "UpDecoderBlock2D"
70
+ ],
71
+ "use_post_quant_conv": true,
72
+ "use_quant_conv": true
73
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_d3916fc96134b5cb8b2a/vae_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b7ca813977933ee35d0366e0db020e53f57b3638f0af5c1eccb026f0649c7b1
3
+ size 100432177