root
commited on
Commit
•
63d27f6
1
Parent(s):
e6c9fed
add files
Browse files- .gitattributes +1 -0
- model_index.json +35 -0
- scheduler/scheduler_config.json +18 -0
- text_encoder/config.json +46 -0
- text_encoder/model.neuron +3 -0
- text_encoder_2/config.json +46 -0
- text_encoder_2/model.neuron +3 -0
- tokenizer/merges.txt +0 -0
- tokenizer/special_tokens_map.json +24 -0
- tokenizer/tokenizer_config.json +33 -0
- tokenizer/vocab.json +0 -0
- tokenizer_2/merges.txt +0 -0
- tokenizer_2/special_tokens_map.json +24 -0
- tokenizer_2/tokenizer_config.json +33 -0
- tokenizer_2/vocab.json +0 -0
- unet/config.json +100 -0
- unet/model.neuron +3 -0
- vae_decoder/config.json +53 -0
- vae_decoder/model.neuron +3 -0
- vae_encoder/config.json +53 -0
- vae_encoder/model.neuron +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ 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 |
+
*.neuron filter=lfs diff=lfs merge=lfs -text
|
model_index.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StableDiffusionXLImg2ImgPipeline",
|
3 |
+
"_diffusers_version": "0.20.2",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-xl-base-1.0",
|
5 |
+
"force_zeros_for_empty_prompt": true,
|
6 |
+
"requires_aesthetics_score": false,
|
7 |
+
"scheduler": [
|
8 |
+
"diffusers",
|
9 |
+
"EulerDiscreteScheduler"
|
10 |
+
],
|
11 |
+
"text_encoder": [
|
12 |
+
"transformers",
|
13 |
+
"CLIPTextModel"
|
14 |
+
],
|
15 |
+
"text_encoder_2": [
|
16 |
+
"transformers",
|
17 |
+
"CLIPTextModelWithProjection"
|
18 |
+
],
|
19 |
+
"tokenizer": [
|
20 |
+
"transformers",
|
21 |
+
"CLIPTokenizer"
|
22 |
+
],
|
23 |
+
"tokenizer_2": [
|
24 |
+
"transformers",
|
25 |
+
"CLIPTokenizer"
|
26 |
+
],
|
27 |
+
"unet": [
|
28 |
+
"diffusers",
|
29 |
+
"UNet2DConditionModel"
|
30 |
+
],
|
31 |
+
"vae": [
|
32 |
+
"diffusers",
|
33 |
+
"AutoencoderKL"
|
34 |
+
]
|
35 |
+
}
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "EulerDiscreteScheduler",
|
3 |
+
"_diffusers_version": "0.20.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 |
+
"sample_max_value": 1.0,
|
12 |
+
"set_alpha_to_one": false,
|
13 |
+
"skip_prk_steps": true,
|
14 |
+
"steps_offset": 1,
|
15 |
+
"timestep_spacing": "leading",
|
16 |
+
"trained_betas": null,
|
17 |
+
"use_karras_sigmas": false
|
18 |
+
}
|
text_encoder/config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "f898a3e026e802f68796b95e9702464bac78d76f",
|
3 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/f898a3e026e802f68796b95e9702464bac78d76f/text_encoder",
|
4 |
+
"architectures": [
|
5 |
+
"CLIPTextModel"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"dropout": 0.0,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"hidden_act": "quick_gelu",
|
12 |
+
"hidden_size": 768,
|
13 |
+
"initializer_factor": 1.0,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 77,
|
18 |
+
"model_type": "clip-text-model",
|
19 |
+
"neuron": {
|
20 |
+
"auto_cast": "all",
|
21 |
+
"auto_cast_type": "bf16",
|
22 |
+
"compiler_type": "neuronx-cc",
|
23 |
+
"compiler_version": "2.10.0.34+6c8792c6f",
|
24 |
+
"dynamic_batch_size": false,
|
25 |
+
"input_names": [
|
26 |
+
"input_ids"
|
27 |
+
],
|
28 |
+
"output_names": [
|
29 |
+
"last_hidden_state",
|
30 |
+
"pooler_output",
|
31 |
+
"hidden_states"
|
32 |
+
],
|
33 |
+
"static_batch_size": 1,
|
34 |
+
"static_sequence_length": 77
|
35 |
+
},
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_hidden_layers": 12,
|
38 |
+
"output_hidden_states": true,
|
39 |
+
"pad_token_id": 1,
|
40 |
+
"projection_dim": 768,
|
41 |
+
"task": "feature-extraction",
|
42 |
+
"torch_dtype": "float16",
|
43 |
+
"torchscript": true,
|
44 |
+
"transformers_version": "4.32.0.dev0",
|
45 |
+
"vocab_size": 49408
|
46 |
+
}
|
text_encoder/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16b75b57f58c2cf99a72905966b7940de7e0b8110e270bd57a183901b64fe957
|
3 |
+
size 375833218
|
text_encoder_2/config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "f898a3e026e802f68796b95e9702464bac78d76f",
|
3 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/f898a3e026e802f68796b95e9702464bac78d76f/text_encoder_2",
|
4 |
+
"architectures": [
|
5 |
+
"CLIPTextModelWithProjection"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"dropout": 0.0,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_size": 1280,
|
13 |
+
"initializer_factor": 1.0,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 5120,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 77,
|
18 |
+
"model_type": "clip-text-model",
|
19 |
+
"neuron": {
|
20 |
+
"auto_cast": "all",
|
21 |
+
"auto_cast_type": "bf16",
|
22 |
+
"compiler_type": "neuronx-cc",
|
23 |
+
"compiler_version": "2.10.0.34+6c8792c6f",
|
24 |
+
"dynamic_batch_size": false,
|
25 |
+
"input_names": [
|
26 |
+
"input_ids"
|
27 |
+
],
|
28 |
+
"output_names": [
|
29 |
+
"text_embeds",
|
30 |
+
"last_hidden_state",
|
31 |
+
"hidden_states"
|
32 |
+
],
|
33 |
+
"static_batch_size": 1,
|
34 |
+
"static_sequence_length": 77
|
35 |
+
},
|
36 |
+
"num_attention_heads": 20,
|
37 |
+
"num_hidden_layers": 32,
|
38 |
+
"output_hidden_states": true,
|
39 |
+
"pad_token_id": 1,
|
40 |
+
"projection_dim": 1280,
|
41 |
+
"task": "feature-extraction",
|
42 |
+
"torch_dtype": "float16",
|
43 |
+
"torchscript": true,
|
44 |
+
"transformers_version": "4.32.0.dev0",
|
45 |
+
"vocab_size": 49408
|
46 |
+
}
|
text_encoder_2/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6091b3fc4608db7ceb496dd66f63f4fce929fb83712c0a2dfe0c905f8c667fa9
|
3 |
+
size 1788933386
|
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,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 |
+
}
|
tokenizer/tokenizer_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": {
|
4 |
+
"__type": "AddedToken",
|
5 |
+
"content": "<|startoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"clean_up_tokenization_spaces": true,
|
12 |
+
"do_lower_case": true,
|
13 |
+
"eos_token": {
|
14 |
+
"__type": "AddedToken",
|
15 |
+
"content": "<|endoftext|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"errors": "replace",
|
22 |
+
"model_max_length": 77,
|
23 |
+
"pad_token": "<|endoftext|>",
|
24 |
+
"tokenizer_class": "CLIPTokenizer",
|
25 |
+
"unk_token": {
|
26 |
+
"__type": "AddedToken",
|
27 |
+
"content": "<|endoftext|>",
|
28 |
+
"lstrip": false,
|
29 |
+
"normalized": true,
|
30 |
+
"rstrip": false,
|
31 |
+
"single_word": false
|
32 |
+
}
|
33 |
+
}
|
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,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 |
+
}
|
tokenizer_2/tokenizer_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": {
|
4 |
+
"__type": "AddedToken",
|
5 |
+
"content": "<|startoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false
|
10 |
+
},
|
11 |
+
"clean_up_tokenization_spaces": true,
|
12 |
+
"do_lower_case": true,
|
13 |
+
"eos_token": {
|
14 |
+
"__type": "AddedToken",
|
15 |
+
"content": "<|endoftext|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": true,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false
|
20 |
+
},
|
21 |
+
"errors": "replace",
|
22 |
+
"model_max_length": 77,
|
23 |
+
"pad_token": "!",
|
24 |
+
"tokenizer_class": "CLIPTokenizer",
|
25 |
+
"unk_token": {
|
26 |
+
"__type": "AddedToken",
|
27 |
+
"content": "<|endoftext|>",
|
28 |
+
"lstrip": false,
|
29 |
+
"normalized": true,
|
30 |
+
"rstrip": false,
|
31 |
+
"single_word": false
|
32 |
+
}
|
33 |
+
}
|
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,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_commit_hash": null,
|
4 |
+
"_diffusers_version": "0.20.2",
|
5 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/f898a3e026e802f68796b95e9702464bac78d76f/unet",
|
6 |
+
"_use_default_values": [
|
7 |
+
"attention_type"
|
8 |
+
],
|
9 |
+
"act_fn": "silu",
|
10 |
+
"addition_embed_type": "text_time",
|
11 |
+
"addition_embed_type_num_heads": 64,
|
12 |
+
"addition_time_embed_dim": 256,
|
13 |
+
"attention_head_dim": [
|
14 |
+
5,
|
15 |
+
10,
|
16 |
+
20
|
17 |
+
],
|
18 |
+
"attention_type": "default",
|
19 |
+
"block_out_channels": [
|
20 |
+
320,
|
21 |
+
640,
|
22 |
+
1280
|
23 |
+
],
|
24 |
+
"center_input_sample": false,
|
25 |
+
"class_embed_type": null,
|
26 |
+
"class_embeddings_concat": false,
|
27 |
+
"conv_in_kernel": 3,
|
28 |
+
"conv_out_kernel": 3,
|
29 |
+
"cross_attention_dim": 2048,
|
30 |
+
"cross_attention_norm": null,
|
31 |
+
"down_block_types": [
|
32 |
+
"DownBlock2D",
|
33 |
+
"CrossAttnDownBlock2D",
|
34 |
+
"CrossAttnDownBlock2D"
|
35 |
+
],
|
36 |
+
"downsample_padding": 1,
|
37 |
+
"dual_cross_attention": false,
|
38 |
+
"encoder_hid_dim": null,
|
39 |
+
"encoder_hid_dim_type": null,
|
40 |
+
"flip_sin_to_cos": true,
|
41 |
+
"freq_shift": 0,
|
42 |
+
"in_channels": 4,
|
43 |
+
"layers_per_block": 2,
|
44 |
+
"mid_block_only_cross_attention": null,
|
45 |
+
"mid_block_scale_factor": 1,
|
46 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
47 |
+
"model_type": "unet",
|
48 |
+
"neuron": {
|
49 |
+
"auto_cast": "all",
|
50 |
+
"auto_cast_type": "bf16",
|
51 |
+
"compiler_type": "neuronx-cc",
|
52 |
+
"compiler_version": "2.10.0.34+6c8792c6f",
|
53 |
+
"dynamic_batch_size": false,
|
54 |
+
"input_names": [
|
55 |
+
"sample",
|
56 |
+
"timestep",
|
57 |
+
"encoder_hidden_states",
|
58 |
+
"text_embeds",
|
59 |
+
"time_ids"
|
60 |
+
],
|
61 |
+
"output_names": [
|
62 |
+
"sample"
|
63 |
+
],
|
64 |
+
"static_batch_size": 1,
|
65 |
+
"static_height": 128,
|
66 |
+
"static_num_channels": 4,
|
67 |
+
"static_sequence_length": 77,
|
68 |
+
"static_width": 128
|
69 |
+
},
|
70 |
+
"norm_eps": 1e-05,
|
71 |
+
"norm_num_groups": 32,
|
72 |
+
"num_attention_heads": null,
|
73 |
+
"num_class_embeds": null,
|
74 |
+
"only_cross_attention": false,
|
75 |
+
"out_channels": 4,
|
76 |
+
"projection_class_embeddings_input_dim": 2816,
|
77 |
+
"resnet_out_scale_factor": 1.0,
|
78 |
+
"resnet_skip_time_act": false,
|
79 |
+
"resnet_time_scale_shift": "default",
|
80 |
+
"sample_size": 128,
|
81 |
+
"task": "semantic-segmentation",
|
82 |
+
"time_cond_proj_dim": null,
|
83 |
+
"time_embedding_act_fn": null,
|
84 |
+
"time_embedding_dim": null,
|
85 |
+
"time_embedding_type": "positional",
|
86 |
+
"timestep_post_act": null,
|
87 |
+
"transformer_layers_per_block": [
|
88 |
+
1,
|
89 |
+
2,
|
90 |
+
10
|
91 |
+
],
|
92 |
+
"transformers_version": null,
|
93 |
+
"up_block_types": [
|
94 |
+
"CrossAttnUpBlock2D",
|
95 |
+
"CrossAttnUpBlock2D",
|
96 |
+
"UpBlock2D"
|
97 |
+
],
|
98 |
+
"upcast_attention": null,
|
99 |
+
"use_linear_projection": true
|
100 |
+
}
|
unet/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0e43acaff20fcb86f243be8f31d5dbeeafdbc6e5b40084d24e324253e2573488
|
3 |
+
size 4172390858
|
vae_decoder/config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_commit_hash": null,
|
4 |
+
"_diffusers_version": "0.20.2",
|
5 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/f898a3e026e802f68796b95e9702464bac78d76f/vae",
|
6 |
+
"act_fn": "silu",
|
7 |
+
"block_out_channels": [
|
8 |
+
128,
|
9 |
+
256,
|
10 |
+
512,
|
11 |
+
512
|
12 |
+
],
|
13 |
+
"down_block_types": [
|
14 |
+
"DownEncoderBlock2D",
|
15 |
+
"DownEncoderBlock2D",
|
16 |
+
"DownEncoderBlock2D",
|
17 |
+
"DownEncoderBlock2D"
|
18 |
+
],
|
19 |
+
"force_upcast": true,
|
20 |
+
"in_channels": 3,
|
21 |
+
"latent_channels": 4,
|
22 |
+
"layers_per_block": 2,
|
23 |
+
"model_type": "vae-decoder",
|
24 |
+
"neuron": {
|
25 |
+
"auto_cast": "all",
|
26 |
+
"auto_cast_type": "bf16",
|
27 |
+
"compiler_type": "neuronx-cc",
|
28 |
+
"compiler_version": "2.10.0.34+6c8792c6f",
|
29 |
+
"dynamic_batch_size": false,
|
30 |
+
"input_names": [
|
31 |
+
"latent_sample"
|
32 |
+
],
|
33 |
+
"output_names": [
|
34 |
+
"sample"
|
35 |
+
],
|
36 |
+
"static_batch_size": 1,
|
37 |
+
"static_height": 128,
|
38 |
+
"static_num_channels": 4,
|
39 |
+
"static_width": 128
|
40 |
+
},
|
41 |
+
"norm_num_groups": 32,
|
42 |
+
"out_channels": 3,
|
43 |
+
"sample_size": 1024,
|
44 |
+
"scaling_factor": 0.13025,
|
45 |
+
"task": "semantic-segmentation",
|
46 |
+
"transformers_version": null,
|
47 |
+
"up_block_types": [
|
48 |
+
"UpDecoderBlock2D",
|
49 |
+
"UpDecoderBlock2D",
|
50 |
+
"UpDecoderBlock2D",
|
51 |
+
"UpDecoderBlock2D"
|
52 |
+
]
|
53 |
+
}
|
vae_decoder/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ff07ea7dce0f84f7bd82f82691b32f9f2f38af0c0e61649563fff40d23fac497
|
3 |
+
size 791730766
|
vae_encoder/config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_commit_hash": null,
|
4 |
+
"_diffusers_version": "0.20.2",
|
5 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/f898a3e026e802f68796b95e9702464bac78d76f/vae",
|
6 |
+
"act_fn": "silu",
|
7 |
+
"block_out_channels": [
|
8 |
+
128,
|
9 |
+
256,
|
10 |
+
512,
|
11 |
+
512
|
12 |
+
],
|
13 |
+
"down_block_types": [
|
14 |
+
"DownEncoderBlock2D",
|
15 |
+
"DownEncoderBlock2D",
|
16 |
+
"DownEncoderBlock2D",
|
17 |
+
"DownEncoderBlock2D"
|
18 |
+
],
|
19 |
+
"force_upcast": true,
|
20 |
+
"in_channels": 3,
|
21 |
+
"latent_channels": 4,
|
22 |
+
"layers_per_block": 2,
|
23 |
+
"model_type": "vae-encoder",
|
24 |
+
"neuron": {
|
25 |
+
"auto_cast": "all",
|
26 |
+
"auto_cast_type": "bf16",
|
27 |
+
"compiler_type": "neuronx-cc",
|
28 |
+
"compiler_version": "2.10.0.34+6c8792c6f",
|
29 |
+
"dynamic_batch_size": false,
|
30 |
+
"input_names": [
|
31 |
+
"sample"
|
32 |
+
],
|
33 |
+
"output_names": [
|
34 |
+
"latent_sample"
|
35 |
+
],
|
36 |
+
"static_batch_size": 1,
|
37 |
+
"static_height": 128,
|
38 |
+
"static_num_channels": 3,
|
39 |
+
"static_width": 128
|
40 |
+
},
|
41 |
+
"norm_num_groups": 32,
|
42 |
+
"out_channels": 3,
|
43 |
+
"sample_size": 1024,
|
44 |
+
"scaling_factor": 0.13025,
|
45 |
+
"task": "semantic-segmentation",
|
46 |
+
"transformers_version": null,
|
47 |
+
"up_block_types": [
|
48 |
+
"UpDecoderBlock2D",
|
49 |
+
"UpDecoderBlock2D",
|
50 |
+
"UpDecoderBlock2D",
|
51 |
+
"UpDecoderBlock2D"
|
52 |
+
]
|
53 |
+
}
|
vae_encoder/model.neuron
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa8d18476aec6a85f5e23b9c7773d2004cd49594a5bd05146d35a1c834805f6c
|
3 |
+
size 390578766
|