Jingya HF staff commited on
Commit
abc4981
1 Parent(s): 43bd9d9

Synchronizing local compiler cache.

Browse files
Files changed (22) hide show
  1. .gitattributes +5 -0
  2. neuronxcc-2.12.68.0+4480452af/0_REGISTRY/0.0.21.dev0/inference/stable-diffusion/stabilityai/stable-diffusion-xl-base-1.0/5fc37aafb104b575787b.json +1 -0
  3. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/model_index.json +43 -0
  4. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/scheduler/scheduler_config.json +22 -0
  5. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/text_encoder/config.json +50 -0
  6. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/text_encoder/model.neuron +3 -0
  7. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/text_encoder_2/config.json +50 -0
  8. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/text_encoder_2/model.neuron +3 -0
  9. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer/merges.txt +0 -0
  10. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer/special_tokens_map.json +24 -0
  11. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer/tokenizer_config.json +30 -0
  12. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer/vocab.json +0 -0
  13. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer_2/merges.txt +0 -0
  14. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer_2/special_tokens_map.json +24 -0
  15. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer_2/tokenizer_config.json +38 -0
  16. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer_2/vocab.json +0 -0
  17. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/unet/config.json +108 -0
  18. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/unet/model.neuron +3 -0
  19. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/vae_decoder/config.json +63 -0
  20. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/vae_decoder/model.neuron +3 -0
  21. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/vae_encoder/config.json +63 -0
  22. neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/vae_encoder/model.neuron +3 -0
.gitattributes CHANGED
@@ -1839,3 +1839,8 @@ neuronxcc-2.12.68.0+4480452af/MODULE_b4e7f395df2f5255759d/text_encoder_2/model.n
1839
  neuronxcc-2.12.68.0+4480452af/MODULE_b4e7f395df2f5255759d/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
1840
  neuronxcc-2.12.68.0+4480452af/MODULE_b4e7f395df2f5255759d/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
1841
  neuronxcc-2.12.68.0+4480452af/MODULE_b4e7f395df2f5255759d/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
1839
  neuronxcc-2.12.68.0+4480452af/MODULE_b4e7f395df2f5255759d/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
1840
  neuronxcc-2.12.68.0+4480452af/MODULE_b4e7f395df2f5255759d/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
1841
  neuronxcc-2.12.68.0+4480452af/MODULE_b4e7f395df2f5255759d/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
1842
+ neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
1843
+ neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/text_encoder_2/model.neuron filter=lfs diff=lfs merge=lfs -text
1844
+ neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
1845
+ neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
1846
+ neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
neuronxcc-2.12.68.0+4480452af/0_REGISTRY/0.0.21.dev0/inference/stable-diffusion/stabilityai/stable-diffusion-xl-base-1.0/5fc37aafb104b575787b.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"model_type": "stable-diffusion", "text_encoder": {"architectures": ["CLIPTextModel"], "attention_dropout": 0.0, "dropout": 0.0, "hidden_act": "quick_gelu", "hidden_size": 768, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-05, "max_position_embeddings": 77, "model_type": "clip_text_model", "neuron": {"auto_cast": "matmul", "auto_cast_type": "bf16", "compiler_type": "neuronx-cc", "compiler_version": "2.12.68.0+4480452af", "dynamic_batch_size": false, "inline_weights_to_neff": false, "optlevel": "2", "output_attentions": false, "output_hidden_states": false, "static_batch_size": 1, "static_sequence_length": 77}, "num_attention_heads": 12, "num_hidden_layers": 12, "output_hidden_states": true, "task": "feature-extraction", "vocab_size": 49408}, "text_encoder_2": {"architectures": ["CLIPTextModelWithProjection"], "attention_dropout": 0.0, "dropout": 0.0, "hidden_act": "gelu", "hidden_size": 1280, "initializer_factor": 1.0, "initializer_range": 0.02, "intermediate_size": 5120, "layer_norm_eps": 1e-05, "max_position_embeddings": 77, "model_type": "clip_text_model", "neuron": {"auto_cast": "matmul", "auto_cast_type": "bf16", "compiler_type": "neuronx-cc", "compiler_version": "2.12.68.0+4480452af", "dynamic_batch_size": false, "inline_weights_to_neff": false, "optlevel": "2", "output_attentions": false, "output_hidden_states": false, "static_batch_size": 1, "static_sequence_length": 77}, "num_attention_heads": 20, "num_hidden_layers": 32, "output_hidden_states": true, "task": "feature-extraction", "vocab_size": 49408}, "unet": {"_class_name": "UNet2DConditionModel", "act_fn": "silu", "addition_embed_type": "text_time", "addition_embed_type_num_heads": 64, "addition_time_embed_dim": 256, "attention_head_dim": [5, 10, 20], "attention_type": "default", "block_out_channels": [320, 640, 1280], "center_input_sample": false, "class_embed_type": null, "class_embeddings_concat": false, "conv_in_kernel": 3, "conv_out_kernel": 3, "cross_attention_dim": 2048, "cross_attention_norm": null, "down_block_types": ["DownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D"], "downsample_padding": 1, "dropout": 0.0, "dual_cross_attention": false, "encoder_hid_dim": null, "encoder_hid_dim_type": null, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "mid_block_only_cross_attention": null, "mid_block_scale_factor": 1, "mid_block_type": "UNetMidBlock2DCrossAttn", "neuron": {"auto_cast": "matmul", "auto_cast_type": "bf16", "compiler_type": "neuronx-cc", "compiler_version": "2.12.68.0+4480452af", "dynamic_batch_size": false, "inline_weights_to_neff": false, "optlevel": "2", "output_attentions": false, "output_hidden_states": false, "static_batch_size": 1, "static_height": 128, "static_num_channels": 4, "static_sequence_length": 77, "static_width": 128}, "norm_eps": 1e-05, "norm_num_groups": 32, "num_attention_heads": null, "num_class_embeds": null, "only_cross_attention": false, "out_channels": 4, "projection_class_embeddings_input_dim": 2816, "resnet_out_scale_factor": 1.0, "resnet_skip_time_act": false, "resnet_time_scale_shift": "default", "reverse_transformer_layers_per_block": null, "task": "semantic-segmentation", "time_cond_proj_dim": null, "time_embedding_act_fn": null, "time_embedding_dim": null, "time_embedding_type": "positional", "timestep_post_act": null, "transformer_layers_per_block": [1, 2, 10], "up_block_types": ["CrossAttnUpBlock2D", "CrossAttnUpBlock2D", "UpBlock2D"], "upcast_attention": null, "use_linear_projection": true}}
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/model_index.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionXLImg2ImgPipeline",
3
+ "_diffusers_version": "0.27.2",
4
+ "_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
5
+ "feature_extractor": [
6
+ null,
7
+ null
8
+ ],
9
+ "force_zeros_for_empty_prompt": true,
10
+ "image_encoder": [
11
+ null,
12
+ null
13
+ ],
14
+ "requires_aesthetics_score": false,
15
+ "scheduler": [
16
+ "diffusers",
17
+ "EulerDiscreteScheduler"
18
+ ],
19
+ "text_encoder": [
20
+ "transformers",
21
+ "CLIPTextModel"
22
+ ],
23
+ "text_encoder_2": [
24
+ "transformers",
25
+ "CLIPTextModelWithProjection"
26
+ ],
27
+ "tokenizer": [
28
+ "transformers",
29
+ "CLIPTokenizer"
30
+ ],
31
+ "tokenizer_2": [
32
+ "transformers",
33
+ "CLIPTokenizer"
34
+ ],
35
+ "unet": [
36
+ "diffusers",
37
+ "UNet2DConditionModel"
38
+ ],
39
+ "vae": [
40
+ "diffusers",
41
+ "AutoencoderKL"
42
+ ]
43
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "EulerDiscreteScheduler",
3
+ "_diffusers_version": "0.27.2",
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
+ "sigma_max": null,
15
+ "sigma_min": null,
16
+ "skip_prk_steps": true,
17
+ "steps_offset": 1,
18
+ "timestep_spacing": "leading",
19
+ "timestep_type": "discrete",
20
+ "trained_betas": null,
21
+ "use_karras_sigmas": false
22
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/text_encoder/config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/text_encoder",
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.12.68.0+4480452af",
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
+ },
40
+ "num_attention_heads": 12,
41
+ "num_hidden_layers": 12,
42
+ "output_hidden_states": true,
43
+ "pad_token_id": 1,
44
+ "projection_dim": 768,
45
+ "task": "feature-extraction",
46
+ "torch_dtype": "float16",
47
+ "torchscript": true,
48
+ "transformers_version": "4.36.2",
49
+ "vocab_size": 49408
50
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/text_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52afb803213c4e5d2f4ce6a81888e69b92fa4c602092fbb9c19e5b3cbc7460b3
3
+ size 497428892
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/text_encoder_2/config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/text_encoder_2",
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.12.68.0+4480452af",
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
+ "text_embeds",
34
+ "last_hidden_state",
35
+ "hidden_states"
36
+ ],
37
+ "static_batch_size": 1,
38
+ "static_sequence_length": 77
39
+ },
40
+ "num_attention_heads": 20,
41
+ "num_hidden_layers": 32,
42
+ "output_hidden_states": true,
43
+ "pad_token_id": 1,
44
+ "projection_dim": 1280,
45
+ "task": "feature-extraction",
46
+ "torch_dtype": "float16",
47
+ "torchscript": true,
48
+ "transformers_version": "4.36.2",
49
+ "vocab_size": 49408
50
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/text_encoder_2/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfcaa77404f81911ae526c62d630aee70e52333ca2a9855a37a9f9b169369ca1
3
+ size 2805504361
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/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.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "model_max_length": 77,
27
+ "pad_token": "<|endoftext|>",
28
+ "tokenizer_class": "CLIPTokenizer",
29
+ "unk_token": "<|endoftext|>"
30
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer_2/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer_2/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.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer_2/tokenizer_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "model_max_length": 77,
35
+ "pad_token": "!",
36
+ "tokenizer_class": "CLIPTokenizer",
37
+ "unk_token": "<|endoftext|>"
38
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/tokenizer_2/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/unet/config.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.27.2",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/unet",
6
+ "_use_default_values": [
7
+ "reverse_transformer_layers_per_block",
8
+ "dropout",
9
+ "attention_type"
10
+ ],
11
+ "act_fn": "silu",
12
+ "addition_embed_type": "text_time",
13
+ "addition_embed_type_num_heads": 64,
14
+ "addition_time_embed_dim": 256,
15
+ "attention_head_dim": [
16
+ 5,
17
+ 10,
18
+ 20
19
+ ],
20
+ "attention_type": "default",
21
+ "block_out_channels": [
22
+ 320,
23
+ 640,
24
+ 1280
25
+ ],
26
+ "center_input_sample": false,
27
+ "class_embed_type": null,
28
+ "class_embeddings_concat": false,
29
+ "conv_in_kernel": 3,
30
+ "conv_out_kernel": 3,
31
+ "cross_attention_dim": 2048,
32
+ "cross_attention_norm": null,
33
+ "down_block_types": [
34
+ "DownBlock2D",
35
+ "CrossAttnDownBlock2D",
36
+ "CrossAttnDownBlock2D"
37
+ ],
38
+ "downsample_padding": 1,
39
+ "dropout": 0.0,
40
+ "dual_cross_attention": false,
41
+ "encoder_hid_dim": null,
42
+ "encoder_hid_dim_type": null,
43
+ "flip_sin_to_cos": true,
44
+ "freq_shift": 0,
45
+ "in_channels": 4,
46
+ "layers_per_block": 2,
47
+ "mid_block_only_cross_attention": null,
48
+ "mid_block_scale_factor": 1,
49
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
50
+ "neuron": {
51
+ "auto_cast": "matmul",
52
+ "auto_cast_type": "bf16",
53
+ "compiler_type": "neuronx-cc",
54
+ "compiler_version": "2.12.68.0+4480452af",
55
+ "dynamic_batch_size": false,
56
+ "inline_weights_to_neff": false,
57
+ "input_names": [
58
+ "sample",
59
+ "timestep",
60
+ "encoder_hidden_states",
61
+ "text_embeds",
62
+ "time_ids"
63
+ ],
64
+ "model_type": "unet",
65
+ "optlevel": "2",
66
+ "output_attentions": false,
67
+ "output_hidden_states": false,
68
+ "output_names": [
69
+ "sample"
70
+ ],
71
+ "static_batch_size": 1,
72
+ "static_height": 128,
73
+ "static_num_channels": 4,
74
+ "static_sequence_length": 77,
75
+ "static_width": 128
76
+ },
77
+ "norm_eps": 1e-05,
78
+ "norm_num_groups": 32,
79
+ "num_attention_heads": null,
80
+ "num_class_embeds": null,
81
+ "only_cross_attention": false,
82
+ "out_channels": 4,
83
+ "projection_class_embeddings_input_dim": 2816,
84
+ "resnet_out_scale_factor": 1.0,
85
+ "resnet_skip_time_act": false,
86
+ "resnet_time_scale_shift": "default",
87
+ "reverse_transformer_layers_per_block": null,
88
+ "sample_size": 128,
89
+ "task": "semantic-segmentation",
90
+ "time_cond_proj_dim": null,
91
+ "time_embedding_act_fn": null,
92
+ "time_embedding_dim": null,
93
+ "time_embedding_type": "positional",
94
+ "timestep_post_act": null,
95
+ "transformer_layers_per_block": [
96
+ 1,
97
+ 2,
98
+ 10
99
+ ],
100
+ "transformers_version": null,
101
+ "up_block_types": [
102
+ "CrossAttnUpBlock2D",
103
+ "CrossAttnUpBlock2D",
104
+ "UpBlock2D"
105
+ ],
106
+ "upcast_attention": null,
107
+ "use_linear_projection": true
108
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/unet/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51c57d5963019e7f7e2d825ef68c171516c376c8b3ae55d411e068d181d565fd
3
+ size 10335355691
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/vae_decoder/config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.27.2",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/vae",
6
+ "_use_default_values": [
7
+ "latents_mean",
8
+ "latents_std"
9
+ ],
10
+ "act_fn": "silu",
11
+ "block_out_channels": [
12
+ 128,
13
+ 256,
14
+ 512,
15
+ 512
16
+ ],
17
+ "down_block_types": [
18
+ "DownEncoderBlock2D",
19
+ "DownEncoderBlock2D",
20
+ "DownEncoderBlock2D",
21
+ "DownEncoderBlock2D"
22
+ ],
23
+ "force_upcast": true,
24
+ "in_channels": 3,
25
+ "latent_channels": 4,
26
+ "latents_mean": null,
27
+ "latents_std": null,
28
+ "layers_per_block": 2,
29
+ "neuron": {
30
+ "auto_cast": "matmul",
31
+ "auto_cast_type": "bf16",
32
+ "compiler_type": "neuronx-cc",
33
+ "compiler_version": "2.12.68.0+4480452af",
34
+ "dynamic_batch_size": false,
35
+ "inline_weights_to_neff": false,
36
+ "input_names": [
37
+ "latent_sample"
38
+ ],
39
+ "model_type": "vae-decoder",
40
+ "optlevel": "2",
41
+ "output_attentions": false,
42
+ "output_hidden_states": false,
43
+ "output_names": [
44
+ "sample"
45
+ ],
46
+ "static_batch_size": 1,
47
+ "static_height": 128,
48
+ "static_num_channels": 4,
49
+ "static_width": 128
50
+ },
51
+ "norm_num_groups": 32,
52
+ "out_channels": 3,
53
+ "sample_size": 1024,
54
+ "scaling_factor": 0.13025,
55
+ "task": "semantic-segmentation",
56
+ "transformers_version": null,
57
+ "up_block_types": [
58
+ "UpDecoderBlock2D",
59
+ "UpDecoderBlock2D",
60
+ "UpDecoderBlock2D",
61
+ "UpDecoderBlock2D"
62
+ ]
63
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/vae_decoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e1549a1355c29214897573a542df411e93edd5f5b6ae850ba59fe2058aad563
3
+ size 912124924
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/vae_encoder/config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.27.2",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/vae",
6
+ "_use_default_values": [
7
+ "latents_mean",
8
+ "latents_std"
9
+ ],
10
+ "act_fn": "silu",
11
+ "block_out_channels": [
12
+ 128,
13
+ 256,
14
+ 512,
15
+ 512
16
+ ],
17
+ "down_block_types": [
18
+ "DownEncoderBlock2D",
19
+ "DownEncoderBlock2D",
20
+ "DownEncoderBlock2D",
21
+ "DownEncoderBlock2D"
22
+ ],
23
+ "force_upcast": true,
24
+ "in_channels": 3,
25
+ "latent_channels": 4,
26
+ "latents_mean": null,
27
+ "latents_std": null,
28
+ "layers_per_block": 2,
29
+ "neuron": {
30
+ "auto_cast": "matmul",
31
+ "auto_cast_type": "bf16",
32
+ "compiler_type": "neuronx-cc",
33
+ "compiler_version": "2.12.68.0+4480452af",
34
+ "dynamic_batch_size": false,
35
+ "inline_weights_to_neff": false,
36
+ "input_names": [
37
+ "sample"
38
+ ],
39
+ "model_type": "vae-encoder",
40
+ "optlevel": "2",
41
+ "output_attentions": false,
42
+ "output_hidden_states": false,
43
+ "output_names": [
44
+ "latent_sample"
45
+ ],
46
+ "static_batch_size": 1,
47
+ "static_height": 1024,
48
+ "static_num_channels": 3,
49
+ "static_width": 1024
50
+ },
51
+ "norm_num_groups": 32,
52
+ "out_channels": 3,
53
+ "sample_size": 1024,
54
+ "scaling_factor": 0.13025,
55
+ "task": "semantic-segmentation",
56
+ "transformers_version": null,
57
+ "up_block_types": [
58
+ "UpDecoderBlock2D",
59
+ "UpDecoderBlock2D",
60
+ "UpDecoderBlock2D",
61
+ "UpDecoderBlock2D"
62
+ ]
63
+ }
neuronxcc-2.12.68.0+4480452af/MODULE_5fc37aafb104b575787b/vae_encoder/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5438a8a3c9119e91aaae99be3fc94855fbc6bdf82acfcc56beae4362f8147416
3
+ size 471549344