add fp16 checkpoints
#4
by
Bingxin
- opened
- model_index.json +24 -23
- scheduler/scheduler_config.json +7 -1
- text_encoder/config.json +3 -3
- text_encoder/model.fp16.safetensors +3 -0
- text_encoder/pytorch_model.fp16.bin +3 -0
- tokenizer/tokenizer_config.json +30 -26
- unet/config.json +32 -3
- unet/diffusion_pytorch_model.fp16.bin +3 -0
- unet/diffusion_pytorch_model.fp16.safetensors +3 -0
- vae/config.json +4 -2
- vae/diffusion_pytorch_model.fp16.bin +3 -0
- vae/diffusion_pytorch_model.fp16.safetensors +3 -0
model_index.json
CHANGED
@@ -1,24 +1,25 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
1 |
{
|
2 |
+
"_class_name": "MarigoldPipeline",
|
3 |
+
"_diffusers_version": "0.26.2",
|
4 |
+
"_name_or_path": "checkpoint/Marigold",
|
5 |
+
"scheduler": [
|
6 |
+
"diffusers",
|
7 |
+
"DDIMScheduler"
|
8 |
+
],
|
9 |
+
"text_encoder": [
|
10 |
+
"transformers",
|
11 |
+
"CLIPTextModel"
|
12 |
+
],
|
13 |
+
"tokenizer": [
|
14 |
+
"transformers",
|
15 |
+
"CLIPTokenizer"
|
16 |
+
],
|
17 |
+
"unet": [
|
18 |
+
"diffusers",
|
19 |
+
"UNet2DConditionModel"
|
20 |
+
],
|
21 |
+
"vae": [
|
22 |
+
"diffusers",
|
23 |
+
"AutoencoderKL"
|
24 |
+
]
|
25 |
+
}
|
scheduler/scheduler_config.json
CHANGED
@@ -1,14 +1,20 @@
|
|
1 |
{
|
2 |
"_class_name": "DDIMScheduler",
|
3 |
-
"_diffusers_version": "0.
|
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": "v_prediction",
|
|
|
|
|
10 |
"set_alpha_to_one": false,
|
11 |
"skip_prk_steps": true,
|
12 |
"steps_offset": 1,
|
|
|
|
|
13 |
"trained_betas": null
|
14 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "DDIMScheduler",
|
3 |
+
"_diffusers_version": "0.26.2",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
"clip_sample": false,
|
8 |
+
"clip_sample_range": 1.0,
|
9 |
+
"dynamic_thresholding_ratio": 0.995,
|
10 |
"num_train_timesteps": 1000,
|
11 |
"prediction_type": "v_prediction",
|
12 |
+
"rescale_betas_zero_snr": false,
|
13 |
+
"sample_max_value": 1.0,
|
14 |
"set_alpha_to_one": false,
|
15 |
"skip_prk_steps": true,
|
16 |
"steps_offset": 1,
|
17 |
+
"thresholding": false,
|
18 |
+
"timestep_spacing": "leading",
|
19 |
"trained_betas": null
|
20 |
}
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
@@ -19,7 +19,7 @@
|
|
19 |
"num_hidden_layers": 23,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 512,
|
22 |
-
"torch_dtype": "
|
23 |
-
"transformers_version": "4.
|
24 |
"vocab_size": 49408
|
25 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "checkpoint/Marigold/text_encoder",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
|
|
19 |
"num_hidden_layers": 23,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 512,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"transformers_version": "4.37.2",
|
24 |
"vocab_size": 49408
|
25 |
}
|
text_encoder/model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc1827c465450322616f06dea41596eac7d493f4e95904dcb51f0fc745c4e13f
|
3 |
+
size 680820392
|
text_encoder/pytorch_model.fp16.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfc767ee894a2d26166aa7c22b7b297a1ff8e246493734490dd048087d4c9c07
|
3 |
+
size 680899947
|
tokenizer/tokenizer_config.json
CHANGED
@@ -1,34 +1,38 @@
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
-
"
|
4 |
-
"
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
},
|
|
|
|
|
11 |
"do_lower_case": true,
|
12 |
-
"eos_token":
|
13 |
-
"__type": "AddedToken",
|
14 |
-
"content": "<|endoftext|>",
|
15 |
-
"lstrip": false,
|
16 |
-
"normalized": true,
|
17 |
-
"rstrip": false,
|
18 |
-
"single_word": false
|
19 |
-
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 77,
|
22 |
-
"
|
23 |
-
"pad_token": "<|endoftext|>",
|
24 |
-
"special_tokens_map_file": "./special_tokens_map.json",
|
25 |
"tokenizer_class": "CLIPTokenizer",
|
26 |
-
"unk_token":
|
27 |
-
"__type": "AddedToken",
|
28 |
-
"content": "<|endoftext|>",
|
29 |
-
"lstrip": false,
|
30 |
-
"normalized": true,
|
31 |
-
"rstrip": false,
|
32 |
-
"single_word": false
|
33 |
-
}
|
34 |
}
|
|
|
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 |
}
|
unet/config.json
CHANGED
@@ -1,14 +1,18 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
|
|
|
|
|
|
6 |
"attention_head_dim": [
|
7 |
5,
|
8 |
10,
|
9 |
20,
|
10 |
20
|
11 |
],
|
|
|
12 |
"block_out_channels": [
|
13 |
320,
|
14 |
640,
|
@@ -16,7 +20,12 @@
|
|
16 |
1280
|
17 |
],
|
18 |
"center_input_sample": false,
|
|
|
|
|
|
|
|
|
19 |
"cross_attention_dim": 1024,
|
|
|
20 |
"down_block_types": [
|
21 |
"CrossAttnDownBlock2D",
|
22 |
"CrossAttnDownBlock2D",
|
@@ -24,21 +33,41 @@
|
|
24 |
"DownBlock2D"
|
25 |
],
|
26 |
"downsample_padding": 1,
|
|
|
27 |
"dual_cross_attention": false,
|
|
|
|
|
28 |
"flip_sin_to_cos": true,
|
29 |
"freq_shift": 0,
|
30 |
"in_channels": 8,
|
31 |
"layers_per_block": 2,
|
|
|
32 |
"mid_block_scale_factor": 1,
|
|
|
33 |
"norm_eps": 1e-05,
|
34 |
"norm_num_groups": 32,
|
|
|
|
|
|
|
35 |
"out_channels": 4,
|
|
|
|
|
|
|
|
|
|
|
36 |
"sample_size": 96,
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
"up_block_types": [
|
38 |
"UpBlock2D",
|
39 |
"CrossAttnUpBlock2D",
|
40 |
"CrossAttnUpBlock2D",
|
41 |
"CrossAttnUpBlock2D"
|
42 |
],
|
|
|
43 |
"use_linear_projection": true
|
44 |
-
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.26.2",
|
4 |
+
"_name_or_path": "checkpoint/Marigold/unet",
|
5 |
"act_fn": "silu",
|
6 |
+
"addition_embed_type": null,
|
7 |
+
"addition_embed_type_num_heads": 64,
|
8 |
+
"addition_time_embed_dim": null,
|
9 |
"attention_head_dim": [
|
10 |
5,
|
11 |
10,
|
12 |
20,
|
13 |
20
|
14 |
],
|
15 |
+
"attention_type": "default",
|
16 |
"block_out_channels": [
|
17 |
320,
|
18 |
640,
|
|
|
20 |
1280
|
21 |
],
|
22 |
"center_input_sample": false,
|
23 |
+
"class_embed_type": null,
|
24 |
+
"class_embeddings_concat": false,
|
25 |
+
"conv_in_kernel": 3,
|
26 |
+
"conv_out_kernel": 3,
|
27 |
"cross_attention_dim": 1024,
|
28 |
+
"cross_attention_norm": null,
|
29 |
"down_block_types": [
|
30 |
"CrossAttnDownBlock2D",
|
31 |
"CrossAttnDownBlock2D",
|
|
|
33 |
"DownBlock2D"
|
34 |
],
|
35 |
"downsample_padding": 1,
|
36 |
+
"dropout": 0.0,
|
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": 8,
|
43 |
"layers_per_block": 2,
|
44 |
+
"mid_block_only_cross_attention": null,
|
45 |
"mid_block_scale_factor": 1,
|
46 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
47 |
"norm_eps": 1e-05,
|
48 |
"norm_num_groups": 32,
|
49 |
+
"num_attention_heads": null,
|
50 |
+
"num_class_embeds": null,
|
51 |
+
"only_cross_attention": false,
|
52 |
"out_channels": 4,
|
53 |
+
"projection_class_embeddings_input_dim": null,
|
54 |
+
"resnet_out_scale_factor": 1.0,
|
55 |
+
"resnet_skip_time_act": false,
|
56 |
+
"resnet_time_scale_shift": "default",
|
57 |
+
"reverse_transformer_layers_per_block": null,
|
58 |
"sample_size": 96,
|
59 |
+
"time_cond_proj_dim": null,
|
60 |
+
"time_embedding_act_fn": null,
|
61 |
+
"time_embedding_dim": null,
|
62 |
+
"time_embedding_type": "positional",
|
63 |
+
"timestep_post_act": null,
|
64 |
+
"transformer_layers_per_block": 1,
|
65 |
"up_block_types": [
|
66 |
"UpBlock2D",
|
67 |
"CrossAttnUpBlock2D",
|
68 |
"CrossAttnUpBlock2D",
|
69 |
"CrossAttnUpBlock2D"
|
70 |
],
|
71 |
+
"upcast_attention": false,
|
72 |
"use_linear_projection": true
|
73 |
+
}
|
unet/diffusion_pytorch_model.fp16.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:794aca23894df15815c39312aaaa8e1243d6ab98e64d1cd6fdb703bd68878e90
|
3 |
+
size 1732130133
|
unet/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da9c13e214461c2cf82e4a0f125d914976522e53806a54d508e30ea5b8cd67f2
|
3 |
+
size 1731927776
|
vae/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
@@ -15,12 +15,14 @@
|
|
15 |
"DownEncoderBlock2D",
|
16 |
"DownEncoderBlock2D"
|
17 |
],
|
|
|
18 |
"in_channels": 3,
|
19 |
"latent_channels": 4,
|
20 |
"layers_per_block": 2,
|
21 |
"norm_num_groups": 32,
|
22 |
"out_channels": 3,
|
23 |
"sample_size": 768,
|
|
|
24 |
"up_block_types": [
|
25 |
"UpDecoderBlock2D",
|
26 |
"UpDecoderBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.26.2",
|
4 |
+
"_name_or_path": "checkpoint/Marigold/vae",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
|
|
15 |
"DownEncoderBlock2D",
|
16 |
"DownEncoderBlock2D"
|
17 |
],
|
18 |
+
"force_upcast": true,
|
19 |
"in_channels": 3,
|
20 |
"latent_channels": 4,
|
21 |
"layers_per_block": 2,
|
22 |
"norm_num_groups": 32,
|
23 |
"out_channels": 3,
|
24 |
"sample_size": 768,
|
25 |
+
"scaling_factor": 0.18215,
|
26 |
"up_block_types": [
|
27 |
"UpDecoderBlock2D",
|
28 |
"UpDecoderBlock2D",
|
vae/diffusion_pytorch_model.fp16.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44915add42092106e70bffac475aae4283b5e8167a8a0c5f55ccc667ee4ebeb5
|
3 |
+
size 167405651
|
vae/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e4c08995484ee61270175e9e7a072b66a6e4eeb5f0c266667fe1f45b90daf9a
|
3 |
+
size 167335342
|