ComfyUI Node
H3 Block Cache
Reuses the transformer stack's own output on sampling steps where it barely changes, skipping 49 of 50 blocks on those steps. The biggest available win on H3, which profiles as compute-bound. Reports what it skipped and what that saved to the log after each run. threshold 0 is an exact no-op.
H3 Block Cache
- model
- MODEL
◄threshold0.08►
◄max_consecutive3►
◄start_percent0.15►
◄end_percent0.95►
◄verbosefalse►
CategoryNynxz/H3/Sampling
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | A MiniMax H3 model. Passed through, patched. | |
| threshold | FLOAT | 0.080–1 | How much block 0's residual may drift, accumulated since the last computed step, before the stack must run again. 0 disables the cache entirely (exact no-op). 0.05-0.1 is usually free; past 0.2 motion smears. |
| max_consecutive | INT | 31–20 | Never skip more than this many steps in a row, whatever the threshold says. The accumulator can drift for a long stretch of a slow denoise; this is the floor under how often the model gets a real say. |
| start_percent | FLOAT | 0.150–1 | Denoise fraction caching switches on at. Not 0 by default on purpose: the first steps decide composition and motion, and they are the ones you least want reused. |
| end_percent | FLOAT | 0.950–1 | Denoise fraction it switches off at. Leaving the last steps uncached keeps fine detail from being inherited from a stale delta. |
| verbose | BOOLEAN | false | Log a line per stack pass saying whether it was skipped and why, plus the drift distribution the threshold is being compared against. The one-line summary at the end of each run is printed either way. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |