dacorvo HF Staff commited on
Commit
e1c7a2e
·
verified ·
1 Parent(s): 40cb3cc

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.0.dev5/stable-diffusion/stabilityai/stable-diffusion-2-1/473657b3ca2c429fc88e.json +132 -0
  3. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/feature_extractor/preprocessor_config.json +27 -0
  4. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/model_index.json +38 -0
  5. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/scheduler/scheduler_config.json +20 -0
  6. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/text_encoder/config.json +52 -0
  7. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/text_encoder/model.neuron +3 -0
  8. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/tokenizer/merges.txt +0 -0
  9. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/tokenizer/special_tokens_map.json +24 -0
  10. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/tokenizer/tokenizer_config.json +39 -0
  11. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/tokenizer/vocab.json +0 -0
  12. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/unet/config.json +132 -0
  13. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/unet/model.neuron +3 -0
  14. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/vae_decoder/config.json +75 -0
  15. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/vae_decoder/model.neuron +3 -0
  16. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/vae_encoder/config.json +75 -0
  17. neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/vae_encoder/model.neuron +3 -0
.gitattributes CHANGED
@@ -10038,3 +10038,7 @@ neuronxcc-2.19.8089.0+8ab9f450/MODULE_231fc28a72cac9c2d37f/text_encoder/model.ne
10038
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_231fc28a72cac9c2d37f/transformer/model.neuron filter=lfs diff=lfs merge=lfs -text
10039
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_231fc28a72cac9c2d37f/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
10040
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_231fc28a72cac9c2d37f/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
10038
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_231fc28a72cac9c2d37f/transformer/model.neuron filter=lfs diff=lfs merge=lfs -text
10039
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_231fc28a72cac9c2d37f/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
10040
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_231fc28a72cac9c2d37f/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
10041
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
10042
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
10043
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
10044
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev5/stable-diffusion/stabilityai/stable-diffusion-2-1/473657b3ca2c429fc88e.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "dynamic_batch_size": false,
26
+ "float_dtype": "fp32",
27
+ "inline_weights_to_neff": false,
28
+ "int_dtype": "int64",
29
+ "optlevel": "2",
30
+ "output_attentions": false,
31
+ "output_hidden_states": false,
32
+ "static_batch_size": 1,
33
+ "static_sequence_length": 77,
34
+ "task": "feature-extraction",
35
+ "tensor_parallel_size": 1
36
+ },
37
+ "num_attention_heads": 16,
38
+ "num_hidden_layers": 23,
39
+ "vocab_size": 49408
40
+ },
41
+ "unet": {
42
+ "_class_name": "UNet2DConditionModel",
43
+ "act_fn": "silu",
44
+ "addition_embed_type": null,
45
+ "addition_embed_type_num_heads": 64,
46
+ "addition_time_embed_dim": null,
47
+ "attention_head_dim": [
48
+ 5,
49
+ 10,
50
+ 20,
51
+ 20
52
+ ],
53
+ "attention_type": "default",
54
+ "block_out_channels": [
55
+ 320,
56
+ 640,
57
+ 1280,
58
+ 1280
59
+ ],
60
+ "center_input_sample": false,
61
+ "class_embed_type": null,
62
+ "class_embeddings_concat": false,
63
+ "conv_in_kernel": 3,
64
+ "conv_out_kernel": 3,
65
+ "cross_attention_dim": 1024,
66
+ "cross_attention_norm": null,
67
+ "down_block_types": [
68
+ "CrossAttnDownBlock2D",
69
+ "CrossAttnDownBlock2D",
70
+ "CrossAttnDownBlock2D",
71
+ "DownBlock2D"
72
+ ],
73
+ "downsample_padding": 1,
74
+ "dropout": 0.0,
75
+ "dual_cross_attention": false,
76
+ "encoder_hid_dim": null,
77
+ "encoder_hid_dim_type": null,
78
+ "flip_sin_to_cos": true,
79
+ "freq_shift": 0,
80
+ "in_channels": 4,
81
+ "layers_per_block": 2,
82
+ "mid_block_only_cross_attention": null,
83
+ "mid_block_scale_factor": 1,
84
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
85
+ "neuron": {
86
+ "auto_cast": "matmul",
87
+ "auto_cast_type": "bf16",
88
+ "compiler_type": "neuronx-cc",
89
+ "compiler_version": "2.19.8089.0+8ab9f450",
90
+ "dynamic_batch_size": false,
91
+ "float_dtype": "fp32",
92
+ "inline_weights_to_neff": false,
93
+ "int_dtype": "int64",
94
+ "optlevel": "2",
95
+ "output_attentions": false,
96
+ "output_hidden_states": false,
97
+ "static_batch_size": 1,
98
+ "static_height": 64,
99
+ "static_num_channels": 4,
100
+ "static_sequence_length": 77,
101
+ "static_vae_scale_factor": 8,
102
+ "static_width": 64,
103
+ "task": "semantic-segmentation",
104
+ "tensor_parallel_size": 1
105
+ },
106
+ "norm_eps": 1e-05,
107
+ "norm_num_groups": 32,
108
+ "num_attention_heads": null,
109
+ "num_class_embeds": null,
110
+ "only_cross_attention": false,
111
+ "out_channels": 4,
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
+ "time_cond_proj_dim": null,
118
+ "time_embedding_act_fn": null,
119
+ "time_embedding_dim": null,
120
+ "time_embedding_type": "positional",
121
+ "timestep_post_act": null,
122
+ "transformer_layers_per_block": 1,
123
+ "up_block_types": [
124
+ "UpBlock2D",
125
+ "CrossAttnUpBlock2D",
126
+ "CrossAttnUpBlock2D",
127
+ "CrossAttnUpBlock2D"
128
+ ],
129
+ "upcast_attention": true,
130
+ "use_linear_projection": true
131
+ }
132
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/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_473657b3ca2c429fc88e/model_index.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.34.0",
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_473657b3ca2c429fc88e/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDIMScheduler",
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
+ "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_473657b3ca2c429fc88e/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": "gelu",
12
+ "hidden_size": 1024,
13
+ "initializer_factor": 1.0,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 4096,
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
+ "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
+ "torch_dtype": "float32",
49
+ "torchscript": true,
50
+ "transformers_version": "4.51.3",
51
+ "vocab_size": 49408
52
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/text_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07d7d2950a74e681c44131315a8adf44cab43822e7e803969ea649fd7a40372f
3
+ size 1372573177
neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/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_473657b3ca2c429fc88e/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_473657b3ca2c429fc88e/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/unet/config.json ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.34.0",
5
+ "_use_default_values": [
6
+ "encoder_hid_dim",
7
+ "time_embedding_act_fn",
8
+ "encoder_hid_dim_type",
9
+ "resnet_out_scale_factor",
10
+ "addition_embed_type",
11
+ "projection_class_embeddings_input_dim",
12
+ "addition_time_embed_dim",
13
+ "transformer_layers_per_block",
14
+ "resnet_skip_time_act",
15
+ "time_cond_proj_dim",
16
+ "time_embedding_type",
17
+ "conv_out_kernel",
18
+ "mid_block_only_cross_attention",
19
+ "reverse_transformer_layers_per_block",
20
+ "resnet_time_scale_shift",
21
+ "attention_type",
22
+ "mid_block_type",
23
+ "num_attention_heads",
24
+ "class_embed_type",
25
+ "timestep_post_act",
26
+ "time_embedding_dim",
27
+ "cross_attention_norm",
28
+ "conv_in_kernel",
29
+ "addition_embed_type_num_heads",
30
+ "dropout",
31
+ "class_embeddings_concat"
32
+ ],
33
+ "act_fn": "silu",
34
+ "addition_embed_type": null,
35
+ "addition_embed_type_num_heads": 64,
36
+ "addition_time_embed_dim": null,
37
+ "attention_head_dim": [
38
+ 5,
39
+ 10,
40
+ 20,
41
+ 20
42
+ ],
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": 1024,
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
+ "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
+ "projection_class_embeddings_input_dim": null,
112
+ "resnet_out_scale_factor": 1.0,
113
+ "resnet_skip_time_act": false,
114
+ "resnet_time_scale_shift": "default",
115
+ "reverse_transformer_layers_per_block": null,
116
+ "sample_size": 96,
117
+ "time_cond_proj_dim": null,
118
+ "time_embedding_act_fn": null,
119
+ "time_embedding_dim": null,
120
+ "time_embedding_type": "positional",
121
+ "timestep_post_act": null,
122
+ "transformer_layers_per_block": 1,
123
+ "transformers_version": null,
124
+ "up_block_types": [
125
+ "UpBlock2D",
126
+ "CrossAttnUpBlock2D",
127
+ "CrossAttnUpBlock2D",
128
+ "CrossAttnUpBlock2D"
129
+ ],
130
+ "upcast_attention": true,
131
+ "use_linear_projection": true
132
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/unet/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b93aab41a7fcee9fe8dc8809dc9c4473ad4284fc011e86e48014415a8221e05
3
+ size 3570009805
neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/vae_decoder/config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.34.0",
5
+ "_use_default_values": [
6
+ "force_upcast",
7
+ "use_post_quant_conv",
8
+ "use_quant_conv",
9
+ "latents_mean",
10
+ "shift_factor",
11
+ "latents_std",
12
+ "scaling_factor",
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
+ "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
+ "sample_size": 768,
64
+ "scaling_factor": 0.18215,
65
+ "shift_factor": null,
66
+ "transformers_version": null,
67
+ "up_block_types": [
68
+ "UpDecoderBlock2D",
69
+ "UpDecoderBlock2D",
70
+ "UpDecoderBlock2D",
71
+ "UpDecoderBlock2D"
72
+ ],
73
+ "use_post_quant_conv": true,
74
+ "use_quant_conv": true
75
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/vae_decoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38bcebf34c32860d1419277e6f77950491b33af539164bb1dc68ff06cb7c4321
3
+ size 258982101
neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/vae_encoder/config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.34.0",
5
+ "_use_default_values": [
6
+ "force_upcast",
7
+ "use_post_quant_conv",
8
+ "use_quant_conv",
9
+ "latents_mean",
10
+ "shift_factor",
11
+ "latents_std",
12
+ "scaling_factor",
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
+ "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
+ "sample_size": 768,
64
+ "scaling_factor": 0.18215,
65
+ "shift_factor": null,
66
+ "transformers_version": null,
67
+ "up_block_types": [
68
+ "UpDecoderBlock2D",
69
+ "UpDecoderBlock2D",
70
+ "UpDecoderBlock2D",
71
+ "UpDecoderBlock2D"
72
+ ],
73
+ "use_post_quant_conv": true,
74
+ "use_quant_conv": true
75
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_473657b3ca2c429fc88e/vae_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6e91e335c07d6d5089137a41d2d74943d4ae39dd05e66af7bc13d9daf8799b9
3
+ size 169118803