Synchronizing local compiler cache.
Browse files- .gitattributes +4 -0
- neuronxcc-2.12.68.0+4480452af/0_REGISTRY/0.0.21.dev0/inference/stable-diffusion/runwayml/stable-diffusion-v1-5/cf0089936bbe59ef14dd.json +1 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/feature_extractor/preprocessor_config.json +28 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/model_index.json +38 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/scheduler/scheduler_config.json +15 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/text_encoder/config.json +48 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/text_encoder/model.neuron +3 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/tokenizer/merges.txt +0 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/tokenizer/special_tokens_map.json +24 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/tokenizer/tokenizer_config.json +30 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/tokenizer/vocab.json +0 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/unet/config.json +129 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/unet/model.neuron +3 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/vae_decoder/config.json +65 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/vae_decoder/model.neuron +3 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/vae_encoder/config.json +65 -0
- neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/vae_encoder/model.neuron +3 -0
.gitattributes
CHANGED
@@ -1822,3 +1822,7 @@ neuronxcc-2.13.66.0+6dfecc895/MODULE_3bbb1989a46dcfcab30c/vae_encoder/model.neur
|
|
1822 |
neuronxcc-2.12.68.0+4480452af/MODULE_d1452f214b8a6e81ff67/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
1823 |
neuronxcc-2.12.68.0+4480452af/MODULE_d1452f214b8a6e81ff67/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
|
1824 |
neuronxcc-2.12.68.0+4480452af/MODULE_d1452f214b8a6e81ff67/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
1822 |
neuronxcc-2.12.68.0+4480452af/MODULE_d1452f214b8a6e81ff67/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
1823 |
neuronxcc-2.12.68.0+4480452af/MODULE_d1452f214b8a6e81ff67/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
|
1824 |
neuronxcc-2.12.68.0+4480452af/MODULE_d1452f214b8a6e81ff67/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
1825 |
+
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
1826 |
+
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
|
1827 |
+
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
1828 |
+
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/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/runwayml/stable-diffusion-v1-5/cf0089936bbe59ef14dd.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, "task": "feature-extraction", "vocab_size": 49408}, "unet": {"_class_name": "UNet2DConditionModel", "act_fn": "silu", "addition_embed_type": null, "addition_embed_type_num_heads": 64, "addition_time_embed_dim": null, "attention_head_dim": 8, "attention_type": "default", "block_out_channels": [320, 640, 1280, 1280], "center_input_sample": false, "class_embed_type": null, "class_embeddings_concat": false, "conv_in_kernel": 3, "conv_out_kernel": 3, "cross_attention_dim": 768, "cross_attention_norm": null, "down_block_types": ["CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D"], "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": 96, "static_num_channels": 4, "static_sequence_length": 77, "static_width": 96}, "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": null, "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, "up_block_types": ["UpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D"], "upcast_attention": false, "use_linear_projection": false}}
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/feature_extractor/preprocessor_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
12 |
+
"image_mean": [
|
13 |
+
0.48145466,
|
14 |
+
0.4578275,
|
15 |
+
0.40821073
|
16 |
+
],
|
17 |
+
"image_processor_type": "CLIPImageProcessor",
|
18 |
+
"image_std": [
|
19 |
+
0.26862954,
|
20 |
+
0.26130258,
|
21 |
+
0.27577711
|
22 |
+
],
|
23 |
+
"resample": 3,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"shortest_edge": 224
|
27 |
+
}
|
28 |
+
}
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/model_index.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.27.2",
|
4 |
+
"_name_or_path": "runwayml/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.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "PNDMScheduler",
|
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 |
+
"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.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/text_encoder/config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9/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 |
+
],
|
36 |
+
"static_batch_size": 1,
|
37 |
+
"static_sequence_length": 77
|
38 |
+
},
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_hidden_layers": 12,
|
41 |
+
"pad_token_id": 1,
|
42 |
+
"projection_dim": 768,
|
43 |
+
"task": "feature-extraction",
|
44 |
+
"torch_dtype": "float32",
|
45 |
+
"torchscript": true,
|
46 |
+
"transformers_version": "4.36.2",
|
47 |
+
"vocab_size": 49408
|
48 |
+
}
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/text_encoder/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a3639f73681800c61a3b50d6e4eb79850cc2845ea3c7b05de9080b667be47f8
|
3 |
+
size 497408092
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/tokenizer/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/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_cf0089936bbe59ef14dd/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_cf0089936bbe59ef14dd/tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/unet/config.json
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9/unet",
|
6 |
+
"_use_default_values": [
|
7 |
+
"addition_embed_type_num_heads",
|
8 |
+
"encoder_hid_dim",
|
9 |
+
"mid_block_type",
|
10 |
+
"addition_embed_type",
|
11 |
+
"resnet_time_scale_shift",
|
12 |
+
"projection_class_embeddings_input_dim",
|
13 |
+
"use_linear_projection",
|
14 |
+
"time_embedding_act_fn",
|
15 |
+
"time_embedding_dim",
|
16 |
+
"time_cond_proj_dim",
|
17 |
+
"conv_in_kernel",
|
18 |
+
"num_class_embeds",
|
19 |
+
"only_cross_attention",
|
20 |
+
"class_embed_type",
|
21 |
+
"mid_block_only_cross_attention",
|
22 |
+
"resnet_skip_time_act",
|
23 |
+
"addition_time_embed_dim",
|
24 |
+
"time_embedding_type",
|
25 |
+
"cross_attention_norm",
|
26 |
+
"transformer_layers_per_block",
|
27 |
+
"reverse_transformer_layers_per_block",
|
28 |
+
"dual_cross_attention",
|
29 |
+
"attention_type",
|
30 |
+
"num_attention_heads",
|
31 |
+
"timestep_post_act",
|
32 |
+
"encoder_hid_dim_type",
|
33 |
+
"resnet_out_scale_factor",
|
34 |
+
"class_embeddings_concat",
|
35 |
+
"conv_out_kernel",
|
36 |
+
"dropout",
|
37 |
+
"upcast_attention"
|
38 |
+
],
|
39 |
+
"act_fn": "silu",
|
40 |
+
"addition_embed_type": null,
|
41 |
+
"addition_embed_type_num_heads": 64,
|
42 |
+
"addition_time_embed_dim": null,
|
43 |
+
"attention_head_dim": 8,
|
44 |
+
"attention_type": "default",
|
45 |
+
"block_out_channels": [
|
46 |
+
320,
|
47 |
+
640,
|
48 |
+
1280,
|
49 |
+
1280
|
50 |
+
],
|
51 |
+
"center_input_sample": false,
|
52 |
+
"class_embed_type": null,
|
53 |
+
"class_embeddings_concat": false,
|
54 |
+
"conv_in_kernel": 3,
|
55 |
+
"conv_out_kernel": 3,
|
56 |
+
"cross_attention_dim": 768,
|
57 |
+
"cross_attention_norm": null,
|
58 |
+
"down_block_types": [
|
59 |
+
"CrossAttnDownBlock2D",
|
60 |
+
"CrossAttnDownBlock2D",
|
61 |
+
"CrossAttnDownBlock2D",
|
62 |
+
"DownBlock2D"
|
63 |
+
],
|
64 |
+
"downsample_padding": 1,
|
65 |
+
"dropout": 0.0,
|
66 |
+
"dual_cross_attention": false,
|
67 |
+
"encoder_hid_dim": null,
|
68 |
+
"encoder_hid_dim_type": null,
|
69 |
+
"flip_sin_to_cos": true,
|
70 |
+
"freq_shift": 0,
|
71 |
+
"in_channels": 4,
|
72 |
+
"layers_per_block": 2,
|
73 |
+
"mid_block_only_cross_attention": null,
|
74 |
+
"mid_block_scale_factor": 1,
|
75 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
76 |
+
"neuron": {
|
77 |
+
"auto_cast": "matmul",
|
78 |
+
"auto_cast_type": "bf16",
|
79 |
+
"compiler_type": "neuronx-cc",
|
80 |
+
"compiler_version": "2.12.68.0+4480452af",
|
81 |
+
"dynamic_batch_size": false,
|
82 |
+
"inline_weights_to_neff": false,
|
83 |
+
"input_names": [
|
84 |
+
"sample",
|
85 |
+
"timestep",
|
86 |
+
"encoder_hidden_states"
|
87 |
+
],
|
88 |
+
"model_type": "unet",
|
89 |
+
"optlevel": "2",
|
90 |
+
"output_attentions": false,
|
91 |
+
"output_hidden_states": false,
|
92 |
+
"output_names": [
|
93 |
+
"sample"
|
94 |
+
],
|
95 |
+
"static_batch_size": 1,
|
96 |
+
"static_height": 96,
|
97 |
+
"static_num_channels": 4,
|
98 |
+
"static_sequence_length": 77,
|
99 |
+
"static_width": 96
|
100 |
+
},
|
101 |
+
"norm_eps": 1e-05,
|
102 |
+
"norm_num_groups": 32,
|
103 |
+
"num_attention_heads": null,
|
104 |
+
"num_class_embeds": null,
|
105 |
+
"only_cross_attention": false,
|
106 |
+
"out_channels": 4,
|
107 |
+
"projection_class_embeddings_input_dim": null,
|
108 |
+
"resnet_out_scale_factor": 1.0,
|
109 |
+
"resnet_skip_time_act": false,
|
110 |
+
"resnet_time_scale_shift": "default",
|
111 |
+
"reverse_transformer_layers_per_block": null,
|
112 |
+
"sample_size": 64,
|
113 |
+
"task": "semantic-segmentation",
|
114 |
+
"time_cond_proj_dim": null,
|
115 |
+
"time_embedding_act_fn": null,
|
116 |
+
"time_embedding_dim": null,
|
117 |
+
"time_embedding_type": "positional",
|
118 |
+
"timestep_post_act": null,
|
119 |
+
"transformer_layers_per_block": 1,
|
120 |
+
"transformers_version": null,
|
121 |
+
"up_block_types": [
|
122 |
+
"UpBlock2D",
|
123 |
+
"CrossAttnUpBlock2D",
|
124 |
+
"CrossAttnUpBlock2D",
|
125 |
+
"CrossAttnUpBlock2D"
|
126 |
+
],
|
127 |
+
"upcast_attention": false,
|
128 |
+
"use_linear_projection": false
|
129 |
+
}
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/unet/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d5e68e81d9d59587e7ccdea885cffb87666050ce920f0e2228e366ca978f1cc
|
3 |
+
size 3802932902
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/vae_decoder/config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9/vae",
|
6 |
+
"_use_default_values": [
|
7 |
+
"scaling_factor",
|
8 |
+
"latents_mean",
|
9 |
+
"latents_std",
|
10 |
+
"force_upcast"
|
11 |
+
],
|
12 |
+
"act_fn": "silu",
|
13 |
+
"block_out_channels": [
|
14 |
+
128,
|
15 |
+
256,
|
16 |
+
512,
|
17 |
+
512
|
18 |
+
],
|
19 |
+
"down_block_types": [
|
20 |
+
"DownEncoderBlock2D",
|
21 |
+
"DownEncoderBlock2D",
|
22 |
+
"DownEncoderBlock2D",
|
23 |
+
"DownEncoderBlock2D"
|
24 |
+
],
|
25 |
+
"force_upcast": true,
|
26 |
+
"in_channels": 3,
|
27 |
+
"latent_channels": 4,
|
28 |
+
"latents_mean": null,
|
29 |
+
"latents_std": null,
|
30 |
+
"layers_per_block": 2,
|
31 |
+
"neuron": {
|
32 |
+
"auto_cast": "matmul",
|
33 |
+
"auto_cast_type": "bf16",
|
34 |
+
"compiler_type": "neuronx-cc",
|
35 |
+
"compiler_version": "2.12.68.0+4480452af",
|
36 |
+
"dynamic_batch_size": false,
|
37 |
+
"inline_weights_to_neff": false,
|
38 |
+
"input_names": [
|
39 |
+
"latent_sample"
|
40 |
+
],
|
41 |
+
"model_type": "vae-decoder",
|
42 |
+
"optlevel": "2",
|
43 |
+
"output_attentions": false,
|
44 |
+
"output_hidden_states": false,
|
45 |
+
"output_names": [
|
46 |
+
"sample"
|
47 |
+
],
|
48 |
+
"static_batch_size": 1,
|
49 |
+
"static_height": 96,
|
50 |
+
"static_num_channels": 4,
|
51 |
+
"static_width": 96
|
52 |
+
},
|
53 |
+
"norm_num_groups": 32,
|
54 |
+
"out_channels": 3,
|
55 |
+
"sample_size": 512,
|
56 |
+
"scaling_factor": 0.18215,
|
57 |
+
"task": "semantic-segmentation",
|
58 |
+
"transformers_version": null,
|
59 |
+
"up_block_types": [
|
60 |
+
"UpDecoderBlock2D",
|
61 |
+
"UpDecoderBlock2D",
|
62 |
+
"UpDecoderBlock2D",
|
63 |
+
"UpDecoderBlock2D"
|
64 |
+
]
|
65 |
+
}
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/vae_decoder/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:729c968ce1949dfaecb1f3ab809c10c3ed92396c6b9aa122019659e7a8d3f452
|
3 |
+
size 604023804
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/vae_encoder/config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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--runwayml--stable-diffusion-v1-5/snapshots/1d0c4ebf6ff58a5caecab40fa1406526bca4b5b9/vae",
|
6 |
+
"_use_default_values": [
|
7 |
+
"scaling_factor",
|
8 |
+
"latents_mean",
|
9 |
+
"latents_std",
|
10 |
+
"force_upcast"
|
11 |
+
],
|
12 |
+
"act_fn": "silu",
|
13 |
+
"block_out_channels": [
|
14 |
+
128,
|
15 |
+
256,
|
16 |
+
512,
|
17 |
+
512
|
18 |
+
],
|
19 |
+
"down_block_types": [
|
20 |
+
"DownEncoderBlock2D",
|
21 |
+
"DownEncoderBlock2D",
|
22 |
+
"DownEncoderBlock2D",
|
23 |
+
"DownEncoderBlock2D"
|
24 |
+
],
|
25 |
+
"force_upcast": true,
|
26 |
+
"in_channels": 3,
|
27 |
+
"latent_channels": 4,
|
28 |
+
"latents_mean": null,
|
29 |
+
"latents_std": null,
|
30 |
+
"layers_per_block": 2,
|
31 |
+
"neuron": {
|
32 |
+
"auto_cast": "matmul",
|
33 |
+
"auto_cast_type": "bf16",
|
34 |
+
"compiler_type": "neuronx-cc",
|
35 |
+
"compiler_version": "2.12.68.0+4480452af",
|
36 |
+
"dynamic_batch_size": false,
|
37 |
+
"inline_weights_to_neff": false,
|
38 |
+
"input_names": [
|
39 |
+
"sample"
|
40 |
+
],
|
41 |
+
"model_type": "vae-encoder",
|
42 |
+
"optlevel": "2",
|
43 |
+
"output_attentions": false,
|
44 |
+
"output_hidden_states": false,
|
45 |
+
"output_names": [
|
46 |
+
"latent_sample"
|
47 |
+
],
|
48 |
+
"static_batch_size": 1,
|
49 |
+
"static_height": 768,
|
50 |
+
"static_num_channels": 3,
|
51 |
+
"static_width": 768
|
52 |
+
},
|
53 |
+
"norm_num_groups": 32,
|
54 |
+
"out_channels": 3,
|
55 |
+
"sample_size": 512,
|
56 |
+
"scaling_factor": 0.18215,
|
57 |
+
"task": "semantic-segmentation",
|
58 |
+
"transformers_version": null,
|
59 |
+
"up_block_types": [
|
60 |
+
"UpDecoderBlock2D",
|
61 |
+
"UpDecoderBlock2D",
|
62 |
+
"UpDecoderBlock2D",
|
63 |
+
"UpDecoderBlock2D"
|
64 |
+
]
|
65 |
+
}
|
neuronxcc-2.12.68.0+4480452af/MODULE_cf0089936bbe59ef14dd/vae_encoder/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d2af1fe89feb24197b66df330db2acc7758f22b2dc0d1807089126d164b478af
|
3 |
+
size 338787742
|