ComfyUI Node
Model Loader
Standalone model loader with direct model/clip/vae outputs. Supports checkpoints, UNet, Nunchaku, and GGUF with LoRA and BlockSwap.
Model Loader
- model
- clip
- vae
- audio_vae
- model_name
◄featuresmemory_cleanup►
◄model_typeStandard Checkpoint►
◄ckpt_nameNone►
◄unet_nameNone►
◄nunchaku_nameNone►
◄qwen_nameNone►
◄zimage_nameNone►
◄gguf_nameNone►
◄weight_dtypedefault►
◄data_typebfloat16►
◄cache_threshold0.000►
◄attentionflash-attention2►
◄i2f_modeenabled►
◄cpu_offloadauto►
◄num_blocks_on_gpu30►
◄use_pin_memoryenable►
◄gguf_dequant_dtypedefault►
◄gguf_patch_dtypedefault►
◄gguf_patch_on_devicefalse►
◄enable_clip_layertrue►
◄stop_at_clip_layer-2►
◄lora_count1►
◄lora_switch_1false►
◄lora_name_1None►
◄lora_weight_11.00►
◄lora_switch_2false►
◄lora_name_2None►
◄lora_weight_21.00►
◄lora_switch_3false►
◄lora_name_3None►
◄lora_weight_31.00►
◄sampling_methodNone►
◄sampling_subtypeeps►
◄shift3.00►
◄base_shift0.50►
◄sampling_width1024►
◄sampling_height1024►
◄original_timesteps50►
◄zsnrfalse►
◄sigma_max120.000►
◄sigma_min0.002►
◄blocks_to_swap5►
◄offload_embeddingsfalse►
◄ltx_text_encoderNone►
Category🌒 Smart Model Loader/ Loader
Inputs (44)
| Name | Type | Default | Description |
|---|---|---|---|
| features | STRING | memory_cleanup | Comma-separated feature list. JS combo-chip replaces this widget. |
| model_type | COMBO | Standard Checkpoint | Select model format |
| ckpt_name | COMBO | None | Select checkpoint file |
| unet_name | COMBO | None | Select UNet diffusion model |
| nunchaku_name | COMBO | None | Select Nunchaku Flux model |
| qwen_name | COMBO | None | Select Nunchaku Qwen model |
| zimage_name | COMBO | None | Select Nunchaku ZImage model |
| gguf_name | COMBO | None | Select GGUF model |
| weight_dtype | COMBO | default | Weight dtype for UNet model |
| data_type | COMBO | bfloat16 | Model data type for Nunchaku |
| cache_threshold | FLOAT | 0.0000–1 | Cache threshold for Nunchaku |
| attention | COMBO | flash-attention2 | Attention implementation |
| i2f_mode | COMBO | enabled | GEMM implementation |
| cpu_offload | COMBO | auto | CPU offload |
| num_blocks_on_gpu | INT | 301–60 | Blocks on GPU (Nunchaku Qwen/ZImage) |
| use_pin_memory | COMBO | enable | Use pinned memory |
| gguf_dequant_dtype | COMBO | default | Dequantization dtype |
| gguf_patch_dtype | COMBO | default | LoRA patch dtype |
| gguf_patch_on_device | BOOLEAN | false | Apply patches on GPU |
| enable_clip_layer | BOOLEAN | true | Trim baked CLIP to specific layer (Standard Checkpoint only) |
| stop_at_clip_layer | INT | -2-24–-1 | CLIP layer to stop at |
| lora_count | COMBO | 1 | Number of LoRA slots |
| lora_switch_1 | BOOLEAN | false | Enable LoRA 1 |
| lora_name_1 | COMBO | None | LoRA 1 file |
| lora_weight_1 | FLOAT | 1.00-10–10 | LoRA 1 model weight |
| lora_switch_2 | BOOLEAN | false | Enable LoRA 2 |
| lora_name_2 | COMBO | None | LoRA 2 file |
| lora_weight_2 | FLOAT | 1.00-10–10 | LoRA 2 model weight |
| lora_switch_3 | BOOLEAN | false | Enable LoRA 3 |
| lora_name_3 | COMBO | None | LoRA 3 file |
| lora_weight_3 | FLOAT | 1.00-10–10 | LoRA 3 model weight |
| sampling_method | COMBO | None | Sampling method: SD3 (shift=3.0), AuraFlow (shift=1.73), Flux (max_shift=1.15), Stable Cascade (shift=2.0), LCM (distilled), ContinuousEDM/V (continuous sampling), LTXV (video) |
| sampling_subtype | COMBO | eps | Subtype for ContinuousEDM sampling |
| shift | FLOAT | 3.000–100 | Universal shift parameter (SD3: 3.0, AuraFlow: 1.73, Flux max_shift: 1.15, Stable Cascade: 2.0) |
| base_shift | FLOAT | 0.500–100 | Base shift for Flux/LTXV sampling (default: 0.5) |
| sampling_width | INT | 102416–32768 | Width for Flux sampling shift calculation |
| sampling_height | INT | 102416–32768 | Height for Flux sampling shift calculation |
| original_timesteps | INT | 501–1000 | Original timesteps for LCM sampling (default: 50) |
| zsnr | BOOLEAN | false | Enable zero-terminal SNR for LCM sampling |
| sigma_max | FLOAT | 120.0000–1000 | Maximum sigma for ContinuousEDM/V sampling (EDM: 120.0, V: 500.0) |
| sigma_min | FLOAT | 0.0020–1000 | Minimum sigma for ContinuousEDM/V sampling (EDM: 0.002, V: 0.03) |
| blocks_to_swap | INT | 50–100 | Number of transformer blocks to offload from GPU to CPU. Higher = more VRAM saved but slower inference. Suggested ~value (max total blocks): flux/chroma ~10 (max 57), sd3 ~8 (max 24-38), wan ~10 (max 30-40), hunyuan-video ~10 (max 60), ltxv ~6 (max 28), cosmos ~8 (max 28-36), zimage ~10 (max 30), qwenimage ~20 (max 60), mochi ~10 (max 48), hidream ~10 (max 48). Set to 0 to disable. |
| offload_embeddings | BOOLEAN | false | Also offload embedding and projection layers for extra VRAM savings. |
| ltx_text_encoder | COMBO | None | Optional LTX2/LTXV gemma text encoder (from the text_encoders/clip folder, GGUF or safetensors). When set, it is combined with the loaded Standard Checkpoint / UNet file's baked text-projection to build a correct LTXAV CLIP, overriding the (empty) baked CLIP. Leave as None for normal baked-CLIP behavior. |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| model | MODEL | — |
| clip | CLIP | — |
| vae | VAE | — |
| audio_vae | VAE | — |
| model_name | STRING | — |