Merserk commited on
Commit
1b3319a
·
verified ·
1 Parent(s): eac8653

Upload 1391 files

Browse files
README.md CHANGED
@@ -42,8 +42,11 @@ This release is a paired, deterministic comparison of eight Krea 2 Turbo checkpo
42
  1. **BF16** is the highest-fidelity reference because it is the unquantized published checkpoint.
43
  2. **INT8 ConvRot** narrowly leads the preregistered LPIPS-Alex endpoint. **GGUF Q8_0** is statistically tied with it on that endpoint (Holm-adjusted permutation p=0.9067) and leads INT8 on DISTS, DINO similarity, and reconstructed-weight SNR.
44
  3. **GGUF Q8_0** is the highest-fidelity of the three added formats.
45
- 4. **GGUF Q4_K_M** is a storage-quality compromise: 6.972 GiB and much closer to BF16 than INT4 ConvRot, but slow on this Ada GPU under ComfyUI-GGUF dequantized execution.
46
- 5. **INT4 ConvRot W4A4** is the smallest checkpoint and fastest of the three additions on this RTX 4060 Ti, but has the largest measured fidelity loss.
 
 
 
47
 
48
  No weighted composite score is used. See [the full technical report](TECHNICAL_REPORT.md) and [`tables/decision_table.csv`](tables/decision_table.csv).
49
 
 
42
  1. **BF16** is the highest-fidelity reference because it is the unquantized published checkpoint.
43
  2. **INT8 ConvRot** narrowly leads the preregistered LPIPS-Alex endpoint. **GGUF Q8_0** is statistically tied with it on that endpoint (Holm-adjusted permutation p=0.9067) and leads INT8 on DISTS, DINO similarity, and reconstructed-weight SNR.
44
  3. **GGUF Q8_0** is the highest-fidelity of the three added formats.
45
+ 4. **MXFP8** ranks fourth in fidelity (LPIPS 0.071229) and halves checkpoint size versus BF16, but its native SM 10.0 fast path was unavailable on this Ada GPU, resulting in 31.929 s fallback sampling.
46
+ 5. **FP8 Scaled** ranks fifth (LPIPS 0.093701) at 12.239 GiB and was the fastest of the original five formats at 19.503 s on this GPU.
47
+ 6. **GGUF Q4_K_M** is a storage-quality compromise: 6.972 GiB and much closer to BF16 than INT4 ConvRot, but slow on this Ada GPU under ComfyUI-GGUF dequantized execution.
48
+ 7. **NVFP4** is 7.147 GiB with moderate fidelity loss (LPIPS 0.205124). Like MXFP8, its native fast multiplication requires SM 10.0; the recorded 24.925 s sampling time uses the fallback path.
49
+ 8. **INT4 ConvRot W4A4** is the smallest checkpoint and fastest of the three additions on this RTX 4060 Ti, but has the largest measured fidelity loss.
50
 
51
  No weighted composite score is used. See [the full technical report](TECHNICAL_REPORT.md) and [`tables/decision_table.csv`](tables/decision_table.csv).
52
 
checksums/SHA256SUMS CHANGED
@@ -3,7 +3,7 @@
3
  afbd7232877f7fb929d8e7a2b3b396a41179a3106ee6c1c99f90aa470062f969 CITATION.cff
4
  fe888a3acbf08a05c3e976f76aa635f2a7034d09589955117c890f3f3a05c0a6 LICENSE-CODE
5
  10232ffb753de2527c89b1f4a69bb1479e846892c3b3e26a8550866d0f0fe440 LICENSE-DATA
6
- f1469ecd0c5758c1436a286af0134c11c47a670bfaf06ce389e9f728c4bd98e3 README.md
7
  7860f02cff561fc62a93cabc452ea76a20452063e8207f97fecedb1a74fbadb2 TECHNICAL_REPORT.md
8
  f020293711e8ad7eab2758442e5479b39648cd6c725fd076403f66a029c60b5c comparison_sheets/complete.json
9
  d71bfb4a773b3998636d68998ad885b52907b285a703cb2348976f4b613ba4de comparison_sheets/contact_sheet_replicate0.png
@@ -1350,13 +1350,15 @@ ac62c40c4d2c67eea2f9d75d6a5b5ca49adee92159566f0244f1914079ee46a3 reproduction/b
1350
  1b7617cd23d22cca2eacfabd42702c4e9cdaa38d52ad5544b397c4a50eab6fd8 reproduction/benchmark/requirements-analysis.txt
1351
  ac7ecf2619f7e8c8b0c6e1a7b80358bc31bfa1422eeae178e9a52b7063076572 reproduction/benchmark/run_benchmark.ps1
1352
  eafc0cd5d02d6ba78f230bd1143d82e709ff18581687fa9bc98ef82067e296c2 reproduction/benchmark/run_benchmark.sh
1353
- 5af229237f69e422eeba4af6072f8a8f3785302c275b5b2cd4642c6e3012d360 reproduction/benchmark/verify_results.py
1354
  45424545b70d1b53f9f4e1e401029f24c794b7ad39821df97794b0b7b8fa79e8 reproduction/benchmark/weight_audit.py
1355
  2b9556cb65fa4778117dd8b4ecb0680a2f2d8998c67f1b8418f4748b9008b3b1 reproduction/benchmark/workflows/krea2_benchmark_api.json
 
1356
  4315ea5adc5f369d91aa1b654dba0ff641068de79ac5d121d201ee7c211fc38e reproduction/benchmark/workflows/krea2_benchmark_interactive.json
 
1357
  150a133f4ff5508ca9828fd436fd3db854fbc7218c8fcd9217395eabdb51e3b3 reproduction/download_models.py
1358
  ac43fe8c1625b5754ab3d829591758a50607320f4f694c32784e5ce026c2bc59 reproduction/requirements-release.txt
1359
- 8229ef539c836356036804a00ef32015c1b71c01af091c6b31d2051dc554a50f scripts/prepare_release.py
1360
  15a332d8bd9031c64539d7bd64df1f55619987ae9e07d06540585fc302d8ac82 scripts/upload_to_huggingface.py
1361
  55c4f6d373d3fe4e7fde9e7c8a88c142de15a0dbaedc8f7be91f3cd997a77ce9 scripts/validate_release.py
1362
  99eb77d4339d532e6fc11cfd50cd55b4f8db54f58f1ddcd93cf74361a9252012 tables/decision_table.csv
 
3
  afbd7232877f7fb929d8e7a2b3b396a41179a3106ee6c1c99f90aa470062f969 CITATION.cff
4
  fe888a3acbf08a05c3e976f76aa635f2a7034d09589955117c890f3f3a05c0a6 LICENSE-CODE
5
  10232ffb753de2527c89b1f4a69bb1479e846892c3b3e26a8550866d0f0fe440 LICENSE-DATA
6
+ 1746cf85f90d495021261f7207ab63ee725f0597422739a80bc0ab02ab492ff4 README.md
7
  7860f02cff561fc62a93cabc452ea76a20452063e8207f97fecedb1a74fbadb2 TECHNICAL_REPORT.md
8
  f020293711e8ad7eab2758442e5479b39648cd6c725fd076403f66a029c60b5c comparison_sheets/complete.json
9
  d71bfb4a773b3998636d68998ad885b52907b285a703cb2348976f4b613ba4de comparison_sheets/contact_sheet_replicate0.png
 
1350
  1b7617cd23d22cca2eacfabd42702c4e9cdaa38d52ad5544b397c4a50eab6fd8 reproduction/benchmark/requirements-analysis.txt
1351
  ac7ecf2619f7e8c8b0c6e1a7b80358bc31bfa1422eeae178e9a52b7063076572 reproduction/benchmark/run_benchmark.ps1
1352
  eafc0cd5d02d6ba78f230bd1143d82e709ff18581687fa9bc98ef82067e296c2 reproduction/benchmark/run_benchmark.sh
1353
+ 3134c540c001e898bbb7592faa12a13664f12a6d645a65e4a854bf9d67e6680f reproduction/benchmark/verify_results.py
1354
  45424545b70d1b53f9f4e1e401029f24c794b7ad39821df97794b0b7b8fa79e8 reproduction/benchmark/weight_audit.py
1355
  2b9556cb65fa4778117dd8b4ecb0680a2f2d8998c67f1b8418f4748b9008b3b1 reproduction/benchmark/workflows/krea2_benchmark_api.json
1356
+ b2482808ae8ad7dc723bbee028d76650909449bf03b19118f046a3e9f0721ea7 reproduction/benchmark/workflows/krea2_benchmark_api_gguf.json
1357
  4315ea5adc5f369d91aa1b654dba0ff641068de79ac5d121d201ee7c211fc38e reproduction/benchmark/workflows/krea2_benchmark_interactive.json
1358
+ e77eff0f644162b32fdbb19e0787b1381a007b41897a4bacb9b47c18791b6a4d reproduction/benchmark/workflows/krea2_benchmark_interactive_gguf.json
1359
  150a133f4ff5508ca9828fd436fd3db854fbc7218c8fcd9217395eabdb51e3b3 reproduction/download_models.py
1360
  ac43fe8c1625b5754ab3d829591758a50607320f4f694c32784e5ce026c2bc59 reproduction/requirements-release.txt
1361
+ 77b872302f3de58416d29954cd6b3b863f5388776795a60410bfa4ba3e44724b scripts/prepare_release.py
1362
  15a332d8bd9031c64539d7bd64df1f55619987ae9e07d06540585fc302d8ac82 scripts/upload_to_huggingface.py
1363
  55c4f6d373d3fe4e7fde9e7c8a88c142de15a0dbaedc8f7be91f3cd997a77ce9 scripts/validate_release.py
1364
  99eb77d4339d532e6fc11cfd50cd55b4f8db54f58f1ddcd93cf74361a9252012 tables/decision_table.csv
reproduction/benchmark/verify_results.py CHANGED
@@ -134,6 +134,12 @@ def verify(config: dict[str, Any], results_dir: Path) -> dict[str, Any]:
134
  require(phrase in report, f"Technical report is missing required section/claim: {phrase}")
135
 
136
  workflows = [Path(config["_config_path"]).parent / "workflows" / "krea2_benchmark_api.json", Path(config["_config_path"]).parent / "workflows" / "krea2_benchmark_interactive.json"]
 
 
 
 
 
 
137
  for workflow in workflows:
138
  require(workflow.is_file(), f"Workflow is missing: {workflow.name}")
139
  if workflow.is_file():
 
134
  require(phrase in report, f"Technical report is missing required section/claim: {phrase}")
135
 
136
  workflows = [Path(config["_config_path"]).parent / "workflows" / "krea2_benchmark_api.json", Path(config["_config_path"]).parent / "workflows" / "krea2_benchmark_interactive.json"]
137
+ has_gguf = any(fmt.startswith("gguf") for fmt in config.get("formats", {}))
138
+ if has_gguf:
139
+ workflows.extend([
140
+ Path(config["_config_path"]).parent / "workflows" / "krea2_benchmark_api_gguf.json",
141
+ Path(config["_config_path"]).parent / "workflows" / "krea2_benchmark_interactive_gguf.json"
142
+ ])
143
  for workflow in workflows:
144
  require(workflow.is_file(), f"Workflow is missing: {workflow.name}")
145
  if workflow.is_file():
reproduction/benchmark/workflows/krea2_benchmark_api_gguf.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": {
3
+ "class_type": "UnetLoaderGGUF",
4
+ "inputs": {
5
+ "unet_name": "krea2_turbo-Q8_0.gguf"
6
+ }
7
+ },
8
+ "2": {
9
+ "class_type": "CLIPLoader",
10
+ "inputs": {
11
+ "clip_name": "qwen3vl_4b_bf16.safetensors",
12
+ "type": "krea2",
13
+ "device": "default"
14
+ }
15
+ },
16
+ "3": {
17
+ "class_type": "VAELoader",
18
+ "inputs": {
19
+ "vae_name": "qwen_image_vae.safetensors"
20
+ }
21
+ },
22
+ "4": {
23
+ "class_type": "CLIPTextEncode",
24
+ "inputs": {
25
+ "clip": ["2", 0],
26
+ "text": "benchmark prompt"
27
+ }
28
+ },
29
+ "5": {
30
+ "class_type": "ConditioningZeroOut",
31
+ "inputs": {
32
+ "conditioning": ["4", 0]
33
+ }
34
+ },
35
+ "6": {
36
+ "class_type": "EmptyLatentImage",
37
+ "inputs": {
38
+ "width": 1024,
39
+ "height": 1024,
40
+ "batch_size": 1
41
+ }
42
+ },
43
+ "7": {
44
+ "class_type": "KreaBenchmarkSampler",
45
+ "inputs": {
46
+ "model": ["1", 0],
47
+ "seed": 0,
48
+ "steps": 8,
49
+ "cfg": 1.0,
50
+ "sampler_name": "euler",
51
+ "scheduler": "simple",
52
+ "positive": ["4", 0],
53
+ "negative": ["5", 0],
54
+ "latent_image": ["6", 0],
55
+ "denoise": 1.0,
56
+ "run_id": "benchmark_run",
57
+ "capture_steps": true
58
+ }
59
+ },
60
+ "8": {
61
+ "class_type": "KreaBenchmarkVAEDecode",
62
+ "inputs": {
63
+ "samples": ["7", 0],
64
+ "vae": ["3", 0],
65
+ "run_id": "benchmark_run"
66
+ }
67
+ },
68
+ "9": {
69
+ "class_type": "KreaBenchmarkSave",
70
+ "inputs": {
71
+ "images": ["8", 0],
72
+ "samples": ["7", 0],
73
+ "run_id": "benchmark_run",
74
+ "format_id": "gguf_q8_0",
75
+ "prompt_id": "benchmark",
76
+ "prompt_text": "benchmark prompt",
77
+ "seed": 0,
78
+ "scored": true
79
+ }
80
+ }
81
+ }
reproduction/benchmark/workflows/krea2_benchmark_interactive_gguf.json ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "41d49ac8-187d-4f8c-b192-b77c0b79c517",
3
+ "revision": 0,
4
+ "last_node_id": 9,
5
+ "last_link_id": 10,
6
+ "nodes": [
7
+ {
8
+ "id": 1,
9
+ "type": "UnetLoaderGGUF",
10
+ "pos": [40, 40],
11
+ "size": [340, 82],
12
+ "flags": {},
13
+ "order": 0,
14
+ "mode": 0,
15
+ "inputs": [],
16
+ "outputs": [{"name": "MODEL", "type": "MODEL", "links": [1]}],
17
+ "properties": {"Node name for S&R": "UnetLoaderGGUF"},
18
+ "widgets_values": ["krea2_turbo-Q8_0.gguf"]
19
+ },
20
+ {
21
+ "id": 2,
22
+ "type": "CLIPLoader",
23
+ "pos": [40, 170],
24
+ "size": [340, 110],
25
+ "flags": {},
26
+ "order": 1,
27
+ "mode": 0,
28
+ "inputs": [],
29
+ "outputs": [{"name": "CLIP", "type": "CLIP", "links": [2]}],
30
+ "properties": {"Node name for S&R": "CLIPLoader"},
31
+ "widgets_values": ["qwen3vl_4b_bf16.safetensors", "krea2", "default"]
32
+ },
33
+ {
34
+ "id": 3,
35
+ "type": "VAELoader",
36
+ "pos": [40, 330],
37
+ "size": [340, 62],
38
+ "flags": {},
39
+ "order": 2,
40
+ "mode": 0,
41
+ "inputs": [],
42
+ "outputs": [{"name": "VAE", "type": "VAE", "links": [8]}],
43
+ "properties": {"Node name for S&R": "VAELoader"},
44
+ "widgets_values": ["qwen_image_vae.safetensors"]
45
+ },
46
+ {
47
+ "id": 4,
48
+ "type": "CLIPTextEncode",
49
+ "pos": [440, 150],
50
+ "size": [440, 220],
51
+ "flags": {},
52
+ "order": 3,
53
+ "mode": 0,
54
+ "inputs": [{"name": "clip", "type": "CLIP", "link": 2}],
55
+ "outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [3, 4]}],
56
+ "properties": {"Node name for S&R": "CLIPTextEncode"},
57
+ "widgets_values": ["Ultra-realistic close-up editorial portrait of an elderly woman by a north-facing window, natural unretouched skin with visible pores and fine wrinkles, individual silver-gray hairs and eyelashes, wet catchlights in both eyes, a dark indigo wool coat with clearly visible fabric weave, soft neutral background bokeh."]
58
+ },
59
+ {
60
+ "id": 5,
61
+ "type": "ConditioningZeroOut",
62
+ "pos": [930, 280],
63
+ "size": [220, 46],
64
+ "flags": {},
65
+ "order": 4,
66
+ "mode": 0,
67
+ "inputs": [{"name": "conditioning", "type": "CONDITIONING", "link": 4}],
68
+ "outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [5]}],
69
+ "properties": {"Node name for S&R": "ConditioningZeroOut"},
70
+ "widgets_values": []
71
+ },
72
+ {
73
+ "id": 6,
74
+ "type": "EmptyLatentImage",
75
+ "pos": [440, 430],
76
+ "size": [310, 106],
77
+ "flags": {},
78
+ "order": 5,
79
+ "mode": 0,
80
+ "inputs": [],
81
+ "outputs": [{"name": "LATENT", "type": "LATENT", "links": [6]}],
82
+ "properties": {"Node name for S&R": "EmptyLatentImage"},
83
+ "widgets_values": [1024, 1024, 1]
84
+ },
85
+ {
86
+ "id": 7,
87
+ "type": "KreaBenchmarkSampler",
88
+ "pos": [1210, 80],
89
+ "size": [390, 420],
90
+ "flags": {},
91
+ "order": 6,
92
+ "mode": 0,
93
+ "inputs": [
94
+ {"name": "model", "type": "MODEL", "link": 1},
95
+ {"name": "positive", "type": "CONDITIONING", "link": 3},
96
+ {"name": "negative", "type": "CONDITIONING", "link": 5},
97
+ {"name": "latent_image", "type": "LATENT", "link": 6}
98
+ ],
99
+ "outputs": [{"name": "LATENT", "type": "LATENT", "links": [7, 10]}],
100
+ "properties": {"Node name for S&R": "KreaBenchmarkSampler"},
101
+ "widgets_values": [1732874201, 8, 1.0, "euler", "simple", 1.0, "interactive_run", true]
102
+ },
103
+ {
104
+ "id": 8,
105
+ "type": "KreaBenchmarkVAEDecode",
106
+ "pos": [1670, 110],
107
+ "size": [300, 100],
108
+ "flags": {},
109
+ "order": 7,
110
+ "mode": 0,
111
+ "inputs": [
112
+ {"name": "samples", "type": "LATENT", "link": 7},
113
+ {"name": "vae", "type": "VAE", "link": 8}
114
+ ],
115
+ "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [9]}],
116
+ "properties": {"Node name for S&R": "KreaBenchmarkVAEDecode"},
117
+ "widgets_values": ["interactive_run"]
118
+ },
119
+ {
120
+ "id": 9,
121
+ "type": "KreaBenchmarkSave",
122
+ "pos": [2040, 100],
123
+ "size": [410, 310],
124
+ "flags": {},
125
+ "order": 8,
126
+ "mode": 0,
127
+ "inputs": [
128
+ {"name": "images", "type": "IMAGE", "link": 9},
129
+ {"name": "samples", "type": "LATENT", "link": 10}
130
+ ],
131
+ "outputs": [],
132
+ "properties": {"Node name for S&R": "KreaBenchmarkSave"},
133
+ "widgets_values": ["interactive_run", "gguf_q8_0", "interactive", "Ultra-realistic close-up editorial portrait of an elderly woman by a north-facing window.", 1732874201, true]
134
+ }
135
+ ],
136
+ "links": [
137
+ [1, 1, 0, 7, 0, "MODEL"],
138
+ [2, 2, 0, 4, 0, "CLIP"],
139
+ [3, 4, 0, 7, 1, "CONDITIONING"],
140
+ [4, 4, 0, 5, 0, "CONDITIONING"],
141
+ [5, 5, 0, 7, 2, "CONDITIONING"],
142
+ [6, 6, 0, 7, 3, "LATENT"],
143
+ [7, 7, 0, 8, 0, "LATENT"],
144
+ [8, 3, 0, 8, 1, "VAE"],
145
+ [9, 8, 0, 9, 0, "IMAGE"],
146
+ [10, 7, 0, 9, 1, "LATENT"]
147
+ ],
148
+ "groups": [],
149
+ "config": {},
150
+ "extra": {"frontendVersion": "1.44.19"},
151
+ "version": 0.4
152
+ }
scripts/prepare_release.py CHANGED
@@ -383,8 +383,11 @@ This release is a paired, deterministic comparison of eight Krea 2 Turbo checkpo
383
  1. **BF16** is the highest-fidelity reference because it is the unquantized published checkpoint.
384
  2. **INT8 ConvRot** narrowly leads the preregistered LPIPS-Alex endpoint. **GGUF Q8_0** is statistically tied with it on that endpoint (Holm-adjusted permutation p=0.9067) and leads INT8 on DISTS, DINO similarity, and reconstructed-weight SNR.
385
  3. **GGUF Q8_0** is the highest-fidelity of the three added formats.
386
- 4. **GGUF Q4_K_M** is a storage-quality compromise: 6.972 GiB and much closer to BF16 than INT4 ConvRot, but slow on this Ada GPU under ComfyUI-GGUF dequantized execution.
387
- 5. **INT4 ConvRot W4A4** is the smallest checkpoint and fastest of the three additions on this RTX 4060 Ti, but has the largest measured fidelity loss.
 
 
 
388
 
389
  No weighted composite score is used. See [the full technical report](TECHNICAL_REPORT.md) and [`tables/decision_table.csv`](tables/decision_table.csv).
390
 
 
383
  1. **BF16** is the highest-fidelity reference because it is the unquantized published checkpoint.
384
  2. **INT8 ConvRot** narrowly leads the preregistered LPIPS-Alex endpoint. **GGUF Q8_0** is statistically tied with it on that endpoint (Holm-adjusted permutation p=0.9067) and leads INT8 on DISTS, DINO similarity, and reconstructed-weight SNR.
385
  3. **GGUF Q8_0** is the highest-fidelity of the three added formats.
386
+ 4. **MXFP8** ranks fourth in fidelity (LPIPS 0.071229) and halves checkpoint size versus BF16, but its native SM 10.0 fast path was unavailable on this Ada GPU, resulting in 31.929 s fallback sampling.
387
+ 5. **FP8 Scaled** ranks fifth (LPIPS 0.093701) at 12.239 GiB and was the fastest of the original five formats at 19.503 s on this GPU.
388
+ 6. **GGUF Q4_K_M** is a storage-quality compromise: 6.972 GiB and much closer to BF16 than INT4 ConvRot, but slow on this Ada GPU under ComfyUI-GGUF dequantized execution.
389
+ 7. **NVFP4** is 7.147 GiB with moderate fidelity loss (LPIPS 0.205124). Like MXFP8, its native fast multiplication requires SM 10.0; the recorded 24.925 s sampling time uses the fallback path.
390
+ 8. **INT4 ConvRot W4A4** is the smallest checkpoint and fastest of the three additions on this RTX 4060 Ti, but has the largest measured fidelity loss.
391
 
392
  No weighted composite score is used. See [the full technical report](TECHNICAL_REPORT.md) and [`tables/decision_table.csv`](tables/decision_table.csv).
393