ComfyUI Node
MiniMax H3 BlockSwap Args
A ComfyUI node in MiniMax-H3/sampling with 8 inputs and 1 output.
MiniMax H3 BlockSwap Args
- block_swap_args
◄block_to_swap47►
◄hot_blocks0►
◄prefetchtrue►
◄prefetch_count2►
◄pin_memorytrue►
◄disk_workers2►
◄auto_vramtrue►
◄dtypebfloat16►
CategoryMiniMax-H3/sampling
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| block_to_swap | INT | 470–50 | Number of DiT blocks to swap off GPU (50 total; resident blocks = 50 - block_to_swap). 0 keeps all blocks resident. |
| hot_blocks | INT | 00–50 | Leading DiT blocks kept permanently on GPU; these avoid H2D/D2H every pass. Effective value is capped at resident window - 1. |
| prefetch | BOOLEAN | true | Prefetch the next block window from disk into RAM in the background. |
| prefetch_count | INT | 21–8 | Number of home slots reserved for disk prefetch. |
| pin_memory | BOOLEAN | true | Use pinned memory for staging/prefetch transfers; the home pool stays pageable. |
| disk_workers | INT | 21–16 | Number of background disk read threads. |
| auto_vram | BOOLEAN | true | Automatically reserve estimated activation/ComfyUI VRAM and runtime LoRA before allocating the block pool. Disable to use the block_to_swap/hot_blocks/prefetch_count values exactly as configured. |
| dtype | COMBO | bfloat16 | DiT compute/storage dtype: bfloat16 recommended, float16 for older GPUs, float32 for debugging. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| block_swap_args | MINIMAX_H3_SWAP | — |