Synchronizing local compiler cache.
Browse files- .gitattributes +4 -0
- neuronxcc-2.15.143.0+e39249ad/0_REGISTRY/0.0.27.dev0/inference/stable-diffusion/stabilityai/stable-diffusion-xl-refiner-1.0/05d8ecae48e91ee8980d.json +1 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/model_index.json +43 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/scheduler/scheduler_config.json +23 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/text_encoder_2/config.json +51 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/text_encoder_2/model.neuron +3 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/tokenizer_2/merges.txt +0 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/tokenizer_2/special_tokens_map.json +24 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/tokenizer_2/tokenizer_config.json +38 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/tokenizer_2/vocab.json +0 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/unet/config.json +110 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/unet/model.neuron +3 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/vae_decoder/config.json +72 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/vae_decoder/model.neuron +3 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/vae_encoder/config.json +72 -0
- neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/vae_encoder/model.neuron +3 -0
.gitattributes
CHANGED
|
@@ -6324,3 +6324,7 @@ neuronxcc-2.15.143.0+e39249ad/MODULE_66d9031205c238a3108d/text_encoder_2/model.n
|
|
| 6324 |
neuronxcc-2.15.143.0+e39249ad/MODULE_66d9031205c238a3108d/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
|
| 6325 |
neuronxcc-2.15.143.0+e39249ad/MODULE_66d9031205c238a3108d/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
| 6326 |
neuronxcc-2.15.143.0+e39249ad/MODULE_66d9031205c238a3108d/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6324 |
neuronxcc-2.15.143.0+e39249ad/MODULE_66d9031205c238a3108d/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
|
| 6325 |
neuronxcc-2.15.143.0+e39249ad/MODULE_66d9031205c238a3108d/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
| 6326 |
neuronxcc-2.15.143.0+e39249ad/MODULE_66d9031205c238a3108d/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
| 6327 |
+
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/text_encoder_2/model.neuron filter=lfs diff=lfs merge=lfs -text
|
| 6328 |
+
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/unet/model.neuron filter=lfs diff=lfs merge=lfs -text
|
| 6329 |
+
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
| 6330 |
+
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
neuronxcc-2.15.143.0+e39249ad/0_REGISTRY/0.0.27.dev0/inference/stable-diffusion/stabilityai/stable-diffusion-xl-refiner-1.0/05d8ecae48e91ee8980d.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"model_type": "stable-diffusion", "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.15.143.0+e39249ad", "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, "tensor_parallel_size": 1}, "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": [6, 12, 24, 24], "attention_type": "default", "block_out_channels": [384, 768, 1536, 1536], "center_input_sample": false, "class_embed_type": null, "class_embeddings_concat": false, "conv_in_kernel": 3, "conv_out_kernel": 3, "cross_attention_dim": 1280, "cross_attention_norm": null, "down_block_types": ["DownBlock2D", "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.15.143.0+e39249ad", "dynamic_batch_size": false, "inline_weights_to_neff": true, "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_vae_scale_factor": 8, "static_width": 128, "tensor_parallel_size": 1}, "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": 2560, "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": 4, "up_block_types": ["UpBlock2D", "CrossAttnUpBlock2D", "CrossAttnUpBlock2D", "UpBlock2D"], "upcast_attention": null, "use_linear_projection": true}}
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/model_index.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "StableDiffusionXLImg2ImgPipeline",
|
| 3 |
+
"_diffusers_version": "0.30.3",
|
| 4 |
+
"_name_or_path": "stabilityai/stable-diffusion-xl-refiner-1.0",
|
| 5 |
+
"feature_extractor": [
|
| 6 |
+
null,
|
| 7 |
+
null
|
| 8 |
+
],
|
| 9 |
+
"force_zeros_for_empty_prompt": false,
|
| 10 |
+
"image_encoder": [
|
| 11 |
+
null,
|
| 12 |
+
null
|
| 13 |
+
],
|
| 14 |
+
"requires_aesthetics_score": true,
|
| 15 |
+
"scheduler": [
|
| 16 |
+
"diffusers",
|
| 17 |
+
"EulerDiscreteScheduler"
|
| 18 |
+
],
|
| 19 |
+
"text_encoder": [
|
| 20 |
+
null,
|
| 21 |
+
null
|
| 22 |
+
],
|
| 23 |
+
"text_encoder_2": [
|
| 24 |
+
"transformers",
|
| 25 |
+
"CLIPTextModelWithProjection"
|
| 26 |
+
],
|
| 27 |
+
"tokenizer": [
|
| 28 |
+
null,
|
| 29 |
+
null
|
| 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.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "EulerDiscreteScheduler",
|
| 3 |
+
"_diffusers_version": "0.30.3",
|
| 4 |
+
"beta_end": 0.012,
|
| 5 |
+
"beta_schedule": "scaled_linear",
|
| 6 |
+
"beta_start": 0.00085,
|
| 7 |
+
"clip_sample": false,
|
| 8 |
+
"final_sigmas_type": "zero",
|
| 9 |
+
"interpolation_type": "linear",
|
| 10 |
+
"num_train_timesteps": 1000,
|
| 11 |
+
"prediction_type": "epsilon",
|
| 12 |
+
"rescale_betas_zero_snr": false,
|
| 13 |
+
"sample_max_value": 1.0,
|
| 14 |
+
"set_alpha_to_one": false,
|
| 15 |
+
"sigma_max": null,
|
| 16 |
+
"sigma_min": null,
|
| 17 |
+
"skip_prk_steps": true,
|
| 18 |
+
"steps_offset": 1,
|
| 19 |
+
"timestep_spacing": "leading",
|
| 20 |
+
"timestep_type": "discrete",
|
| 21 |
+
"trained_betas": null,
|
| 22 |
+
"use_karras_sigmas": false
|
| 23 |
+
}
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/text_encoder_2/config.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/home/runner/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-refiner-1.0/snapshots/5d4cfe854c9a9a87939ff3653551c2b3c99a4356/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.15.143.0+e39249ad",
|
| 23 |
+
"dynamic_batch_size": false,
|
| 24 |
+
"inline_weights_to_neff": false,
|
| 25 |
+
"input_names": [
|
| 26 |
+
"input_ids"
|
| 27 |
+
],
|
| 28 |
+
"model_type": "clip-text-with-projection",
|
| 29 |
+
"optlevel": "2",
|
| 30 |
+
"output_attentions": false,
|
| 31 |
+
"output_hidden_states": false,
|
| 32 |
+
"output_names": [
|
| 33 |
+
"text_embeds",
|
| 34 |
+
"last_hidden_state",
|
| 35 |
+
"hidden_states"
|
| 36 |
+
],
|
| 37 |
+
"static_batch_size": 1,
|
| 38 |
+
"static_sequence_length": 77,
|
| 39 |
+
"tensor_parallel_size": 1
|
| 40 |
+
},
|
| 41 |
+
"num_attention_heads": 20,
|
| 42 |
+
"num_hidden_layers": 32,
|
| 43 |
+
"output_hidden_states": true,
|
| 44 |
+
"pad_token_id": 1,
|
| 45 |
+
"projection_dim": 1280,
|
| 46 |
+
"task": "feature-extraction",
|
| 47 |
+
"torch_dtype": "float16",
|
| 48 |
+
"torchscript": true,
|
| 49 |
+
"transformers_version": "4.43.2",
|
| 50 |
+
"vocab_size": 49408
|
| 51 |
+
}
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/text_encoder_2/model.neuron
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85e23ad87893fa47ea7e3c50d6f0036cef737a0800d4eb67f53c9e9527d4767c
|
| 3 |
+
size 2803013109
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/tokenizer_2/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/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.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/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.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/tokenizer_2/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/unet/config.json
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet2DConditionModel",
|
| 3 |
+
"_commit_hash": null,
|
| 4 |
+
"_diffusers_version": "0.30.3",
|
| 5 |
+
"_name_or_path": "/home/runner/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-refiner-1.0/snapshots/5d4cfe854c9a9a87939ff3653551c2b3c99a4356/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 |
+
6,
|
| 17 |
+
12,
|
| 18 |
+
24,
|
| 19 |
+
24
|
| 20 |
+
],
|
| 21 |
+
"attention_type": "default",
|
| 22 |
+
"block_out_channels": [
|
| 23 |
+
384,
|
| 24 |
+
768,
|
| 25 |
+
1536,
|
| 26 |
+
1536
|
| 27 |
+
],
|
| 28 |
+
"center_input_sample": false,
|
| 29 |
+
"class_embed_type": null,
|
| 30 |
+
"class_embeddings_concat": false,
|
| 31 |
+
"conv_in_kernel": 3,
|
| 32 |
+
"conv_out_kernel": 3,
|
| 33 |
+
"cross_attention_dim": 1280,
|
| 34 |
+
"cross_attention_norm": null,
|
| 35 |
+
"down_block_types": [
|
| 36 |
+
"DownBlock2D",
|
| 37 |
+
"CrossAttnDownBlock2D",
|
| 38 |
+
"CrossAttnDownBlock2D",
|
| 39 |
+
"DownBlock2D"
|
| 40 |
+
],
|
| 41 |
+
"downsample_padding": 1,
|
| 42 |
+
"dropout": 0.0,
|
| 43 |
+
"dual_cross_attention": false,
|
| 44 |
+
"encoder_hid_dim": null,
|
| 45 |
+
"encoder_hid_dim_type": null,
|
| 46 |
+
"flip_sin_to_cos": true,
|
| 47 |
+
"freq_shift": 0,
|
| 48 |
+
"in_channels": 4,
|
| 49 |
+
"layers_per_block": 2,
|
| 50 |
+
"mid_block_only_cross_attention": null,
|
| 51 |
+
"mid_block_scale_factor": 1,
|
| 52 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
| 53 |
+
"neuron": {
|
| 54 |
+
"auto_cast": "matmul",
|
| 55 |
+
"auto_cast_type": "bf16",
|
| 56 |
+
"compiler_type": "neuronx-cc",
|
| 57 |
+
"compiler_version": "2.15.143.0+e39249ad",
|
| 58 |
+
"dynamic_batch_size": false,
|
| 59 |
+
"inline_weights_to_neff": true,
|
| 60 |
+
"input_names": [
|
| 61 |
+
"sample",
|
| 62 |
+
"timestep",
|
| 63 |
+
"encoder_hidden_states",
|
| 64 |
+
"text_embeds",
|
| 65 |
+
"time_ids"
|
| 66 |
+
],
|
| 67 |
+
"model_type": "unet",
|
| 68 |
+
"optlevel": "2",
|
| 69 |
+
"output_attentions": false,
|
| 70 |
+
"output_hidden_states": false,
|
| 71 |
+
"output_names": [
|
| 72 |
+
"sample"
|
| 73 |
+
],
|
| 74 |
+
"static_batch_size": 1,
|
| 75 |
+
"static_height": 128,
|
| 76 |
+
"static_num_channels": 4,
|
| 77 |
+
"static_sequence_length": 77,
|
| 78 |
+
"static_vae_scale_factor": 8,
|
| 79 |
+
"static_width": 128,
|
| 80 |
+
"tensor_parallel_size": 1
|
| 81 |
+
},
|
| 82 |
+
"norm_eps": 1e-05,
|
| 83 |
+
"norm_num_groups": 32,
|
| 84 |
+
"num_attention_heads": null,
|
| 85 |
+
"num_class_embeds": null,
|
| 86 |
+
"only_cross_attention": false,
|
| 87 |
+
"out_channels": 4,
|
| 88 |
+
"projection_class_embeddings_input_dim": 2560,
|
| 89 |
+
"resnet_out_scale_factor": 1.0,
|
| 90 |
+
"resnet_skip_time_act": false,
|
| 91 |
+
"resnet_time_scale_shift": "default",
|
| 92 |
+
"reverse_transformer_layers_per_block": null,
|
| 93 |
+
"sample_size": 128,
|
| 94 |
+
"task": "semantic-segmentation",
|
| 95 |
+
"time_cond_proj_dim": null,
|
| 96 |
+
"time_embedding_act_fn": null,
|
| 97 |
+
"time_embedding_dim": null,
|
| 98 |
+
"time_embedding_type": "positional",
|
| 99 |
+
"timestep_post_act": null,
|
| 100 |
+
"transformer_layers_per_block": 4,
|
| 101 |
+
"transformers_version": null,
|
| 102 |
+
"up_block_types": [
|
| 103 |
+
"UpBlock2D",
|
| 104 |
+
"CrossAttnUpBlock2D",
|
| 105 |
+
"CrossAttnUpBlock2D",
|
| 106 |
+
"UpBlock2D"
|
| 107 |
+
],
|
| 108 |
+
"upcast_attention": null,
|
| 109 |
+
"use_linear_projection": true
|
| 110 |
+
}
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/unet/model.neuron
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eef2aa30aa35e43dd68efbc176c67d66ec911464231c62e39c631b2e004c6e94
|
| 3 |
+
size 3673955641
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/vae_decoder/config.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "AutoencoderKL",
|
| 3 |
+
"_commit_hash": null,
|
| 4 |
+
"_diffusers_version": "0.30.3",
|
| 5 |
+
"_name_or_path": "/home/runner/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-refiner-1.0/snapshots/5d4cfe854c9a9a87939ff3653551c2b3c99a4356/vae",
|
| 6 |
+
"_use_default_values": [
|
| 7 |
+
"use_post_quant_conv",
|
| 8 |
+
"latents_mean",
|
| 9 |
+
"latents_std",
|
| 10 |
+
"use_quant_conv",
|
| 11 |
+
"mid_block_add_attention",
|
| 12 |
+
"shift_factor"
|
| 13 |
+
],
|
| 14 |
+
"act_fn": "silu",
|
| 15 |
+
"block_out_channels": [
|
| 16 |
+
128,
|
| 17 |
+
256,
|
| 18 |
+
512,
|
| 19 |
+
512
|
| 20 |
+
],
|
| 21 |
+
"down_block_types": [
|
| 22 |
+
"DownEncoderBlock2D",
|
| 23 |
+
"DownEncoderBlock2D",
|
| 24 |
+
"DownEncoderBlock2D",
|
| 25 |
+
"DownEncoderBlock2D"
|
| 26 |
+
],
|
| 27 |
+
"force_upcast": true,
|
| 28 |
+
"in_channels": 3,
|
| 29 |
+
"latent_channels": 4,
|
| 30 |
+
"latents_mean": null,
|
| 31 |
+
"latents_std": null,
|
| 32 |
+
"layers_per_block": 2,
|
| 33 |
+
"mid_block_add_attention": true,
|
| 34 |
+
"neuron": {
|
| 35 |
+
"auto_cast": "matmul",
|
| 36 |
+
"auto_cast_type": "bf16",
|
| 37 |
+
"compiler_type": "neuronx-cc",
|
| 38 |
+
"compiler_version": "2.15.143.0+e39249ad",
|
| 39 |
+
"dynamic_batch_size": false,
|
| 40 |
+
"inline_weights_to_neff": true,
|
| 41 |
+
"input_names": [
|
| 42 |
+
"latent_sample"
|
| 43 |
+
],
|
| 44 |
+
"model_type": "vae-decoder",
|
| 45 |
+
"optlevel": "2",
|
| 46 |
+
"output_attentions": false,
|
| 47 |
+
"output_hidden_states": false,
|
| 48 |
+
"output_names": [
|
| 49 |
+
"sample"
|
| 50 |
+
],
|
| 51 |
+
"static_batch_size": 1,
|
| 52 |
+
"static_height": 128,
|
| 53 |
+
"static_num_channels": 4,
|
| 54 |
+
"static_width": 128,
|
| 55 |
+
"tensor_parallel_size": 1
|
| 56 |
+
},
|
| 57 |
+
"norm_num_groups": 32,
|
| 58 |
+
"out_channels": 3,
|
| 59 |
+
"sample_size": 1024,
|
| 60 |
+
"scaling_factor": 0.13025,
|
| 61 |
+
"shift_factor": null,
|
| 62 |
+
"task": "semantic-segmentation",
|
| 63 |
+
"transformers_version": null,
|
| 64 |
+
"up_block_types": [
|
| 65 |
+
"UpDecoderBlock2D",
|
| 66 |
+
"UpDecoderBlock2D",
|
| 67 |
+
"UpDecoderBlock2D",
|
| 68 |
+
"UpDecoderBlock2D"
|
| 69 |
+
],
|
| 70 |
+
"use_post_quant_conv": true,
|
| 71 |
+
"use_quant_conv": true
|
| 72 |
+
}
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/vae_decoder/model.neuron
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47af0041516fb5ec3ff16f55b0c4780692d6986f267a1f221b8e87202368b1ab
|
| 3 |
+
size 647236147
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/vae_encoder/config.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "AutoencoderKL",
|
| 3 |
+
"_commit_hash": null,
|
| 4 |
+
"_diffusers_version": "0.30.3",
|
| 5 |
+
"_name_or_path": "/home/runner/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-refiner-1.0/snapshots/5d4cfe854c9a9a87939ff3653551c2b3c99a4356/vae",
|
| 6 |
+
"_use_default_values": [
|
| 7 |
+
"use_post_quant_conv",
|
| 8 |
+
"latents_mean",
|
| 9 |
+
"latents_std",
|
| 10 |
+
"use_quant_conv",
|
| 11 |
+
"mid_block_add_attention",
|
| 12 |
+
"shift_factor"
|
| 13 |
+
],
|
| 14 |
+
"act_fn": "silu",
|
| 15 |
+
"block_out_channels": [
|
| 16 |
+
128,
|
| 17 |
+
256,
|
| 18 |
+
512,
|
| 19 |
+
512
|
| 20 |
+
],
|
| 21 |
+
"down_block_types": [
|
| 22 |
+
"DownEncoderBlock2D",
|
| 23 |
+
"DownEncoderBlock2D",
|
| 24 |
+
"DownEncoderBlock2D",
|
| 25 |
+
"DownEncoderBlock2D"
|
| 26 |
+
],
|
| 27 |
+
"force_upcast": true,
|
| 28 |
+
"in_channels": 3,
|
| 29 |
+
"latent_channels": 4,
|
| 30 |
+
"latents_mean": null,
|
| 31 |
+
"latents_std": null,
|
| 32 |
+
"layers_per_block": 2,
|
| 33 |
+
"mid_block_add_attention": true,
|
| 34 |
+
"neuron": {
|
| 35 |
+
"auto_cast": "matmul",
|
| 36 |
+
"auto_cast_type": "bf16",
|
| 37 |
+
"compiler_type": "neuronx-cc",
|
| 38 |
+
"compiler_version": "2.15.143.0+e39249ad",
|
| 39 |
+
"dynamic_batch_size": false,
|
| 40 |
+
"inline_weights_to_neff": true,
|
| 41 |
+
"input_names": [
|
| 42 |
+
"sample"
|
| 43 |
+
],
|
| 44 |
+
"model_type": "vae-encoder",
|
| 45 |
+
"optlevel": "2",
|
| 46 |
+
"output_attentions": false,
|
| 47 |
+
"output_hidden_states": false,
|
| 48 |
+
"output_names": [
|
| 49 |
+
"latent_parameters"
|
| 50 |
+
],
|
| 51 |
+
"static_batch_size": 1,
|
| 52 |
+
"static_height": 1024,
|
| 53 |
+
"static_num_channels": 3,
|
| 54 |
+
"static_width": 1024,
|
| 55 |
+
"tensor_parallel_size": 1
|
| 56 |
+
},
|
| 57 |
+
"norm_num_groups": 32,
|
| 58 |
+
"out_channels": 3,
|
| 59 |
+
"sample_size": 1024,
|
| 60 |
+
"scaling_factor": 0.13025,
|
| 61 |
+
"shift_factor": null,
|
| 62 |
+
"task": "semantic-segmentation",
|
| 63 |
+
"transformers_version": null,
|
| 64 |
+
"up_block_types": [
|
| 65 |
+
"UpDecoderBlock2D",
|
| 66 |
+
"UpDecoderBlock2D",
|
| 67 |
+
"UpDecoderBlock2D",
|
| 68 |
+
"UpDecoderBlock2D"
|
| 69 |
+
],
|
| 70 |
+
"use_post_quant_conv": true,
|
| 71 |
+
"use_quant_conv": true
|
| 72 |
+
}
|
neuronxcc-2.15.143.0+e39249ad/MODULE_05d8ecae48e91ee8980d/vae_encoder/model.neuron
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d3bb0430a09c88bb7c6e844c7a623f5c362f3b683198a7773a97ee1c16764bd
|
| 3 |
+
size 329048625
|