Merserk commited on
Commit
de61e43
·
verified ·
1 Parent(s): 0760102

Fix Dataset Viewer Parquet structure

Browse files
README.md CHANGED
@@ -1,114 +1,115 @@
1
- ---
2
- language:
3
- - en
4
- license: cc-by-4.0
5
- pretty_name: Krea 2 Turbo ComfyUI Format Fidelity Benchmark
6
- size_categories:
7
- - n<1K
8
- configs:
9
- - config_name: default
10
- default: true
11
- data_files:
12
- - split: train
13
- path: data/train-*.parquet
14
- task_categories:
15
- - text-to-image
16
- tags:
17
- - image
18
- - tabular
19
- - comfyui
20
- - krea-2
21
- - quantization
22
- - benchmark
23
- - bf16
24
- - fp8
25
- - int8
26
- - mxfp8
27
- - nvfp4
28
- - int4
29
- - gguf
30
- - q8-0
31
- - q4-k-m
32
- ---
33
-
34
- # Krea 2 Turbo ComfyUI Format Fidelity Benchmark
35
-
36
- This release is a paired, deterministic comparison of eight Krea 2 Turbo checkpoint formats in ComfyUI: BF16, FP8 Scaled, INT8 ConvRot, MXFP8, NVFP4, INT4 ConvRot W4A4, GGUF Q8_0, and GGUF Q4_K_M. It contains 240 scored 1024×1024 images, saved float32 decoded tensors and final latents, every denoising trajectory, raw metric tables, telemetry, statistical comparisons, and reproduction code.
37
-
38
- ![Eight-format contact sheet](comparison_sheets/contact_sheet_replicate0.png)
39
-
40
- ## Main result
41
-
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
-
53
- ## Important performance limitation
54
-
55
- The test GPU was an NVIDIA GeForce RTX 4060 Ti 16 GB (SM 8.9). MXFP8 and NVFP4 native fast matrix multiplication requires SM 10.0 in the tested runtime. GGUF Q8_0 and Q4_K_M use the pinned ComfyUI-GGUF on-demand dequantized matrix-multiplication path. These Ada timings must not be projected to native Blackwell execution.
56
-
57
- The original five formats and the three additions were measured in separate sessions. Five unscored BF16 and INT8 ConvRot bridge repeats quantify drift. INT8 crossed the preregistered 5% drift threshold, so exact old-versus-new timing comparisons remain caveated; fidelity comparisons remain paired to the same saved BF16 prompt/seed outputs.
58
-
59
- ## Dataset organization
60
-
61
- - `data/train-00000-of-00001.parquet` is the Dataset Viewer source: one self-contained table with the embedded image plus every prompt, seed, format, checkpoint provenance, raw-artifact path, and flattened metric column.
62
- - `data/train/metadata.jsonl` and `data/train/images/` are the equivalent ImageFolder tree kept for direct file access. Each metadata row links an image to its prompt, seed, format, checkpoint provenance, raw scientific artifacts, and flattened metric values.
63
- - `raw/` contains `decoded_float32.npy`, `final_latent_float32.npy`, `trajectory.npz`, and capture `metadata.json` for every scored run.
64
- - `metrics/` contains raw per-image, per-parameter, paired-statistics, summary, trajectory, latency, and performance tables.
65
- - `comparison_sheets/` contains eight-format sheets, BF16-relative difference maps, and automatically selected detail crops.
66
- - `telemetry/` contains scored GPU/system telemetry plus the BF16/INT8 bridge telemetry.
67
- - `provenance/` contains sanitized environment, model, run, and release manifests.
68
- - `reproduction/` contains the ComfyUI workflows, custom capture node, benchmark driver, analyzers, model downloader, and exact instructions.
69
-
70
- Load the image table locally:
71
-
72
- ```python
73
- from datasets import load_dataset
74
-
75
- dataset = load_dataset("Merserk/Krea-2-Turbo-Checkpoint-Format-Benchmark", split="train")
76
- print(dataset.num_rows) # 240
77
- ```
78
-
79
- ## Fixed inference controls
80
-
81
- - 15 prompts × 2 deterministic seeds × 8 checkpoint formats = 240 scored images
82
- - 1024×1024, batch size 1
83
- - 8 steps, CFG 1.0, Euler sampler, simple scheduler, denoise 1.0
84
- - Shared `qwen3vl_4b_bf16.safetensors` text encoder and `qwen_image_vae.safetensors` VAE
85
- - Zeroed positive conditioning used as negative conditioning
86
- - No prompt rewriting, LoRAs, previews, upscaling, or post-processing
87
- - Identical initial-noise SHA-256 for every eight-format prompt/seed group
88
-
89
- ## Reproduce or verify
90
-
91
- Follow [`reproduction/README.md`](reproduction/README.md). A complete rerun downloads about 104 GiB of upstream model files and should have at least 150 GiB free for models, captures, analysis caches, and reports. The published benchmark was tested on Windows 11 with a 16 GB NVIDIA GPU; lower-memory configurations are not certified.
92
-
93
- Validate this downloaded release:
94
-
95
- ```bash
96
- python scripts/validate_release.py --root . --full
97
- ```
98
-
99
- Upload a locally rebuilt copy:
100
-
101
- ```bash
102
- hf auth login
103
- python scripts/upload_to_huggingface.py OWNER/DATASET --root .
104
- ```
105
-
106
- ## Licenses and responsible use
107
-
108
- Generated images, data, and reports are released under CC BY 4.0. Benchmark scripts are MIT licensed. Model weights are not redistributed and remain governed by the Krea 2 Community License. Krea states that it does not claim intellectual-property rights over user-generated outputs, while users remain responsible for their prompts, outputs, and downstream use. Review the [official Krea 2 Turbo model card and license](https://huggingface.co/krea/Krea-2-Turbo) before downloading or running the checkpoints.
109
-
110
- The prompt suite avoids requests for real people, explicit content, unlawful activity, or protected logos. Generated images can still contain model errors, stereotypes, malformed text, or unintended resemblance. This benchmark evaluates checkpoint fidelity on one controlled campaign; it is not a universal ranking of human aesthetic preference or all hardware.
111
-
112
- ## Citation
113
-
114
- See [`CITATION.cff`](CITATION.cff). The project attribution name is **Krea 2 Turbo Formats Benchmark Contributors**.
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: cc-by-4.0
5
+ pretty_name: Krea 2 Turbo ComfyUI Format Fidelity Benchmark
6
+ size_categories:
7
+ - n<1K
8
+ configs:
9
+ - config_name: default
10
+ default: true
11
+ data_files:
12
+ - split: train
13
+ path: viewer_data/train-*.parquet
14
+ task_categories:
15
+ - text-to-image
16
+ tags:
17
+ - image
18
+ - tabular
19
+ - comfyui
20
+ - krea-2
21
+ - quantization
22
+ - benchmark
23
+ - bf16
24
+ - fp8
25
+ - int8
26
+ - mxfp8
27
+ - nvfp4
28
+ - int4
29
+ - gguf
30
+ - q8-0
31
+ - q4-k-m
32
+ ---
33
+
34
+ <!-- Dataset Viewer repair: the Viewer reads the small Hugging Face-native Parquet shards in `viewer_data/train-*.parquet` (240 rows, 8 shards). The original ImageFolder and scientific artifacts remain available separately. -->
35
+ # Krea 2 Turbo ComfyUI Format Fidelity Benchmark
36
+
37
+ This release is a paired, deterministic comparison of eight Krea 2 Turbo checkpoint formats in ComfyUI: BF16, FP8 Scaled, INT8 ConvRot, MXFP8, NVFP4, INT4 ConvRot W4A4, GGUF Q8_0, and GGUF Q4_K_M. It contains 240 scored 1024×1024 images, saved float32 decoded tensors and final latents, every denoising trajectory, raw metric tables, telemetry, statistical comparisons, and reproduction code.
38
+
39
+ ![Eight-format contact sheet](comparison_sheets/contact_sheet_replicate0.png)
40
+
41
+ ## Main result
42
+
43
+ 1. **BF16** is the highest-fidelity reference because it is the unquantized published checkpoint.
44
+ 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.
45
+ 3. **GGUF Q8_0** is the highest-fidelity of the three added formats.
46
+ 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.
47
+ 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.
48
+ 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.
49
+ 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.
50
+ 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.
51
+
52
+ No weighted composite score is used. See [the full technical report](TECHNICAL_REPORT.md) and [`tables/decision_table.csv`](tables/decision_table.csv).
53
+
54
+ ## Important performance limitation
55
+
56
+ The test GPU was an NVIDIA GeForce RTX 4060 Ti 16 GB (SM 8.9). MXFP8 and NVFP4 native fast matrix multiplication requires SM 10.0 in the tested runtime. GGUF Q8_0 and Q4_K_M use the pinned ComfyUI-GGUF on-demand dequantized matrix-multiplication path. These Ada timings must not be projected to native Blackwell execution.
57
+
58
+ The original five formats and the three additions were measured in separate sessions. Five unscored BF16 and INT8 ConvRot bridge repeats quantify drift. INT8 crossed the preregistered 5% drift threshold, so exact old-versus-new timing comparisons remain caveated; fidelity comparisons remain paired to the same saved BF16 prompt/seed outputs.
59
+
60
+ ## Dataset organization
61
+
62
+ - `data/train-00000-of-00001.parquet` is the Dataset Viewer source: one self-contained table with the embedded image plus every prompt, seed, format, checkpoint provenance, raw-artifact path, and flattened metric column.
63
+ - `data/train/metadata.jsonl` and `data/train/images/` are the equivalent ImageFolder tree kept for direct file access. Each metadata row links an image to its prompt, seed, format, checkpoint provenance, raw scientific artifacts, and flattened metric values.
64
+ - `raw/` contains `decoded_float32.npy`, `final_latent_float32.npy`, `trajectory.npz`, and capture `metadata.json` for every scored run.
65
+ - `metrics/` contains raw per-image, per-parameter, paired-statistics, summary, trajectory, latency, and performance tables.
66
+ - `comparison_sheets/` contains eight-format sheets, BF16-relative difference maps, and automatically selected detail crops.
67
+ - `telemetry/` contains scored GPU/system telemetry plus the BF16/INT8 bridge telemetry.
68
+ - `provenance/` contains sanitized environment, model, run, and release manifests.
69
+ - `reproduction/` contains the ComfyUI workflows, custom capture node, benchmark driver, analyzers, model downloader, and exact instructions.
70
+
71
+ Load the image table locally:
72
+
73
+ ```python
74
+ from datasets import load_dataset
75
+
76
+ dataset = load_dataset("Merserk/Krea-2-Turbo-Checkpoint-Format-Benchmark", split="train")
77
+ print(dataset.num_rows) # 240
78
+ ```
79
+
80
+ ## Fixed inference controls
81
+
82
+ - 15 prompts × 2 deterministic seeds × 8 checkpoint formats = 240 scored images
83
+ - 1024×1024, batch size 1
84
+ - 8 steps, CFG 1.0, Euler sampler, simple scheduler, denoise 1.0
85
+ - Shared `qwen3vl_4b_bf16.safetensors` text encoder and `qwen_image_vae.safetensors` VAE
86
+ - Zeroed positive conditioning used as negative conditioning
87
+ - No prompt rewriting, LoRAs, previews, upscaling, or post-processing
88
+ - Identical initial-noise SHA-256 for every eight-format prompt/seed group
89
+
90
+ ## Reproduce or verify
91
+
92
+ Follow [`reproduction/README.md`](reproduction/README.md). A complete rerun downloads about 104 GiB of upstream model files and should have at least 150 GiB free for models, captures, analysis caches, and reports. The published benchmark was tested on Windows 11 with a 16 GB NVIDIA GPU; lower-memory configurations are not certified.
93
+
94
+ Validate this downloaded release:
95
+
96
+ ```bash
97
+ python scripts/validate_release.py --root . --full
98
+ ```
99
+
100
+ Upload a locally rebuilt copy:
101
+
102
+ ```bash
103
+ hf auth login
104
+ python scripts/upload_to_huggingface.py OWNER/DATASET --root .
105
+ ```
106
+
107
+ ## Licenses and responsible use
108
+
109
+ Generated images, data, and reports are released under CC BY 4.0. Benchmark scripts are MIT licensed. Model weights are not redistributed and remain governed by the Krea 2 Community License. Krea states that it does not claim intellectual-property rights over user-generated outputs, while users remain responsible for their prompts, outputs, and downstream use. Review the [official Krea 2 Turbo model card and license](https://huggingface.co/krea/Krea-2-Turbo) before downloading or running the checkpoints.
110
+
111
+ The prompt suite avoids requests for real people, explicit content, unlawful activity, or protected logos. Generated images can still contain model errors, stereotypes, malformed text, or unintended resemblance. This benchmark evaluates checkpoint fidelity on one controlled campaign; it is not a universal ranking of human aesthetic preference or all hardware.
112
+
113
+ ## Citation
114
+
115
+ See [`CITATION.cff`](CITATION.cff). The project attribution name is **Krea 2 Turbo Formats Benchmark Contributors**.
data/train-00000-of-00001.parquet → viewer_data/train-00000-of-00008.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:08b9c4cb964aed1251a1835eda6943397cdf94dac89e14161086761a743b94d6
3
- size 277020290
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14e388565e1e56a95f5006be753afc344988426e856476ef33db8ce7c94ad34a
3
+ size 35971431
viewer_data/train-00001-of-00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb154b421ed49b948f670ae5c7a503455f137d20b47e8cd57c55814e87523fb0
3
+ size 30236087
viewer_data/train-00002-of-00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bbb549c1e4f85d1768feac6df462e6ce1b7a10885cb907657073a581ef39d37
3
+ size 34096724
viewer_data/train-00003-of-00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03a440970b488ece4be9bd2ab312ae41f2d8b130e6e8bc85230754ad644afe76
3
+ size 35539467
viewer_data/train-00004-of-00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc4db8f346b6be26a62bf7fc1264d9a212a52990619e0b7a4131b3f093448be8
3
+ size 35957955
viewer_data/train-00005-of-00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a565078119b4264a5528e75a464a143d38588553b5d4f1a2d18a7d28267b490
3
+ size 35358695
viewer_data/train-00006-of-00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f14b879dea4b02797d2a185a29df93cbb3771521beddbb852ad4806dd1941be0
3
+ size 35277601
viewer_data/train-00007-of-00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffe57aaa66fc14c5438cc98063c5bd2139ca7fc471620dfc313196d7beaece45
3
+ size 35810937