Nodes/Duanyll Nodepack/HuggingFace CLIP Loader
ComfyUI Node

HuggingFace CLIP Loader

Downloads a model from Hugging Face or loads it from a local path. Supports single-file and sharded checkpoints.

By Duanyll·Created about a year ago·Updated 3 months ago· 2
HuggingFace CLIP Loader
    • CLIP
    repo_id
    type
    subfoldertext_encoder
    filename
    Categoryduanyll/loaders

    Inputs (4)

    NameTypeDefaultDescription
    repo_idSTRING
    typeCOMBO25 options: stable_diffusion, stable_cascade, sd3, stable_audio, mochi, ltxv, +19
    subfolderoptSTRINGtext_encoderThe subfolder where the model is located. Applies to both Hugging Face repos and local paths.
    filenameoptSTRINGThe checkpoint file to load. If not specified, will auto-detect. For sharded checkpoints, use the index file (e.g., 'model.index.json').

    Outputs (1)

    NameTypeDescription
    CLIPCLIP