Upload folder using huggingface_hub
Browse files- .gitattributes +5 -0
- model_index.json +45 -0
- scheduler/scheduler_config.json +22 -0
- text_encoder/config.json +50 -0
- text_encoder/model.neuron +3 -0
- text_encoder_2/config.json +50 -0
- text_encoder_2/model.neuron +3 -0
- tokenizer/merges.txt +0 -0
- tokenizer/special_tokens_map.json +30 -0
- tokenizer/tokenizer_config.json +30 -0
- tokenizer/vocab.json +0 -0
- tokenizer_2/merges.txt +0 -0
- tokenizer_2/special_tokens_map.json +30 -0
- tokenizer_2/tokenizer_config.json +38 -0
- tokenizer_2/vocab.json +0 -0
- unet/config.json +104 -0
- unet/model.neuron +3 -0
- vae_decoder/config.json +71 -0
- vae_decoder/model.neuron +3 -0
- vae_encoder/config.json +71 -0
- vae_encoder/model.neuron +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
text_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
37 |
+
text_encoder_2/model.neuron filter=lfs diff=lfs merge=lfs -text
|
38 |
+
unet/model.neuron filter=lfs diff=lfs merge=lfs -text
|
39 |
+
vae_decoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
40 |
+
vae_encoder/model.neuron filter=lfs diff=lfs merge=lfs -text
|
model_index.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "NeuronStableDiffusionXLPipeline",
|
3 |
+
"_diffusers_version": "0.30.3",
|
4 |
+
"feature_extractor": [
|
5 |
+
null,
|
6 |
+
null
|
7 |
+
],
|
8 |
+
"force_zeros_for_empty_prompt": true,
|
9 |
+
"image_encoder": [
|
10 |
+
null,
|
11 |
+
null
|
12 |
+
],
|
13 |
+
"scheduler": [
|
14 |
+
"diffusers",
|
15 |
+
"EulerDiscreteScheduler"
|
16 |
+
],
|
17 |
+
"text_encoder": [
|
18 |
+
"optimum",
|
19 |
+
"NeuronModelTextEncoder"
|
20 |
+
],
|
21 |
+
"text_encoder_2": [
|
22 |
+
"optimum",
|
23 |
+
"NeuronModelTextEncoder"
|
24 |
+
],
|
25 |
+
"tokenizer": [
|
26 |
+
"transformers",
|
27 |
+
"CLIPTokenizer"
|
28 |
+
],
|
29 |
+
"tokenizer_2": [
|
30 |
+
"transformers",
|
31 |
+
"CLIPTokenizer"
|
32 |
+
],
|
33 |
+
"unet": [
|
34 |
+
"optimum",
|
35 |
+
"NeuronModelUnet"
|
36 |
+
],
|
37 |
+
"vae_decoder": [
|
38 |
+
"optimum",
|
39 |
+
"NeuronModelVaeDecoder"
|
40 |
+
],
|
41 |
+
"vae_encoder": [
|
42 |
+
"optimum",
|
43 |
+
"NeuronModelVaeEncoder"
|
44 |
+
]
|
45 |
+
}
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"final_sigmas_type": "zero",
|
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 |
+
}
|
text_encoder/config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--RunDiffusion--Juggernaut-XI-v11/snapshots/17a87abb089586ab38591a2309da18e44e2c8917/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.15.128.0+56dc5a86",
|
23 |
+
"dynamic_batch_size": false,
|
24 |
+
"inline_weights_to_neff": true,
|
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": "float32",
|
47 |
+
"torchscript": true,
|
48 |
+
"transformers_version": "4.43.2",
|
49 |
+
"vocab_size": 49408
|
50 |
+
}
|
text_encoder/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b437c5647eb7cd9df6c8a1e0443ef2cb1fa69b357e4d058f51e1bed36b47373
|
3 |
+
size 375701239
|
text_encoder_2/config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--RunDiffusion--Juggernaut-XI-v11/snapshots/17a87abb089586ab38591a2309da18e44e2c8917/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.128.0+56dc5a86",
|
23 |
+
"dynamic_batch_size": false,
|
24 |
+
"inline_weights_to_neff": true,
|
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 |
+
},
|
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": "float32",
|
47 |
+
"torchscript": true,
|
48 |
+
"transformers_version": "4.43.2",
|
49 |
+
"vocab_size": 49408
|
50 |
+
}
|
text_encoder_2/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b168a531ab8393bfddb382ddded2b452c2978ec3341d72a0a7dbea626871ee6f
|
3 |
+
size 1788577005
|
tokenizer/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer/special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<|endoftext|>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
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 |
+
}
|
tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_2/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_2/special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"content": "!",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<|endoftext|>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
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 |
+
}
|
tokenizer_2/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
unet/config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_commit_hash": null,
|
4 |
+
"_diffusers_version": "0.30.3",
|
5 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--RunDiffusion--Juggernaut-XI-v11/snapshots/17a87abb089586ab38591a2309da18e44e2c8917/unet",
|
6 |
+
"act_fn": "silu",
|
7 |
+
"addition_embed_type": "text_time",
|
8 |
+
"addition_embed_type_num_heads": 64,
|
9 |
+
"addition_time_embed_dim": 256,
|
10 |
+
"attention_head_dim": [
|
11 |
+
5,
|
12 |
+
10,
|
13 |
+
20
|
14 |
+
],
|
15 |
+
"attention_type": "default",
|
16 |
+
"block_out_channels": [
|
17 |
+
320,
|
18 |
+
640,
|
19 |
+
1280
|
20 |
+
],
|
21 |
+
"center_input_sample": false,
|
22 |
+
"class_embed_type": null,
|
23 |
+
"class_embeddings_concat": false,
|
24 |
+
"conv_in_kernel": 3,
|
25 |
+
"conv_out_kernel": 3,
|
26 |
+
"cross_attention_dim": 2048,
|
27 |
+
"cross_attention_norm": null,
|
28 |
+
"down_block_types": [
|
29 |
+
"DownBlock2D",
|
30 |
+
"CrossAttnDownBlock2D",
|
31 |
+
"CrossAttnDownBlock2D"
|
32 |
+
],
|
33 |
+
"downsample_padding": 1,
|
34 |
+
"dropout": 0.0,
|
35 |
+
"dual_cross_attention": false,
|
36 |
+
"encoder_hid_dim": null,
|
37 |
+
"encoder_hid_dim_type": null,
|
38 |
+
"flip_sin_to_cos": true,
|
39 |
+
"freq_shift": 0,
|
40 |
+
"in_channels": 4,
|
41 |
+
"layers_per_block": 2,
|
42 |
+
"mid_block_only_cross_attention": null,
|
43 |
+
"mid_block_scale_factor": 1,
|
44 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
45 |
+
"neuron": {
|
46 |
+
"auto_cast": "matmul",
|
47 |
+
"auto_cast_type": "bf16",
|
48 |
+
"compiler_type": "neuronx-cc",
|
49 |
+
"compiler_version": "2.15.128.0+56dc5a86",
|
50 |
+
"dynamic_batch_size": false,
|
51 |
+
"inline_weights_to_neff": true,
|
52 |
+
"input_names": [
|
53 |
+
"sample",
|
54 |
+
"timestep",
|
55 |
+
"encoder_hidden_states",
|
56 |
+
"text_embeds",
|
57 |
+
"time_ids"
|
58 |
+
],
|
59 |
+
"model_type": "unet",
|
60 |
+
"optlevel": "2",
|
61 |
+
"output_attentions": false,
|
62 |
+
"output_hidden_states": false,
|
63 |
+
"output_names": [
|
64 |
+
"sample"
|
65 |
+
],
|
66 |
+
"static_batch_size": 1,
|
67 |
+
"static_height": 128,
|
68 |
+
"static_num_channels": 4,
|
69 |
+
"static_sequence_length": 77,
|
70 |
+
"static_vae_scale_factor": 8,
|
71 |
+
"static_width": 128
|
72 |
+
},
|
73 |
+
"norm_eps": 1e-05,
|
74 |
+
"norm_num_groups": 32,
|
75 |
+
"num_attention_heads": null,
|
76 |
+
"num_class_embeds": null,
|
77 |
+
"only_cross_attention": false,
|
78 |
+
"out_channels": 4,
|
79 |
+
"projection_class_embeddings_input_dim": 2816,
|
80 |
+
"resnet_out_scale_factor": 1.0,
|
81 |
+
"resnet_skip_time_act": false,
|
82 |
+
"resnet_time_scale_shift": "default",
|
83 |
+
"reverse_transformer_layers_per_block": null,
|
84 |
+
"sample_size": 128,
|
85 |
+
"task": "semantic-segmentation",
|
86 |
+
"time_cond_proj_dim": null,
|
87 |
+
"time_embedding_act_fn": null,
|
88 |
+
"time_embedding_dim": null,
|
89 |
+
"time_embedding_type": "positional",
|
90 |
+
"timestep_post_act": null,
|
91 |
+
"transformer_layers_per_block": [
|
92 |
+
1,
|
93 |
+
2,
|
94 |
+
10
|
95 |
+
],
|
96 |
+
"transformers_version": null,
|
97 |
+
"up_block_types": [
|
98 |
+
"CrossAttnUpBlock2D",
|
99 |
+
"CrossAttnUpBlock2D",
|
100 |
+
"UpBlock2D"
|
101 |
+
],
|
102 |
+
"upcast_attention": false,
|
103 |
+
"use_linear_projection": true
|
104 |
+
}
|
unet/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fd696f74932ebed5af2bfa438d2fddf2073c178247938145f796208d5d5b1ea9
|
3 |
+
size 4162762109
|
vae_decoder/config.json
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_commit_hash": null,
|
4 |
+
"_diffusers_version": "0.30.3",
|
5 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--RunDiffusion--Juggernaut-XI-v11/snapshots/17a87abb089586ab38591a2309da18e44e2c8917/vae",
|
6 |
+
"_use_default_values": [
|
7 |
+
"use_quant_conv",
|
8 |
+
"latents_std",
|
9 |
+
"mid_block_add_attention",
|
10 |
+
"shift_factor",
|
11 |
+
"use_post_quant_conv",
|
12 |
+
"latents_mean"
|
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.128.0+56dc5a86",
|
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 |
+
},
|
56 |
+
"norm_num_groups": 32,
|
57 |
+
"out_channels": 3,
|
58 |
+
"sample_size": 1024,
|
59 |
+
"scaling_factor": 0.13025,
|
60 |
+
"shift_factor": null,
|
61 |
+
"task": "semantic-segmentation",
|
62 |
+
"transformers_version": null,
|
63 |
+
"up_block_types": [
|
64 |
+
"UpDecoderBlock2D",
|
65 |
+
"UpDecoderBlock2D",
|
66 |
+
"UpDecoderBlock2D",
|
67 |
+
"UpDecoderBlock2D"
|
68 |
+
],
|
69 |
+
"use_post_quant_conv": true,
|
70 |
+
"use_quant_conv": true
|
71 |
+
}
|
vae_decoder/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb238a94593b4fd8ec22e0d4590f1ff81bf40fd8571a7c8eb7e1a07c5b3c0dbe
|
3 |
+
size 647236211
|
vae_encoder/config.json
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_commit_hash": null,
|
4 |
+
"_diffusers_version": "0.30.3",
|
5 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--RunDiffusion--Juggernaut-XI-v11/snapshots/17a87abb089586ab38591a2309da18e44e2c8917/vae",
|
6 |
+
"_use_default_values": [
|
7 |
+
"use_quant_conv",
|
8 |
+
"latents_std",
|
9 |
+
"mid_block_add_attention",
|
10 |
+
"shift_factor",
|
11 |
+
"use_post_quant_conv",
|
12 |
+
"latents_mean"
|
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.128.0+56dc5a86",
|
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_sample"
|
50 |
+
],
|
51 |
+
"static_batch_size": 1,
|
52 |
+
"static_height": 1024,
|
53 |
+
"static_num_channels": 3,
|
54 |
+
"static_width": 1024
|
55 |
+
},
|
56 |
+
"norm_num_groups": 32,
|
57 |
+
"out_channels": 3,
|
58 |
+
"sample_size": 1024,
|
59 |
+
"scaling_factor": 0.13025,
|
60 |
+
"shift_factor": null,
|
61 |
+
"task": "semantic-segmentation",
|
62 |
+
"transformers_version": null,
|
63 |
+
"up_block_types": [
|
64 |
+
"UpDecoderBlock2D",
|
65 |
+
"UpDecoderBlock2D",
|
66 |
+
"UpDecoderBlock2D",
|
67 |
+
"UpDecoderBlock2D"
|
68 |
+
],
|
69 |
+
"use_post_quant_conv": true,
|
70 |
+
"use_quant_conv": true
|
71 |
+
}
|
vae_encoder/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7df42bd3c0bbe0c5972343c6078d4a03e5b108c6a47a696577932bac9041aa1
|
3 |
+
size 329304691
|