surjo0 commited on
Commit
dc2f979
·
verified ·
1 Parent(s): 96c8604

Add files using upload-large-folder tool

Browse files
coco/pixart_alpha/run_007/Eval/generated_images/rank_1/000031.png ADDED

Git LFS Details

  • SHA256: 91ebd6133f066f22d6dd336d80055b67b8ad10d98d55b5c215314ad9e11b9209
  • Pointer size: 131 Bytes
  • Size of remote file: 265 kB
coco/pixart_alpha/run_007/Eval/generated_images/rank_1/000052.png ADDED

Git LFS Details

  • SHA256: 29c53d92a1049cf4e4250cfa85b6b4bf2a6b06291fd6456c395987555c4e2c25
  • Pointer size: 131 Bytes
  • Size of remote file: 221 kB
coco/pixart_alpha/run_007/Eval/generated_images/rank_1/000133.png ADDED

Git LFS Details

  • SHA256: 3f390e9aa75262ae6a369668ba49b05ba6d6f45546ca0a6cdfadeac4574a84d9
  • Pointer size: 131 Bytes
  • Size of remote file: 325 kB
coco/pixart_alpha/run_007/Eval/generated_images/rank_1/000180.png ADDED

Git LFS Details

  • SHA256: 40d8c4ed21c2fcf80baff58f7d5460a73013be0bc964e52dd03de9a7824957e4
  • Pointer size: 131 Bytes
  • Size of remote file: 497 kB
coco/pixart_alpha/run_007/Eval/generated_images/rank_1/000679.png ADDED

Git LFS Details

  • SHA256: 68d4f7323a7a8d468d14d234ec74572078840fb7490df710d0ed5646bd98298f
  • Pointer size: 131 Bytes
  • Size of remote file: 289 kB
coco/pixart_alpha/run_007/Eval/generated_images/rank_1/000783.png ADDED

Git LFS Details

  • SHA256: 06ebcf1ac93121052e28b965e54370d3b97de91402ab8fc282befdf27bd62d95
  • Pointer size: 131 Bytes
  • Size of remote file: 532 kB
coco/pixart_alpha/run_007/Eval/generated_images/rank_1/000799.png ADDED

Git LFS Details

  • SHA256: 2ae9e61af8f18e593471e121b10fd46c554f09d8818f50b932dda3c2f8d82a53
  • Pointer size: 131 Bytes
  • Size of remote file: 375 kB
coco/pixart_alpha/run_007/Eval/generated_images/rank_1/000868.png ADDED

Git LFS Details

  • SHA256: 59bae9432816ca1af007b1d28417914921b70298c449bc7ee5cce13d5dae3b47
  • Pointer size: 131 Bytes
  • Size of remote file: 423 kB
coco/pixart_alpha/run_007/Eval/generated_images/rank_1/000905.png ADDED

Git LFS Details

  • SHA256: f770a8d2439d2c84ba647fa9a1b59d705e743848e3862014544f6061bf6151bf
  • Pointer size: 131 Bytes
  • Size of remote file: 325 kB
coco/pixart_alpha/run_007/Eval/generated_images/rank_1/001239.png ADDED

Git LFS Details

  • SHA256: 02fb581db9e26bd1c78f8c56702299f0c1043dad0a8600bdb35dc8dd1ec56c44
  • Pointer size: 131 Bytes
  • Size of remote file: 453 kB
coco/sana 1.6/Baseline/checkpoint-10000/transformer/config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "SanaTransformer2DModel",
3
+ "_diffusers_version": "0.37.1",
4
+ "_name_or_path": "Efficient-Large-Model/Sana_1600M_512px_diffusers",
5
+ "attention_bias": false,
6
+ "attention_head_dim": 32,
7
+ "caption_channels": 2304,
8
+ "cross_attention_dim": 2240,
9
+ "cross_attention_head_dim": 112,
10
+ "dropout": 0.0,
11
+ "guidance_embeds": false,
12
+ "guidance_embeds_scale": 0.1,
13
+ "in_channels": 32,
14
+ "interpolation_scale": null,
15
+ "mlp_ratio": 2.5,
16
+ "norm_elementwise_affine": false,
17
+ "norm_eps": 1e-06,
18
+ "num_attention_heads": 70,
19
+ "num_cross_attention_heads": 20,
20
+ "num_layers": 20,
21
+ "out_channels": 32,
22
+ "patch_size": 1,
23
+ "qk_norm": null,
24
+ "sample_size": 16,
25
+ "timestep_scale": 1.0
26
+ }
coco/sana 1.6/Baseline/model_index.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "SanaPipeline",
3
+ "_diffusers_version": "0.37.1",
4
+ "scheduler": [
5
+ "diffusers",
6
+ "FlowMatchEulerDiscreteScheduler"
7
+ ],
8
+ "text_encoder": [
9
+ "transformers",
10
+ "Gemma2Model"
11
+ ],
12
+ "tokenizer": [
13
+ "transformers",
14
+ "GemmaTokenizer"
15
+ ],
16
+ "transformer": [
17
+ "diffusers",
18
+ "SanaTransformer2DModel"
19
+ ],
20
+ "vae": [
21
+ "diffusers",
22
+ "AutoencoderDC"
23
+ ]
24
+ }
coco/sana 1.6/Baseline/text_encoder/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma2Model"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "attn_logit_softcapping": 50.0,
8
+ "bos_token_id": 2,
9
+ "cache_implementation": "hybrid",
10
+ "dtype": "bfloat16",
11
+ "eos_token_id": [
12
+ 1,
13
+ 107
14
+ ],
15
+ "final_logit_softcapping": 30.0,
16
+ "head_dim": 256,
17
+ "hidden_act": "gelu_pytorch_tanh",
18
+ "hidden_activation": "gelu_pytorch_tanh",
19
+ "hidden_size": 2304,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 9216,
22
+ "layer_types": [
23
+ "sliding_attention",
24
+ "full_attention",
25
+ "sliding_attention",
26
+ "full_attention",
27
+ "sliding_attention",
28
+ "full_attention",
29
+ "sliding_attention",
30
+ "full_attention",
31
+ "sliding_attention",
32
+ "full_attention",
33
+ "sliding_attention",
34
+ "full_attention",
35
+ "sliding_attention",
36
+ "full_attention",
37
+ "sliding_attention",
38
+ "full_attention",
39
+ "sliding_attention",
40
+ "full_attention",
41
+ "sliding_attention",
42
+ "full_attention",
43
+ "sliding_attention",
44
+ "full_attention",
45
+ "sliding_attention",
46
+ "full_attention",
47
+ "sliding_attention",
48
+ "full_attention"
49
+ ],
50
+ "max_position_embeddings": 8192,
51
+ "model_type": "gemma2",
52
+ "num_attention_heads": 8,
53
+ "num_hidden_layers": 26,
54
+ "num_key_value_heads": 4,
55
+ "pad_token_id": 0,
56
+ "query_pre_attn_scalar": 256,
57
+ "rms_norm_eps": 1e-06,
58
+ "rope_parameters": {
59
+ "rope_theta": 10000.0,
60
+ "rope_type": "default"
61
+ },
62
+ "sliding_window": 4096,
63
+ "tie_word_embeddings": true,
64
+ "transformers_version": "5.9.0",
65
+ "use_bidirectional_attention": null,
66
+ "use_cache": true,
67
+ "vocab_size": 256000
68
+ }
coco/sana 1.6/Baseline/tokenizer/chat_template.jinja ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {{ bos_token }}{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '
2
+ ' + message['content'] | trim + '<end_of_turn>
3
+ ' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model
4
+ '}}{% endif %}
coco/sana 1.6/Baseline/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<bos>",
4
+ "clean_up_tokenization_spaces": false,
5
+ "eos_token": "<eos>",
6
+ "extra_special_tokens": [
7
+ "<start_of_turn>",
8
+ "<end_of_turn>"
9
+ ],
10
+ "is_local": false,
11
+ "local_files_only": false,
12
+ "mask_token": "<mask>",
13
+ "model_max_length": 1000000000000000019884624838656,
14
+ "pad_token": "<pad>",
15
+ "sp_model_kwargs": {},
16
+ "spaces_between_special_tokens": false,
17
+ "tokenizer_class": "GemmaTokenizer",
18
+ "unk_token": "<unk>",
19
+ "use_default_system_prompt": false
20
+ }
coco/sana 1.6/Baseline/training.log ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Training started: 2026-07-29 17:35:18
2
+ ==========================================================================================
3
+ Step | Epoch | Loss | Avg100 | LR | Elapsed | ETA
4
+ ------------------------------------------------------------------------------------------
5
+ [17:35:18] Run directory: RESULTS/coco/run_003
6
+ [17:35:18] cuDNN SDPA disabled -- using Flash/math backend for bf16 compatibility
7
+ [17:35:18] Loading pretrained SANA components ...
8
+ [17:35:34] Transformer params: 1,604,462,752 total, 1,604,462,752 trainable
9
+ [17:35:34] Building dataset ...
10
+ [17:35:34] Step-based training: 10000 steps (~1 epochs over dataset)
11
+ [17:35:35]
12
+ [17:35:35] ================================================================
13
+ [17:35:35] Output dir = RESULTS/coco/run_003
14
+ [17:35:35] Num examples = 591435
15
+ [17:35:35] Num epochs = 1
16
+ [17:35:35] Batch/device = 8
17
+ [17:35:35] Grad accum = 1
18
+ [17:35:35] Effective BS = 8
19
+ [17:35:35] Total optim steps = 10000
20
+ [17:35:35] LR = 0.0001
21
+ [17:35:35] Precision = bf16
22
+ [17:35:35] Log every = 50 steps
23
+ [17:35:35] Validate every = 1000 steps
24
+ [17:35:35] Checkpoint every = 2000 steps
25
+ [17:35:35] ================================================================
26
+ [17:35:35]
27
+ 50 | 0 | 0.760478 | 0.760478 | 1.00e-05 | 0:01:01 | 3:23:36
28
+ 100 | 0 | 0.941093 | 0.850785 | 2.00e-05 | 0:01:45 | 2:53:19
29
+ 150 | 0 | 0.765671 | 0.822414 | 3.00e-05 | 0:02:28 | 2:43:01
30
+ 200 | 0 | 0.907181 | 0.843606 | 4.00e-05 | 0:03:13 | 2:37:39
31
+ 250 | 0 | 0.951435 | 0.865172 | 5.00e-05 | 0:03:57 | 2:34:09
32
+ 300 | 0 | 0.876205 | 0.867011 | 6.00e-05 | 0:04:41 | 2:31:37
33
+ 350 | 0 | 0.885523 | 0.869655 | 7.00e-05 | 0:05:25 | 2:29:35
34
+ 400 | 0 | 0.910162 | 0.874719 | 8.00e-05 | 0:06:09 | 2:27:51
35
+ 450 | 0 | 0.858663 | 0.872935 | 9.00e-05 | 0:06:53 | 2:26:21
36
+ 500 | 0 | 0.803867 | 0.866028 | 1.00e-04 | 0:07:37 | 2:25:00
37
+ 550 | 0 | 0.917040 | 0.870665 | 1.00e-04 | 0:08:22 | 2:23:45
38
+ 600 | 0 | 0.951713 | 0.877419 | 1.00e-04 | 0:09:06 | 2:22:36
39
+ 650 | 0 | 0.977650 | 0.885129 | 9.99e-05 | 0:09:50 | 2:21:30
40
+ 700 | 0 | 0.852859 | 0.882824 | 9.99e-05 | 0:10:34 | 2:20:27
41
+ 750 | 0 | 0.802672 | 0.877481 | 9.98e-05 | 0:11:18 | 2:19:27
42
+ 800 | 0 | 0.886491 | 0.878044 | 9.98e-05 | 0:12:02 | 2:18:29
43
+ 850 | 0 | 0.831362 | 0.875298 | 9.97e-05 | 0:12:46 | 2:17:33
44
+ 900 | 0 | 0.996028 | 0.882005 | 9.96e-05 | 0:13:30 | 2:16:38
45
+ 950 | 0 | 0.866467 | 0.881187 | 9.94e-05 | 0:14:15 | 2:15:45
46
+ 1000 | 0 | 0.794789 | 0.876867 | 9.93e-05 | 0:14:59 | 2:14:52
47
+ [17:50:17] Generating 16 validation images ...
48
+ [17:50:32] Validation at step 1000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0001000.png
49
+ 1050 | 0 | 0.865278 | 0.876316 | 9.92e-05 | 0:15:58 | 2:16:07
50
+ 1100 | 0 | 0.940664 | 0.879241 | 9.90e-05 | 0:16:42 | 2:15:09
51
+ 1150 | 0 | 0.811666 | 0.876303 | 9.88e-05 | 0:17:26 | 2:14:11
52
+ 1200 | 0 | 0.856019 | 0.875457 | 9.87e-05 | 0:18:10 | 2:13:15
53
+ 1250 | 0 | 0.943901 | 0.878195 | 9.85e-05 | 0:18:54 | 2:12:19
54
+ 1300 | 0 | 0.832788 | 0.876449 | 9.83e-05 | 0:19:38 | 2:11:25
55
+ 1350 | 0 | 0.858445 | 0.875782 | 9.80e-05 | 0:20:22 | 2:10:31
56
+ 1400 | 0 | 0.950435 | 0.878448 | 9.78e-05 | 0:21:06 | 2:09:38
57
+ 1450 | 0 | 0.933390 | 0.880343 | 9.76e-05 | 0:21:50 | 2:08:46
58
+ 1500 | 0 | 0.846119 | 0.879202 | 9.73e-05 | 0:22:34 | 2:07:55
59
+ 1550 | 0 | 0.900224 | 0.879880 | 9.70e-05 | 0:23:18 | 2:07:04
60
+ 1600 | 0 | 0.963205 | 0.882484 | 9.67e-05 | 0:24:02 | 2:06:13
61
+ 1650 | 0 | 0.912457 | 0.883392 | 9.64e-05 | 0:24:46 | 2:05:23
62
+ 1700 | 0 | 1.002935 | 0.886908 | 9.61e-05 | 0:25:30 | 2:04:33
63
+ 1750 | 0 | 0.770141 | 0.883572 | 9.58e-05 | 0:26:14 | 2:03:43
64
+ 1800 | 0 | 0.869642 | 0.883185 | 9.55e-05 | 0:26:58 | 2:02:54
65
+ 1850 | 0 | 0.829475 | 0.881733 | 9.51e-05 | 0:27:42 | 2:02:04
66
+ 1900 | 0 | 1.013660 | 0.885205 | 9.47e-05 | 0:28:26 | 2:01:16
67
+ 1950 | 0 | 0.910568 | 0.885855 | 9.44e-05 | 0:29:10 | 2:00:27
68
+ 2000 | 0 | 0.924894 | 0.886831 | 9.40e-05 | 0:29:54 | 1:59:39
69
+ [18:05:28] Saved checkpoint -> RESULTS/coco/run_003/checkpoint-2000
70
+ [18:05:29] Generating 16 validation images ...
71
+ [18:05:43] Validation at step 2000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0002000.png
72
+ 2050 | 0 | 0.823692 | 0.885291 | 9.36e-05 | 0:31:09 | 2:00:48
73
+ 2100 | 0 | 0.887703 | 0.885349 | 9.32e-05 | 0:31:53 | 1:59:57
74
+ 2150 | 0 | 0.851853 | 0.884570 | 9.27e-05 | 0:32:37 | 1:59:06
75
+ 2200 | 0 | 0.778919 | 0.882169 | 9.23e-05 | 0:33:21 | 1:58:16
76
+ 2250 | 0 | 0.862956 | 0.881742 | 9.19e-05 | 0:34:05 | 1:57:26
77
+ 2300 | 0 | 0.893354 | 0.881994 | 9.14e-05 | 0:34:50 | 1:56:37
78
+ 2350 | 0 | 0.863914 | 0.881610 | 9.09e-05 | 0:35:34 | 1:55:47
79
+ 2400 | 0 | 0.834645 | 0.880631 | 9.05e-05 | 0:36:18 | 1:54:58
80
+ 2450 | 0 | 0.744959 | 0.877862 | 9.00e-05 | 0:37:02 | 1:54:09
81
+ 2500 | 0 | 0.878655 | 0.877878 | 8.95e-05 | 0:37:46 | 1:53:19
82
+ 2550 | 0 | 0.878488 | 0.877890 | 8.89e-05 | 0:38:30 | 1:52:30
83
+ 2600 | 0 | 0.832490 | 0.877017 | 8.84e-05 | 0:39:14 | 1:51:41
84
+ 2650 | 0 | 0.905603 | 0.877556 | 8.79e-05 | 0:39:58 | 1:50:53
85
+ 2700 | 0 | 0.942270 | 0.878755 | 8.73e-05 | 0:40:42 | 1:50:04
86
+ 2750 | 0 | 0.890698 | 0.878972 | 8.68e-05 | 0:41:26 | 1:49:16
87
+ 2800 | 0 | 0.881064 | 0.879009 | 8.62e-05 | 0:42:10 | 1:48:28
88
+ 2850 | 0 | 0.942874 | 0.880130 | 8.56e-05 | 0:42:55 | 1:47:40
89
+ 2900 | 0 | 0.814297 | 0.878995 | 8.51e-05 | 0:43:39 | 1:46:52
90
+ 2950 | 0 | 0.887490 | 0.879139 | 8.45e-05 | 0:44:23 | 1:46:04
91
+ 3000 | 0 | 0.839192 | 0.878473 | 8.39e-05 | 0:45:07 | 1:45:16
92
+ [18:20:26] Generating 16 validation images ...
93
+ [18:20:40] Validation at step 3000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0003000.png
94
+ 3050 | 0 | 0.981305 | 0.880159 | 8.33e-05 | 0:46:06 | 1:45:03
95
+ 3100 | 0 | 0.873025 | 0.880044 | 8.26e-05 | 0:46:50 | 1:44:15
96
+ 3150 | 0 | 0.935400 | 0.880922 | 8.20e-05 | 0:47:34 | 1:43:26
97
+ 3200 | 0 | 0.896024 | 0.881158 | 8.14e-05 | 0:48:18 | 1:42:38
98
+ 3250 | 0 | 0.912711 | 0.881644 | 8.07e-05 | 0:49:02 | 1:41:50
99
+ 3300 | 0 | 0.796406 | 0.880352 | 8.01e-05 | 0:49:46 | 1:41:03
100
+ 3350 | 0 | 0.917510 | 0.880907 | 7.94e-05 | 0:50:30 | 1:40:15
101
+ 3400 | 0 | 0.845164 | 0.880381 | 7.87e-05 | 0:51:14 | 1:39:27
102
+ 3450 | 0 | 0.884170 | 0.880436 | 7.80e-05 | 0:51:58 | 1:38:40
103
+ 3500 | 0 | 0.936578 | 0.881238 | 7.73e-05 | 0:52:42 | 1:37:52
104
+ 3550 | 0 | 0.960475 | 0.882354 | 7.67e-05 | 0:53:26 | 1:37:05
105
+ 3600 | 0 | 0.777648 | 0.880900 | 7.59e-05 | 0:54:10 | 1:36:18
106
+ 3650 | 0 | 0.829937 | 0.880202 | 7.52e-05 | 0:54:54 | 1:35:31
107
+ 3700 | 0 | 0.901641 | 0.880491 | 7.45e-05 | 0:55:38 | 1:34:43
108
+ 3750 | 0 | 0.838150 | 0.879927 | 7.38e-05 | 0:56:22 | 1:33:57
109
+ 3800 | 0 | 0.931804 | 0.880610 | 7.31e-05 | 0:57:06 | 1:33:10
110
+ 3850 | 0 | 0.874776 | 0.880534 | 7.23e-05 | 0:57:50 | 1:32:23
111
+ 3900 | 0 | 0.889760 | 0.880652 | 7.16e-05 | 0:58:34 | 1:31:36
112
+ 3950 | 0 | 0.803894 | 0.879680 | 7.08e-05 | 0:59:18 | 1:30:49
113
+ 4000 | 0 | 0.855071 | 0.879373 | 7.01e-05 | 1:00:02 | 1:30:03
114
+ [18:35:35] Saved checkpoint -> RESULTS/coco/run_003/checkpoint-4000
115
+ [18:35:35] Generating 16 validation images ...
116
+ [18:35:49] Validation at step 4000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0004000.png
117
+ 4050 | 0 | 0.787973 | 0.878244 | 6.93e-05 | 1:01:15 | 1:29:59
118
+ 4100 | 0 | 0.903036 | 0.878547 | 6.86e-05 | 1:01:59 | 1:29:12
119
+ 4150 | 0 | 0.888792 | 0.878670 | 6.78e-05 | 1:02:43 | 1:28:25
120
+ 4200 | 0 | 0.903905 | 0.878971 | 6.70e-05 | 1:03:27 | 1:27:37
121
+ 4250 | 0 | 0.950519 | 0.879812 | 6.62e-05 | 1:04:11 | 1:26:50
122
+ 4300 | 0 | 0.871455 | 0.879715 | 6.55e-05 | 1:04:55 | 1:26:03
123
+ 4350 | 0 | 0.885078 | 0.879777 | 6.47e-05 | 1:05:39 | 1:25:16
124
+ 4400 | 0 | 0.898694 | 0.879992 | 6.39e-05 | 1:06:23 | 1:24:29
125
+ 4450 | 0 | 0.739737 | 0.878416 | 6.31e-05 | 1:07:07 | 1:23:42
126
+ 4500 | 0 | 0.776479 | 0.877283 | 6.23e-05 | 1:07:51 | 1:22:56
127
+ 4550 | 0 | 0.961473 | 0.878208 | 6.15e-05 | 1:08:35 | 1:22:09
128
+ 4600 | 0 | 0.878940 | 0.878216 | 6.07e-05 | 1:09:19 | 1:21:22
129
+ 4650 | 0 | 0.956167 | 0.879055 | 5.99e-05 | 1:10:03 | 1:20:36
130
+ 4700 | 0 | 0.922428 | 0.879516 | 5.90e-05 | 1:10:47 | 1:19:49
131
+ 4750 | 0 | 0.939430 | 0.880147 | 5.82e-05 | 1:11:31 | 1:19:03
132
+ 4800 | 0 | 0.881324 | 0.880159 | 5.74e-05 | 1:12:15 | 1:18:16
133
+ 4850 | 0 | 0.906720 | 0.880433 | 5.66e-05 | 1:12:59 | 1:17:30
134
+ 4900 | 0 | 0.946004 | 0.881102 | 5.58e-05 | 1:13:43 | 1:16:43
135
+ 4950 | 0 | 0.790166 | 0.880183 | 5.50e-05 | 1:14:27 | 1:15:57
136
+ 5000 | 0 | 0.721471 | 0.878596 | 5.41e-05 | 1:15:11 | 1:15:11
137
+ [18:50:29] Generating 16 validation images ...
138
+ [18:50:43] Validation at step 5000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0005000.png
139
+ 5050 | 0 | 0.938139 | 0.880373 | 5.33e-05 | 1:16:10 | 1:14:39
140
+ 5100 | 0 | 0.908168 | 0.880044 | 5.25e-05 | 1:16:54 | 1:13:53
141
+ 5150 | 0 | 0.887730 | 0.881264 | 5.17e-05 | 1:17:38 | 1:13:06
142
+ 5200 | 0 | 0.902588 | 0.881218 | 5.08e-05 | 1:18:22 | 1:12:20
143
+ 5250 | 0 | 0.925590 | 0.880960 | 5.00e-05 | 1:19:06 | 1:11:34
144
+ 5300 | 0 | 0.893381 | 0.881131 | 4.92e-05 | 1:19:50 | 1:10:47
145
+ 5350 | 0 | 0.955701 | 0.881833 | 4.83e-05 | 1:20:34 | 1:10:01
146
+ 5400 | 0 | 0.728918 | 0.880021 | 4.75e-05 | 1:21:18 | 1:09:15
147
+ 5450 | 0 | 0.890770 | 0.880342 | 4.67e-05 | 1:22:02 | 1:08:29
148
+ 5500 | 0 | 0.761510 | 0.879918 | 4.59e-05 | 1:22:46 | 1:07:43
149
+ 5550 | 0 | 0.876248 | 0.879510 | 4.50e-05 | 1:23:30 | 1:06:57
150
+ 5600 | 0 | 0.896150 | 0.878955 | 4.42e-05 | 1:24:14 | 1:06:11
151
+ 5650 | 0 | 0.788111 | 0.877059 | 4.34e-05 | 1:24:58 | 1:05:25
152
+ 5700 | 0 | 0.725484 | 0.875786 | 4.26e-05 | 1:25:42 | 1:04:39
153
+ 5750 | 0 | 0.843760 | 0.876196 | 4.18e-05 | 1:26:26 | 1:03:53
154
+ 5800 | 0 | 0.819062 | 0.875522 | 4.10e-05 | 1:27:10 | 1:03:07
155
+ 5850 | 0 | 0.847085 | 0.875679 | 4.01e-05 | 1:27:54 | 1:02:21
156
+ 5900 | 0 | 0.860634 | 0.874325 | 3.93e-05 | 1:28:38 | 1:01:35
157
+ 5950 | 0 | 0.854720 | 0.874208 | 3.85e-05 | 1:29:22 | 1:00:49
158
+ 6000 | 0 | 0.874848 | 0.875009 | 3.77e-05 | 1:30:06 | 1:00:04
159
+ [19:05:39] Saved checkpoint -> RESULTS/coco/run_003/checkpoint-6000
160
+ [19:05:40] Generating 16 validation images ...
161
+ [19:05:54] Validation at step 6000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0006000.png
162
+ 6050 | 0 | 0.904537 | 0.875401 | 3.69e-05 | 1:31:20 | 0:59:38
163
+ 6100 | 0 | 0.905679 | 0.875051 | 3.61e-05 | 1:32:04 | 0:58:52
164
+ 6150 | 0 | 0.906673 | 0.876001 | 3.53e-05 | 1:32:48 | 0:58:05
165
+ 6200 | 0 | 0.827156 | 0.875713 | 3.45e-05 | 1:33:32 | 0:57:19
166
+ 6250 | 0 | 0.829946 | 0.874573 | 3.38e-05 | 1:34:16 | 0:56:33
167
+ 6300 | 0 | 0.938410 | 0.875629 | 3.30e-05 | 1:35:00 | 0:55:47
168
+ 6350 | 0 | 0.909571 | 0.876141 | 3.22e-05 | 1:35:44 | 0:55:01
169
+ 6400 | 0 | 0.858869 | 0.875225 | 3.14e-05 | 1:36:28 | 0:54:15
170
+ 6450 | 0 | 0.982355 | 0.875715 | 3.07e-05 | 1:37:12 | 0:53:30
171
+ 6500 | 0 | 0.907753 | 0.876331 | 2.99e-05 | 1:37:56 | 0:52:44
172
+ 6550 | 0 | 0.782605 | 0.875155 | 2.92e-05 | 1:38:40 | 0:51:58
173
+ 6600 | 0 | 0.843895 | 0.873962 | 2.84e-05 | 1:39:24 | 0:51:12
174
+ 6650 | 0 | 0.927511 | 0.874112 | 2.77e-05 | 1:40:08 | 0:50:26
175
+ 6700 | 0 | 0.837206 | 0.872455 | 2.69e-05 | 1:40:52 | 0:49:40
176
+ 6750 | 0 | 0.881677 | 0.873570 | 2.62e-05 | 1:41:36 | 0:48:55
177
+ 6800 | 0 | 0.852411 | 0.873398 | 2.55e-05 | 1:42:20 | 0:48:09
178
+ 6850 | 0 | 0.834646 | 0.873450 | 2.48e-05 | 1:43:04 | 0:47:23
179
+ 6900 | 0 | 0.820465 | 0.871518 | 2.41e-05 | 1:43:48 | 0:46:38
180
+ 6950 | 0 | 0.856236 | 0.870975 | 2.33e-05 | 1:44:32 | 0:45:52
181
+ 7000 | 0 | 0.870609 | 0.870432 | 2.27e-05 | 1:45:16 | 0:45:06
182
+ [19:20:35] Generating 16 validation images ...
183
+ [19:20:49] Validation at step 7000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0007000.png
184
+ 7050 | 0 | 0.732817 | 0.869523 | 2.20e-05 | 1:46:15 | 0:44:27
185
+ 7100 | 0 | 0.889475 | 0.869541 | 2.13e-05 | 1:46:59 | 0:43:41
186
+ 7150 | 0 | 0.959435 | 0.870616 | 2.06e-05 | 1:47:42 | 0:42:56
187
+ 7200 | 0 | 0.957080 | 0.872398 | 1.99e-05 | 1:48:26 | 0:42:10
188
+ 7250 | 0 | 0.892416 | 0.872693 | 1.93e-05 | 1:49:10 | 0:41:24
189
+ 7300 | 0 | 0.872508 | 0.872484 | 1.86e-05 | 1:49:54 | 0:40:39
190
+ 7350 | 0 | 0.750562 | 0.871351 | 1.80e-05 | 1:50:38 | 0:39:53
191
+ 7400 | 0 | 0.848233 | 0.871487 | 1.74e-05 | 1:51:22 | 0:39:08
192
+ 7450 | 0 | 0.934904 | 0.873386 | 1.67e-05 | 1:52:06 | 0:38:22
193
+ 7500 | 0 | 0.963994 | 0.874239 | 1.61e-05 | 1:52:50 | 0:37:36
194
+ 7550 | 0 | 0.920644 | 0.874661 | 1.55e-05 | 1:53:34 | 0:36:51
195
+ 7600 | 0 | 0.771451 | 0.874051 | 1.49e-05 | 1:54:18 | 0:36:05
196
+ 7650 | 0 | 0.908432 | 0.874079 | 1.44e-05 | 1:55:02 | 0:35:20
197
+ 7700 | 0 | 0.800746 | 0.872664 | 1.38e-05 | 1:55:46 | 0:34:35
198
+ 7750 | 0 | 0.938667 | 0.873143 | 1.32e-05 | 1:56:30 | 0:33:49
199
+ 7800 | 0 | 0.995680 | 0.874289 | 1.27e-05 | 1:57:14 | 0:33:04
200
+ 7850 | 0 | 0.861044 | 0.873471 | 1.21e-05 | 1:57:58 | 0:32:18
201
+ 7900 | 0 | 0.839965 | 0.873728 | 1.16e-05 | 1:58:42 | 0:31:33
202
+ 7950 | 0 | 0.840755 | 0.873260 | 1.11e-05 | 1:59:26 | 0:30:48
203
+ 8000 | 0 | 0.824622 | 0.873115 | 1.05e-05 | 2:00:10 | 0:30:02
204
+ [19:35:43] Saved checkpoint -> RESULTS/coco/run_003/checkpoint-8000
205
+ [19:35:46] Removed old checkpoint: checkpoint-2000
206
+ [19:35:46] Generating 16 validation images ...
207
+ [19:36:00] Validation at step 8000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0008000.png
208
+ 8050 | 0 | 0.941438 | 0.872716 | 1.00e-05 | 2:01:26 | 0:29:25
209
+ 8100 | 0 | 0.869132 | 0.872677 | 9.55e-06 | 2:02:10 | 0:28:39
210
+ 8150 | 0 | 0.967525 | 0.872998 | 9.07e-06 | 2:02:54 | 0:27:53
211
+ 8200 | 0 | 0.889449 | 0.872933 | 8.60e-06 | 2:03:38 | 0:27:08
212
+ 8250 | 0 | 0.841663 | 0.872222 | 8.14e-06 | 2:04:22 | 0:26:22
213
+ 8300 | 0 | 0.891179 | 0.873170 | 7.70e-06 | 2:05:06 | 0:25:37
214
+ 8350 | 0 | 0.907278 | 0.873068 | 7.26e-06 | 2:05:50 | 0:24:52
215
+ 8400 | 0 | 0.808326 | 0.872699 | 6.84e-06 | 2:06:34 | 0:24:06
216
+ 8450 | 0 | 0.909973 | 0.872957 | 6.43e-06 | 2:07:18 | 0:23:21
217
+ 8500 | 0 | 0.995748 | 0.873549 | 6.03e-06 | 2:08:02 | 0:22:35
218
+ 8550 | 0 | 0.880114 | 0.872745 | 5.64e-06 | 2:08:46 | 0:21:50
219
+ 8600 | 0 | 0.901916 | 0.873988 | 5.26e-06 | 2:09:30 | 0:21:04
220
+ 8650 | 0 | 1.011786 | 0.875807 | 4.90e-06 | 2:10:14 | 0:20:19
221
+ 8700 | 0 | 0.946188 | 0.876252 | 4.55e-06 | 2:10:58 | 0:19:34
222
+ 8750 | 0 | 0.828231 | 0.876153 | 4.21e-06 | 2:11:42 | 0:18:48
223
+ 8800 | 0 | 0.875045 | 0.875585 | 3.89e-06 | 2:12:26 | 0:18:03
224
+ 8850 | 0 | 0.857430 | 0.875412 | 3.57e-06 | 2:13:10 | 0:17:18
225
+ 8900 | 0 | 0.854106 | 0.875055 | 3.27e-06 | 2:13:54 | 0:16:33
226
+ 8950 | 0 | 0.800088 | 0.875017 | 2.98e-06 | 2:14:38 | 0:15:47
227
+ 9000 | 0 | 0.932852 | 0.875795 | 2.71e-06 | 2:15:22 | 0:15:02
228
+ [19:50:41] Generating 16 validation images ...
229
+ [19:50:55] Validation at step 9000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0009000.png
230
+ 9050 | 0 | 0.918469 | 0.877100 | 2.45e-06 | 2:16:21 | 0:14:18
231
+ 9100 | 0 | 0.996456 | 0.878034 | 2.20e-06 | 2:17:05 | 0:13:33
232
+ 9150 | 0 | 0.892292 | 0.878069 | 1.96e-06 | 2:17:49 | 0:12:48
233
+ 9200 | 0 | 0.900101 | 0.878031 | 1.74e-06 | 2:18:33 | 0:12:02
234
+ 9250 | 0 | 0.918408 | 0.877710 | 1.53e-06 | 2:19:17 | 0:11:17
235
+ 9300 | 0 | 0.826817 | 0.877264 | 1.33e-06 | 2:20:01 | 0:10:32
236
+ 9350 | 0 | 0.796730 | 0.876380 | 1.15e-06 | 2:20:45 | 0:09:47
237
+ 9400 | 0 | 0.769820 | 0.875091 | 9.81e-07 | 2:21:29 | 0:09:01
238
+ 9450 | 0 | 0.903443 | 0.876728 | 8.25e-07 | 2:22:13 | 0:08:16
239
+ 9500 | 0 | 0.825443 | 0.877218 | 6.82e-07 | 2:22:57 | 0:07:31
240
+ 9550 | 0 | 0.845563 | 0.876059 | 5.53e-07 | 2:23:41 | 0:06:46
241
+ 9600 | 0 | 0.912865 | 0.876398 | 4.37e-07 | 2:24:25 | 0:06:01
242
+ 9650 | 0 | 0.827483 | 0.875111 | 3.35e-07 | 2:25:09 | 0:05:15
243
+ 9700 | 0 | 0.972925 | 0.875616 | 2.46e-07 | 2:25:53 | 0:04:30
244
+ 9750 | 0 | 0.892896 | 0.875151 | 1.71e-07 | 2:26:37 | 0:03:45
245
+ 9800 | 0 | 0.814203 | 0.874480 | 1.09e-07 | 2:27:21 | 0:03:00
246
+ 9850 | 0 | 0.896359 | 0.874376 | 6.15e-08 | 2:28:05 | 0:02:15
247
+ 9900 | 0 | 0.784579 | 0.872762 | 2.73e-08 | 2:28:49 | 0:01:30
248
+ 9950 | 0 | 0.905992 | 0.873920 | 6.83e-09 | 2:29:33 | 0:00:45
249
+ 10000 | 0 | 0.867195 | 0.875377 | 0.00e+00 | 2:30:17 | 0:00:00
250
+ [20:05:50] Saved checkpoint -> RESULTS/coco/run_003/checkpoint-10000
251
+ [20:05:52] Removed old checkpoint: checkpoint-4000
252
+ [20:05:53] Generating 16 validation images ...
253
+ [20:06:07] Validation at step 10000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0010000.png
254
+ [20:06:07] --- Epoch 0 complete | Steps: 10000 | Avg Loss: 0.872542 ---
255
+ [20:06:07] Saving final model ...
256
+ [20:06:17] Pipeline saved -> RESULTS/coco/run_003
257
+ [20:06:17] Generating final validation collage ...
258
+ [20:06:17] Generating 16 validation images ...
259
+ [20:06:31] Validation at step 10000: generated 16 images -> RESULTS/coco/run_003/validation/collage_step_0010000.png
260
+ [20:06:31]
261
+ [20:06:31] ============================================================
262
+ [20:06:31] TRAINING SUMMARY
263
+ [20:06:31] ============================================================
264
+ [20:06:31] Total steps : 200
265
+ [20:06:31] Final loss : 0.867195
266
+ [20:06:31] Avg last 100 : 0.875377
267
+ [20:06:31] Min loss : 0.721471
268
+ [20:06:31] Total time : 2:31:13
269
+ [20:06:31] Output : RESULTS/coco/run_003
270
+ [20:06:31] ============================================================
coco/sana 1.6/Baseline/training_args.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pretrained_model_name_or_path": "Efficient-Large-Model/Sana_1600M_512px_diffusers",
3
+ "revision": null,
4
+ "variant": null,
5
+ "cache_dir": null,
6
+ "data_dir": "../data/coco",
7
+ "caption_file_train": "caption_train.json",
8
+ "caption_file_val": "caption_val.json",
9
+ "images_dir": "images",
10
+ "max_captions_per_image": 5,
11
+ "results_root": "RESULTS",
12
+ "seed": 42,
13
+ "resolution": 512,
14
+ "train_batch_size": 8,
15
+ "max_train_steps": 10000,
16
+ "num_train_epochs": 1,
17
+ "gradient_accumulation_steps": 1,
18
+ "gradient_checkpointing": false,
19
+ "learning_rate": 0.0001,
20
+ "scale_lr": false,
21
+ "lr_scheduler": "cosine",
22
+ "lr_warmup_steps": 500,
23
+ "lr_num_cycles": 1,
24
+ "optimizer": "AdamW",
25
+ "adam_beta1": 0.9,
26
+ "adam_beta2": 0.999,
27
+ "adam_weight_decay": 0.01,
28
+ "adam_epsilon": 1e-08,
29
+ "max_grad_norm": 1.0,
30
+ "mixed_precision": "bf16",
31
+ "allow_tf32": false,
32
+ "checkpointing_steps": 2000,
33
+ "checkpoints_total_limit": 3,
34
+ "resume_from_checkpoint": null,
35
+ "validation_steps": 1000,
36
+ "validation_prompts_file": null,
37
+ "log_every_n_steps": 50,
38
+ "weighting_scheme": "logit_normal",
39
+ "logit_mean": 0.0,
40
+ "logit_std": 1.0,
41
+ "mode_scale": 1.29,
42
+ "max_sequence_length": 256,
43
+ "dataloader_num_workers": 4,
44
+ "pin_memory": false,
45
+ "output_dir": "RESULTS/coco/run_003"
46
+ }
coco/sana 1.6/Baseline/training_summary.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "total_steps": 200,
3
+ "final_loss": 0.8671954870223999,
4
+ "avg_last_100": 0.8753774619102478,
5
+ "min_loss": 0.7214709520339966,
6
+ "total_time": "2:31:13"
7
+ }
coco/sana 1.6/Baseline/transformer/config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "SanaTransformer2DModel",
3
+ "_diffusers_version": "0.37.1",
4
+ "_name_or_path": "Efficient-Large-Model/Sana_1600M_512px_diffusers",
5
+ "attention_bias": false,
6
+ "attention_head_dim": 32,
7
+ "caption_channels": 2304,
8
+ "cross_attention_dim": 2240,
9
+ "cross_attention_head_dim": 112,
10
+ "dropout": 0.0,
11
+ "guidance_embeds": false,
12
+ "guidance_embeds_scale": 0.1,
13
+ "in_channels": 32,
14
+ "interpolation_scale": null,
15
+ "mlp_ratio": 2.5,
16
+ "norm_elementwise_affine": false,
17
+ "norm_eps": 1e-06,
18
+ "num_attention_heads": 70,
19
+ "num_cross_attention_heads": 20,
20
+ "num_layers": 20,
21
+ "out_channels": 32,
22
+ "patch_size": 1,
23
+ "qk_norm": null,
24
+ "sample_size": 16,
25
+ "timestep_scale": 1.0
26
+ }
coco/sana 1.6/Baseline/vae/config.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderDC",
3
+ "_diffusers_version": "0.37.1",
4
+ "_name_or_path": "Efficient-Large-Model/Sana_1600M_512px_diffusers",
5
+ "attention_head_dim": 32,
6
+ "decoder_act_fns": "silu",
7
+ "decoder_block_out_channels": [
8
+ 128,
9
+ 256,
10
+ 512,
11
+ 512,
12
+ 1024,
13
+ 1024
14
+ ],
15
+ "decoder_block_types": [
16
+ "ResBlock",
17
+ "ResBlock",
18
+ "ResBlock",
19
+ "EfficientViTBlock",
20
+ "EfficientViTBlock",
21
+ "EfficientViTBlock"
22
+ ],
23
+ "decoder_conv_act_fn": "relu",
24
+ "decoder_in_shortcut": true,
25
+ "decoder_layers_per_block": [
26
+ 3,
27
+ 3,
28
+ 3,
29
+ 3,
30
+ 3,
31
+ 3
32
+ ],
33
+ "decoder_norm_types": "rms_norm",
34
+ "decoder_qkv_multiscales": [
35
+ [],
36
+ [],
37
+ [],
38
+ [
39
+ 5
40
+ ],
41
+ [
42
+ 5
43
+ ],
44
+ [
45
+ 5
46
+ ]
47
+ ],
48
+ "downsample_block_type": "Conv",
49
+ "encoder_block_out_channels": [
50
+ 128,
51
+ 256,
52
+ 512,
53
+ 512,
54
+ 1024,
55
+ 1024
56
+ ],
57
+ "encoder_block_types": [
58
+ "ResBlock",
59
+ "ResBlock",
60
+ "ResBlock",
61
+ "EfficientViTBlock",
62
+ "EfficientViTBlock",
63
+ "EfficientViTBlock"
64
+ ],
65
+ "encoder_layers_per_block": [
66
+ 2,
67
+ 2,
68
+ 2,
69
+ 3,
70
+ 3,
71
+ 3
72
+ ],
73
+ "encoder_out_shortcut": true,
74
+ "encoder_qkv_multiscales": [
75
+ [],
76
+ [],
77
+ [],
78
+ [
79
+ 5
80
+ ],
81
+ [
82
+ 5
83
+ ],
84
+ [
85
+ 5
86
+ ]
87
+ ],
88
+ "in_channels": 3,
89
+ "latent_channels": 32,
90
+ "scaling_factor": 0.41407,
91
+ "upsample_block_type": "interpolate"
92
+ }