ComfyUI Node
HuggingFace Checkpoint Loader
Downloads a model from Hugging Face or loads it from a local path. Supports single-file and sharded checkpoints.
HuggingFace Checkpoint Loader
- MODEL
- CLIP
- VAE
◄repo_id►
◄subfolder►
◄filename►
Categoryduanyll/loaders
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| repo_id | STRING | The Hugging Face repo ID, an absolute path (/path/to/model), or a relative path (./models/...) from the ComfyUI root. | |
| subfolderopt | STRING | The subfolder where the model is located. Applies to both Hugging Face repos and local paths. | |
| filenameopt | STRING | The checkpoint file to load. If not specified, will auto-detect. For sharded checkpoints, use the index file (e.g., 'model.index.json'). |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |
| CLIP | CLIP | — |
| VAE | VAE | — |