Selector In (FLOAT)
CFG, denoise, strength — one per model family
- FLOAT
SelInFloat ("Selector In (FLOAT)") is the numeric workhorse of the comfyui-selector pack. Eight FLOAT input ports, one model_type integer, one FLOAT output - and each port holds a value that only matters when its model family is the one running. It's the node you use when the same number needs to mean different things for different models.
The canonical example is CFG, and it's a great one because the rules genuinely changed. SDXL fine-tunes still want CFG 4–7. Guidance-distilled models like Flux and Z-Image want CFG 1 - not "a low setting," but literally guidance-off, because it's baked into the weights. If you run both families in one workflow, the "right" CFG depends entirely on what's loaded. SelInFloat is the clean answer: port 1 holds 7, port 3 holds 1, and the model_type signal picks the winner. Same idea for denoise strength, LoRA weights, upscale scale factors, or any other float you retune per model.
How it works
Identical to the rest of the Selector In family: model_type (1–8) selects float<number>, and that value flows out. The inputs are lazy - only the selected port is evaluated - though for plain numbers that's mostly academic; you're not loading models here, just choosing which widget's value gets through. All eight ports default to 1.0, and each widget has the same 0–1000 range with 0.001 steps, so there's plenty of headroom for denoise, scale, or any strength you throw at it.
Inputs & outputs that matter
- model_type (INT, required) - the selector. Feed it from RecourseCkpt's MODEL_TYPE and the whole thing stays in sync as you swap checkpoints.
- float1 … float8 (FLOAT, optional, default 1.0) - your per-model values. Label them with a text note so you remember which family owns which port.
- FLOAT output - the winning value, wired into a KSampler's
cfg, a detailer's denoise, a LoRA's strength, whatever.
Installing it
The pack standard. ComfyUI Manager → search comfyui-selector → install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/exdysa/comfyui-selector
Restart and it's under Selector_Recourse/In. No requirements.txt, no model files, no network access.
Gotchas
- Eight ports with no labels is a recipe for "which one was Flux again?" - put a text note on the node or rename ports in your head before you fill them all in.
- If the selected port has nothing connected, the output is
None- the defaults on the widgets only apply when a port is wired. An unwired port does not silently emit 1.0. - It's just a number switcher. It won't fix your CFG, it'll just make the right value find the right model. Small single-author pack (GPL-3.0), quiet since early 2025 - fine for what it is, and honestly a cleaner way to manage per-model floats than a wall of Convert nodes.
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| model_type | INT | 11–8 | — |
| float1opt | FLOAT | 1.0000–1000 | — |
| float2opt | FLOAT | 1.0000–1000 | — |
| float3opt | FLOAT | 1.0000–1000 | — |
| float4opt | FLOAT | 1.0000–1000 | — |
| float5opt | FLOAT | 1.0000–1000 | — |
| float6opt | FLOAT | 1.0000–1000 | — |
| float7opt | FLOAT | 1.0000–1000 | — |
| float8opt | FLOAT | 1.0000–1000 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | — |