Dev00502 commited on
Commit
8ab84f7
·
1 Parent(s): 6db4704

Upload folder using huggingface_hub

Browse files
.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,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionXLImg2ImgPipeline",
3
+ "_diffusers_version": "0.22.3",
4
+ "_name_or_path": "Lykon/dreamshaper-xl-1-0",
5
+ "force_zeros_for_empty_prompt": true,
6
+ "requires_aesthetics_score": false,
7
+ "scheduler": [
8
+ "diffusers",
9
+ "DEISMultistepScheduler"
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,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DEISMultistepScheduler",
3
+ "_diffusers_version": "0.22.3",
4
+ "algorithm_type": "deis",
5
+ "beta_end": 0.012,
6
+ "beta_schedule": "scaled_linear",
7
+ "beta_start": 0.00085,
8
+ "clip_sample": false,
9
+ "dynamic_thresholding_ratio": 0.995,
10
+ "interpolation_type": "linear",
11
+ "lower_order_final": true,
12
+ "num_train_timesteps": 1000,
13
+ "prediction_type": "epsilon",
14
+ "sample_max_value": 1.0,
15
+ "set_alpha_to_one": false,
16
+ "skip_prk_steps": true,
17
+ "solver_order": 2,
18
+ "solver_type": "logrho",
19
+ "steps_offset": 1,
20
+ "thresholding": false,
21
+ "timestep_spacing": "leading",
22
+ "trained_betas": null,
23
+ "use_karras_sigmas": false
24
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "41e6644752a8c9aa63930e6043c4fd83c7708420",
3
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--Lykon--dreamshaper-xl-1-0/snapshots/41e6644752a8c9aa63930e6043c4fd83c7708420/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": 512,
18
+ "model_type": "clip-text-model",
19
+ "neuron": {
20
+ "auto_cast": "matmul",
21
+ "auto_cast_type": "bf16",
22
+ "compiler_type": "neuronx-cc",
23
+ "compiler_version": "2.11.0.35+4f5279863",
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": 512
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.33.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:65fc54f44f7dc1af6f0526105301abd45b3f5a29b4358904e96949ad84c22af4
3
+ size 375822978
text_encoder_2/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "41e6644752a8c9aa63930e6043c4fd83c7708420",
3
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--Lykon--dreamshaper-xl-1-0/snapshots/41e6644752a8c9aa63930e6043c4fd83c7708420/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": 512,
18
+ "model_type": "clip-text-model",
19
+ "neuron": {
20
+ "auto_cast": "matmul",
21
+ "auto_cast_type": "bf16",
22
+ "compiler_type": "neuronx-cc",
23
+ "compiler_version": "2.11.0.35+4f5279863",
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": 512
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.33.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:20c874232590d03ec162f620da427b7349e10f35b370760847348022dae1c40f
3
+ size 1788871946
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,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,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,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,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.22.3",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--Lykon--dreamshaper-xl-1-0/snapshots/41e6644752a8c9aa63930e6043c4fd83c7708420/unet",
6
+ "_use_default_values": [
7
+ "dropout",
8
+ "reverse_transformer_layers_per_block"
9
+ ],
10
+ "act_fn": "silu",
11
+ "addition_embed_type": "text_time",
12
+ "addition_embed_type_num_heads": 64,
13
+ "addition_time_embed_dim": 256,
14
+ "attention_head_dim": [
15
+ 5,
16
+ 10,
17
+ 20
18
+ ],
19
+ "attention_type": "default",
20
+ "block_out_channels": [
21
+ 320,
22
+ 640,
23
+ 1280
24
+ ],
25
+ "center_input_sample": false,
26
+ "class_embed_type": null,
27
+ "class_embeddings_concat": false,
28
+ "conv_in_kernel": 3,
29
+ "conv_out_kernel": 3,
30
+ "cross_attention_dim": 2048,
31
+ "cross_attention_norm": null,
32
+ "down_block_types": [
33
+ "DownBlock2D",
34
+ "CrossAttnDownBlock2D",
35
+ "CrossAttnDownBlock2D"
36
+ ],
37
+ "downsample_padding": 1,
38
+ "dropout": 0.0,
39
+ "dual_cross_attention": false,
40
+ "encoder_hid_dim": null,
41
+ "encoder_hid_dim_type": null,
42
+ "flip_sin_to_cos": true,
43
+ "freq_shift": 0,
44
+ "in_channels": 4,
45
+ "layers_per_block": 2,
46
+ "mid_block_only_cross_attention": null,
47
+ "mid_block_scale_factor": 1,
48
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
49
+ "model_type": "unet",
50
+ "neuron": {
51
+ "auto_cast": "matmul",
52
+ "auto_cast_type": "bf16",
53
+ "compiler_type": "neuronx-cc",
54
+ "compiler_version": "2.11.0.35+4f5279863",
55
+ "dynamic_batch_size": false,
56
+ "input_names": [
57
+ "sample",
58
+ "timestep",
59
+ "encoder_hidden_states",
60
+ "text_embeds",
61
+ "time_ids"
62
+ ],
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_width": 128
71
+ },
72
+ "norm_eps": 1e-05,
73
+ "norm_num_groups": 32,
74
+ "num_attention_heads": null,
75
+ "num_class_embeds": null,
76
+ "only_cross_attention": false,
77
+ "out_channels": 4,
78
+ "projection_class_embeddings_input_dim": 2816,
79
+ "resnet_out_scale_factor": 1.0,
80
+ "resnet_skip_time_act": false,
81
+ "resnet_time_scale_shift": "default",
82
+ "reverse_transformer_layers_per_block": null,
83
+ "sample_size": 128,
84
+ "task": "semantic-segmentation",
85
+ "time_cond_proj_dim": null,
86
+ "time_embedding_act_fn": null,
87
+ "time_embedding_dim": null,
88
+ "time_embedding_type": "positional",
89
+ "timestep_post_act": null,
90
+ "transformer_layers_per_block": [
91
+ 1,
92
+ 2,
93
+ 10
94
+ ],
95
+ "transformers_version": null,
96
+ "up_block_types": [
97
+ "CrossAttnUpBlock2D",
98
+ "CrossAttnUpBlock2D",
99
+ "UpBlock2D"
100
+ ],
101
+ "upcast_attention": null,
102
+ "use_linear_projection": true
103
+ }
unet/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:317910b98159b6fd18de699f4009c573d5eb04fe11ced8d764f40448316704bb
3
+ size 4175129226
vae_decoder/config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.22.3",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--Lykon--dreamshaper-xl-1-0/snapshots/41e6644752a8c9aa63930e6043c4fd83c7708420/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": "matmul",
26
+ "auto_cast_type": "bf16",
27
+ "compiler_type": "neuronx-cc",
28
+ "compiler_version": "2.11.0.35+4f5279863",
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:17abb4737f98dff979c9bf21c547a3b86b1cb93f7c2901133ef27e9035afe222
3
+ size 825236046
vae_encoder/config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_commit_hash": null,
4
+ "_diffusers_version": "0.22.3",
5
+ "_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--Lykon--dreamshaper-xl-1-0/snapshots/41e6644752a8c9aa63930e6043c4fd83c7708420/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": "matmul",
26
+ "auto_cast_type": "bf16",
27
+ "compiler_type": "neuronx-cc",
28
+ "compiler_version": "2.11.0.35+4f5279863",
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": 1024,
38
+ "static_num_channels": 3,
39
+ "static_width": 1024
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:08fa4c5e7866d742fd30eb0c15f8b6196e852c5502567ffe3219450d0b83b5db
3
+ size 405662286