Nodes/ComfyUI-RyuuNoodles/Float L 🐲
ComfyUI Node

Float L 🐲

The float node with a CFG-sized range, because 0-to-1 doesn't cut it

By DraconicDragonΒ·Created about a year agoΒ·Updated 2 months agoΒ· 12
Float L 🐲
    • FLOAT
    β—„number3.75β–Ί

    Most of the values you fiddle with in ComfyUI live between 0 and 1: denoise, strengths, blends. And then there's CFG scale, which lives between 3 and 10 and has zero respect for your 0-to-1 range. Float L is the answer the pack's author added in a later edit: the same plain float node, rescaled to 0 to 24 so it can actually express a classifier-free guidance value. The "L" is for the larger range.

    What it does

    A single number widget, range 0.0 to 24.0, step 0.05, default 3.75, output rounded to three decimals. Default of 3.75 is right in the modern sweet spot for CFG (plenty of current SDXL/Flux workflows run CFG between 3 and 7). Like its sibling Float, it's a typed-value node rather than a slider - which suits CFG, since CFG is something you set once and trust, not drag around.

    Rounding to three decimals matters for the same reason it does everywhere in this pack: 3.7499999999999996 and 3.75 should not be two different workflows, and this node makes sure they aren't.

    How it fits the pack

    The README's own color-coding:

    • Float and Float Slider β†’ denoise (0 to 1)
    • Float L β†’ CFG (0 to 24)
    • Int Slider β†’ steps (0 to 50)

    So the mental model is a whole control surface for a KSampler: Float L into cfg, Int Slider into steps, Float into denoise. If you're building a compact sampling-control panel for iterating, these three nodes are a coherent set.

    Inputs and output

    • number - the float. Min 0, max 24, step 0.05, default 3.75.
    • Output: a single FLOAT.

    Wire it to the cfg input on a KSampler. That's the job.

    Installing it

    cd ComfyUI/custom_nodes
    git clone https://github.com/DraconicDragon/ComfyUI-RyuuNoodles
    

    Restart ComfyUI, or use ComfyUI Manager (search "RyuuNoodles"). No models, no extra dependencies.

    Gotchas

    The 24.0 cap is real and fixed - if you're one of the people who runs CFG at 12+ (some stylized workflows do), 24 gives you headroom, but if you wanted 30 you're out of luck. And note the step is 0.05, so values like 3.33 aren't directly expressible via the widget's arrows - type it in. Nothing else to trip on; it's a number.

    CategoryRyuuNoodles 🐲/Numbers

    Inputs (1)

    NameTypeDefaultDescription
    numberFLOAT3.750–24β€”

    Outputs (1)

    NameTypeDescription
    FLOATFLOATβ€”