# What speeds up a picture in ComfyUI, on a 96 GB card: the data kit

This folder holds the records behind *What speeds up a picture in ComfyUI, on a 96 GB card*
(https://research.strata2signal.com/what-speeds-up-a-picture-on-a-second-card/): the second card of a bench of four
kinds of speed-up for image models, timed on FLUX.2 [klein] 4B in ComfyUI v0.45.0 on one NVIDIA RTX PRO 6000
Blackwell Workstation Edition (96 GB) capped at 420 W, under the second amendment to a registration recorded before
the bench's first picture. The sitting took 30 minutes, from 07:38 to 08:08 UTC on 2026-11-20, and drew 450 pictures
beside its warm-ups and dry runs, 360 of them behind a figure.

With this kit a reader can recount every median the page prints for this card, read every setting of every picture,
and read the bets and the amendment that set this sitting's rules as they were registered. The first card's records
are in the first page's kit (https://research.strata2signal.com/what-speeds-up-a-picture/data/). Everything of ours
here is CC BY 4.0. Dates and times are UTC.

## What is here

| Folder or file | What it holds |
|---|---|
| `manifests/r1-batches.json` | Rung 1, what a batch costs: 180 rows, one a picture, in eight columns (a batch of 1, 2, 4 and 8 at 768×768 and at 1024×1024), six batches a column at seed 202 |
| `manifests/r2-step-ladder.json` | Rung 2, fewer steps: 108 rows in six columns (the distilled file at 4, 8, 12 and 32 steps; the Base file at 4 and 50), six subjects at three seeds |
| `manifests/r3-easycache.json` | Rung 3, skipped steps: 72 rows in four `EasyCache` columns, and 54 rows that repeat rung 2's control pictures beside them |
| `manifests/r4-guidance.json` | Rung 4, guidance on part of the run: 36 rows in two columns, and 18 rows that repeat rung 2's control |
| `manifests/r5-arithmetic.json` | Rung 5, cheaper arithmetic: 54 rows in three columns (the compiled model, the fp8 file, the NVFP4 file), and 18 rows that repeat rung 2's control |
| `scripts/recount.py` | Recounts every median from the manifests by the page's rule (standard library only) |
| `scripts/distance.py` | The rule behind every "Moved" figure, as code (needs Pillow) |
| `registration.md` | The registered text, restated: the plan's three registered sections word for word, then its amendments in the page's wording, the second amendment, which set this sitting's rules, last |
| `README.md` | This guide |
| `index.json` | Every file but itself, `provenance.json` and the folder's index page, each with its size and sha256 |
| `provenance.json` | Every rule applied to every file, with how many times it fired |

The six subjects' clauses, the graph and the plan files are the first sitting's, and they are in the first page's kit
(its `clauses.json`, `graph.json` and `plans/`). Rung 1's plan gained the batch of 8 for this card; every row of
this kit's `manifests/r1-batches.json` names its batch.

## A manifest row

One row is one picture. The fields a reader will want:

- `style`: the column's id (the table below); `subject` and `seed`: which picture; `prompt`: the clause sent,
  whole.
- `checkpoint`, `steps`, `cfg`, `sampler`, `scheduler`, `width`, `height`: the settings. `params.patches` is the
  node added to the graph, if any, with its inputs; `params.batch` and `params.batch_index` place a picture in
  its batch.
- `render_seconds`: ComfyUI's own execution time for the request that drew the picture, to the millisecond,
  the model already loaded. The pictures of one batch share one request, so they carry the same figure.
- `params.cap_w` and `params.temp_c_before`: the card's power limit and temperature read before the column;
  `params.comfyui_version` and `params.comfyui_commit`; `params.rendered_at`.
- `model_licence`: the render harness's own note of the licence it had on file for that row's model when the
  manifest was written. Every row's note names the licence; the licences as we read them are at the foot of this
  guide.
- `file`: the picture's name. The pictures themselves are not in this kit (see below).

The column ids, and the row of the page each one is:

| Id | Manifest | On the page |
|---|---|---|
| `b1-768`, `b2-768`, `b4-768`, `b8-768`, `b1-1024`, `b2-1024`, `b4-1024`, `b8-1024` | Rung 1 | The batch table: a batch of 1, 2, 4 and 8 at each size |
| `d4`, `d8`, `d12`, `d32` | Rung 2 | The step ladder: the distilled file at 4, 8, 12 and 32 steps, guidance 1.0 |
| `b4`, `b50` | Rung 2 | The step ladder: the Base file at 4 and 50 steps, guidance 4.0 |
| `ec01-b50`, `ec02-b50` | Rung 3 | `EasyCache` at `reuse_threshold` 0.1 and 0.2 on Base at 50 steps |
| `ec02-d4`, `ec02-d8` | Rung 3 | `EasyCache` at 0.2 on the distilled file at 4 and 8 steps |
| `cfgo-b50` | Rung 4 | `CFGOverride`, `cfg` 1.0 from 0.5 to 1.0, on Base at 50 steps |
| `g1-b50` | Rung 4 | Base at 50 steps with guidance 1.0 throughout |
| `tc-d8` | Rung 5 | The bf16 file with `TorchCompileModel`, 8 steps |
| `fp8-d8`, `nvfp4-d8` | Rung 5 | The fp8 file and the NVFP4 file, 8 steps |
| `r2-b50`, `r2-d4`, `r2-d8` | Rungs 3, 4 and 5 | Rung 2's control pictures, repeated beside the columns measured against them; the same figures as `b50`, `d4` and `d8` |

## How to recount a median

From this folder:

    python3 scripts/recount.py manifests

It prints, for every column of every manifest, the count of requests, the median, the fastest and the slowest,
and what reading a new prompt cost. For rung 2 it prints, among others, `d4 … 0.541` and `b50 … 9.138`, the
two figures the page opens on. The rule it repeats is the page's:

- A request is one subject at one seed in one column. A batch is one request, counted once.
- The batch manifest counts its six batches at seed 202. Every other manifest counts the twelve pictures of
  seeds 202 and 303: each subject's seed-101 picture was drawn first and read the prompt, and is not counted.
- A median of twelve is the mean of its two middle requests. It is kept exact, so it can end in half a
  millisecond, and is rounded half up to the millisecond once. Ten of the columns end in a half; the script
  marks them.
- Every ratio and per cent on the page is taken from the unrounded medians and rounded once.

The last column of its output is the page's "a new prompt adds about 0.14 s": the median of the five seed-101
pictures whose prompt was new (every subject but the first, whose prompt the column's warm-up had read), less
the counted median.

## What this kit cannot recount

Four kinds of figure on the page were read from records that are not here:

- **The steps `EasyCache` skipped**, a count ComfyUI's log prints at the end of each request.
- **The warm-ups**, and so the compile estimate (one column's warm-up less another's), and **the card's memory**
  after a request.
- **How far a picture moved.** The page read every distance on lossless PNG masters, 474 MB of them, which are
  not in this kit. `scripts/distance.py` is the rule; on the JPEG pictures the page shows it gives a slightly
  different number, because JPEG changes pixels of its own.
- **What the card and ComfyUI reported around the columns**: which number formats ComfyUI's log lists as native,
  read from the log; and, read by the driver before every column, the card's compute capability (ComfyUI's log
  prints none), its thermal-slowdown flags and what held memory on it.

## What was taken out, and what is not here

`provenance.json` names every rule and counts it per file. No figure was moved by a rule. In short:

- **Home paths.** Each manifest row named, by a path on our own disk, the copy of the FLUX 3 page its clause
  was read from. The path is taken out; the page is
  https://research.strata2signal.com/flux3-klein-in-the-coves-style/.
- **Launch lines.** Each row carried the command that started ComfyUI for its column. It is all paths, so it is
  taken out. What it said that matters is on the page: ComfyUI v0.45.0, built-in nodes only, custom nodes
  switched off, no `--fast` flag.
- **The card's bus address and the name of the computer.** They are in the bench's per-column request records,
  its logs and its own summary, which is why none of those is here whole. The card is named in full on the page
  and above; the computer's name is not published.
- **The model files.** None is here. Each is named by its repository on Hugging Face, its path there and the
  first 16 hex characters of the sha256 Hugging Face lists for it:

| File | Repository and path | sha256, first 16 |
|---|---|---|
| `flux-2-klein-4b.safetensors`, the distilled file in bf16 | `black-forest-labs/FLUX.2-klein-4B`, at its root | `ec3d4e733a771f61…` |
| `flux-2-klein-base-4b.safetensors`, the Base file | `black-forest-labs/FLUX.2-klein-base-4B`, at its root | `9c5fed22b76baea7…` |
| `flux-2-klein-4b-fp8.safetensors` | `black-forest-labs/FLUX.2-klein-4b-fp8`, at its root | `97ed34fe0567e436…` |
| `flux-2-klein-4b-nvfp4.safetensors` | `black-forest-labs/FLUX.2-klein-4b-nvfp4`, at its root | `d8c5007b6a3bbbdf…` |
| `qwen_3_4b.safetensors`, the text encoder | `Comfy-Org/Flux-2-Klein-4B`, `split_files/text_encoders/` | `6c671498573ac2f7…` |
| `flux2-vae.safetensors`, the decoder | `Comfy-Org/Flux-2-Klein-4B`, `split_files/vae/` | `868fe7b343cc8f3a…` |

  The six files are the first sitting's, each checked by its sha256 on the bench's computer before this sitting's
  first picture. A manifest row carries the full sha256 of its model, text encoder and decoder, and of its
  picture's lossless master.
- **The pictures.** The sitting drew 450. The page shows four of them, in one strip: Wrenna Sault at seed 202 from
  the four 8-step files. Those four are in the page's own `images/` folder, beside the page and not in this kit;
  the manifests name every one of the 450 by its `file`. The strip's subject is the one the first page's strip of
  the same four files shows, picked there by a rule fixed before any picture was opened; on this card the same rule
  picks the same subject. The other pictures and the lossless masters are not published.
- **The registration files.** They name machines and people. `registration.md` restates everything in them
  that binds the bench, and says at its head that it is a restatement.
- **The bench's driver and its own counting script, and the fuller recount made for the page.** They read the
  request records and the masters, which are not here, and they carry paths. The sitting's dry runs, its smoke run
  and ComfyUI's logs are not here either, for the same reason. `scripts/recount.py` was written for the first
  page's kit, to run on what a kit holds, and it runs on this one unchanged.

## Licences

- **This kit**: CC BY 4.0. Name the source and link to the page. The six clauses in every row's `prompt` are from
  our game RealKeep (https://realkeep.strata2signal.com) and are given under the same licence.
- **ComfyUI** is GPL-3.0.
- **The four FLUX.2 [klein] 4B files** (the distilled file, Base, fp8, NVFP4): Apache 2.0, by Black Forest
  Labs' repositories. The licence file was read for the distilled file and Base on 2026-08-23; the licence
  files of the fp8 and NVFP4 repositories, fetched on 2026-11-16, are byte for byte the Base repository's.
- **The text encoder and the decoder**: the repository that lists them, `Comfy-Org/Flux-2-Klein-4B`, is tagged
  Apache 2.0 on Hugging Face (read 2026-11-17). That is the repository's tag; we did not read a licence file
  for each of the two.

## Thanks

Thanks to ComfyUI's maintainers, whose execution stamps and logs are every second in this kit; to Black Forest
Labs for FLUX.2 [klein] 4B in open weights with its Base file beside it; to Alibaba Cloud's Qwen team for
Qwen3-4B, the text encoder; to Comfy-Org and Hugging Face for the files and the listed digests that let a
reader check them; and to NVIDIA, PyTorch and Pillow. None of them owed us anything.

If you find an error in any of this, we want to hear about it: hello@strata2signal.com.
