ComfyUI Node
h4 - Model Pruner
A ComfyUI node in h4_ToolKit/Model Merging with 7 inputs and 1 output.
h4 - Model Pruner
- model
- clip
- vae
- pruned_model_path
◄prune_modeRaw File (Fast - Recommended)►
◄target_precisionauto►
◄filename_prefixh4_Pruned_►
◄saved_model_path—►
Categoryh4_ToolKit/Model Merging
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| prune_mode | COMBO | Raw File (Fast - Recommended) | 2 options: Raw File (Fast - Recommended), In-Memory (Passthrough) |
| target_precision | COMBO | auto | 6 options: auto, float16, bfloat16, float32, float8_e4m3fn, float8_e5m2 |
| filename_prefix | STRING | h4_Pruned_ | — |
| saved_model_pathopt | STRING | Connect the 'saved_model_path' from H4_ModelSave for Raw File mode. | |
| modelopt | MODEL | — | |
| clipopt | CLIP | — | |
| vaeopt | VAE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| pruned_model_path | STRING | — |