Nodes/PG Nodes/Checkpoint Select
ComfyUI Node

Checkpoint Select

A dropdown that hands the filename over

By GizmoR13·Created 11 months ago·Updated 11 months ago· 16
Checkpoint Select
    • chkpt_name
    chkpt_name

    Here's a workflow trick worth stealing: keep your model choice in one dropdown, then wire that choice into whatever loader uses it. PgCheckpointSelect is the checkpoint half of that pattern - a dropdown listing every checkpoint in your checkpoints folder, whose output is the selected filename as a string, ready to plug into a CheckpointLoaderSimple's ckpt_name input.

    Why bother, when the loader already has a dropdown? Because a single select node can drive several loaders at once, or hand the same choice to a load of things that all need to agree on which checkpoint you're on. It's also the cleaner way to feed the PG Unified Loader: the Uni variant of this node (look in the PG/Select/UniLoader subcategory) adds a none entry at the top so it can be left disconnected, which is what the Unified Loader expects. The plain PgCheckpointSelect lists only real filenames - no none - for stock loaders.

    How it works

    It reads the checkpoint list straight from ComfyUI's folder_paths.get_filename_list("checkpoints") - the same registry every stock loader uses - so it always shows exactly what's in your models/checkpoints folder. Selecting an entry returns that name as the node's single output (chkpt_name). The list is materialized once at import, which is the catch to remember: add a new checkpoint and it won't appear until you restart ComfyUI.

    The only input is chkpt_name, the dropdown itself. Output is the chosen name, typed to the checkpoint-name list so it snaps onto CheckpointLoaderSimple's input wire.

    Install

    Part of PG Nodes: ComfyUI Manager → "PG Nodes" → install → restart, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/GizmoR13/PG-Nodes
    

    No models, no dependencies.

    Common issues

    "Where's my file?" is the universal one - restart ComfyUI after moving a checkpoint in. And because it outputs a name, not a loaded model, an unconnected output is just a dead wire; the loader it feeds still does the actual loading. If your dropdown is empty, your checkpoints folder is either empty or not where ComfyUI expects it. It's a pass-through utility, not a loader, and that's exactly what makes it reusable.

    CategoryPG/Select

    Inputs (1)

    NameTypeDefaultDescription
    chkpt_nameCOMBO0 options:

    Outputs (1)

    NameTypeDescription
    chkpt_name