ComfyUI Node

Float

A float slider with room to breathe

By tuyenhm68·Created 8 months ago·Updated 28 days ago· 1
Float
    • value
    value1.00

    Komfy_Float is a number box that emits a FLOAT. Type a value, get a value out the other end as a wire. Default is 1.0, and the range runs from −999,999 to 999,999 in 0.01 steps - which sounds absurd until you remember what floats get used for.

    Because "float" in a ComfyUI workflow covers a lot of ground. It's the denoise strength on an img2img pass. It's the CFG scale, the LoRA strength, the upscale factor, the blend weight between two latents. One shared float node can feed all of those, and the wide range means you're never fighting the widget limits when you want CFG at 7.5, denoise at 0.55, and a LoRA at 0.8 in the same graph.

    How it works

    One required input, value (FLOAT, default 1.0, min −999999, max 999999, step 0.01), and one output, value, a typed FLOAT socket. Step of 0.01 is coarse enough to be practical but fine enough for denoise and strength tweaks. It's a passthrough with a wide range - no clamping, no presets, no surprises. It re-executes every run so edits propagate as soon as you hit Queue.

    The useful pattern is the one that works for every Komfy value node: convert a widget to input on the consuming node, wire this in, and you've got one authoritative value feeding several places. Set your denoise once in a named Float node, fan it out to two samplers, and changing it once changes both. No more hunting through a graph for the one widget you forgot to update.

    Install

    Standard HMT Suite install:

    cd ComfyUI/custom_nodes
    git clone https://github.com/tuyenhm68/ComfyUI-HMT-Suite.git
    cd ComfyUI-HMT-Suite
    pip install -r requirements.txt
    

    Restart, then look under HMT Suite > Komfy > Float. (Or install the pack via ComfyUI Manager.)

    The honest take

    ComfyUI core's PrimitiveFloat already does this, so on its own it's not a reason to install anything. Where it earns its keep is consistency: if you're using the HMT pack anyway, a named float source that fans out to every strength-related input beats a pile of anonymous widgets, and it's one less node type to think about. If you never need a float as a wire, you'll never touch it - and that's fine too.

    CategoryHMT Suite/Komfy

    Inputs (1)

    NameTypeDefaultDescription
    valueFLOAT1.00-999999–999999

    Outputs (1)

    NameTypeDescription
    valueFLOAT