Diffusion Select (Uni)
Name a UNet file for the modern model era
- diffusion_name
Diffusion Select (Uni) is a dropdown over your diffusion_models folder that outputs the chosen filename as a string, with a none option for the Unified Loader. In the pack's world, "diffusion model" means a standalone UNet/diffusion-model file - the kind that makes sense in the post-checkpoint era, where SD3, Flux, and friends increasingly ship as a separate diffusion model plus separate text encoders rather than one monolithic checkpoint.
This is the selector that quietly marks the pack as current. A checkpoint is a bundled everything; a diffusion model is just the denoising network. Modern workflows mix and match: a Flux UNet here, separate T5 and CLIP encoders there. When your model lives in models/diffusion_models (or one of the renamed variants), the Unified Loader's diffusion slot is how it gets loaded - and this node is how you pick the name from the outside.
How it works
Same PG selector skeleton. It scans folder_paths for the diffusion-model list, trying diffusion_models, then diffusion, then diffusion_model keys so it survives folder renames by other packs. process() returns the selected name on the diffusion_name output. No loading here - the Unified Loader does that, and it's the one that also offers FP8 dtype options (fp8_e4m3fn, fp8_e4m3fn_fast, fp8_e5m2) and the CPU toggle for UNet files.
The input and output
diffusion_name- dropdown over your diffusion-model files, defaultnone.- Output:
diffusion_name- the filename string.
Install
Part of PG Nodes:
ComfyUI Manager → search "PG Nodes" → Install → restart
Manual: git clone https://github.com/GizmoR13/PG-Nodes into custom_nodes (folder named PG-nodes), restart. Under PG/Select/UniLoader. No dependencies.
Common issues
- File not listed. Restart ComfyUI; also confirm the file is actually in a diffusion-models folder (the node checks three key names, but ComfyUI's
models/diffusion_modelsis the standard). - No diffusion model visible because you're on SD 1.5/SDXL. Normal. Old-school checkpoints bundle the UNet; you don't need this node unless your model is a standalone diffusion file.
- String vs MODEL. The output is a filename for the loader's name input, not a
MODEL. If you see a red wire, that's the cause.
The plain Diffusion Select (no Uni) exists for loaders that require a real pick; the Uni one lets you explicitly set none and rely on a checkpoint slot instead. For anyone running Flux-class workflows through the Unified Loader, this is the matching dropdown.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| diffusion_name | COMBO | none | 1 options: none |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| diffusion_name | none | — |