Nodes/ComfyUI-DSD/DSD Model Selector
ComfyUI Node

DSD Model Selector

It hands you the two standard paths, it doesn't pick files

By irreveloper·Created about a year ago·Updated about a year ago· 42
DSD Model Selector
    • model_path
    • lora_path
    check_model_existstrue

    Let's be straight about this one: the name "Model Selector" sounds like a file browser, but this node doesn't browse anything and doesn't have a dropdown. It's a small convenience helper that returns the two standard DSD paths - ComfyUI/models/dsd_model/transformer/diffusion_pytorch_model.safetensors and ComfyUI/models/dsd_model/pytorch_lora_weights.safetensors - as plain strings. That's the whole job. Its single input, check_model_exists (true by default), just makes it verify the files are actually there and print a warning to the console if they aren't.

    Why it exists

    Every other node in this pack needs those two paths eventually. The DSD Model Loader accepts empty paths and fills in the same defaults itself, so strictly speaking the Selector is optional. Where it earns its keep: it makes the path wiring in your graph visible and explicit. Instead of trusting that an empty string means "the default location," you can see the exact paths flowing around, and you get a console warning up front if the model files are missing rather than discovering it when the Loader throws. For a workflow you plan to share, that's a genuinely nice touch - the person who downloads your graph sees straight away whether they have the weights.

    Outputs

    • model_path - the transformer checkpoint path.
    • lora_path - the DSD LoRA path.

    Wire both into the DSD Model Loader's matching inputs. With check_model_exists on, a missing file just logs a warning and still returns the paths, so the Loader will produce the proper error later - the Selector is a tripwire, not a gate.

    The honest take

    If you're running this pack solo on one machine, you can skip the Selector entirely and let the Loader default its own empty paths. If you're building a template, exporting a workflow for others, or just like your graphs self-documenting, drop it in - it costs nothing and makes the model requirement legible. It's a utility node, not a feature node, and it's fine to think of it that way. The real work in this pack happens in the Downloader/Loader and the Image Generator.

    CategoryDSD

    Inputs (1)

    NameTypeDefaultDescription
    check_model_existsBOOLEANtrue

    Outputs (2)

    NameTypeDescription
    model_pathSTRING
    lora_pathSTRING