Nodes/pre_cfg_comfy_nodes_for_ComfyUI/Channel selector for 32 channels
ComfyUI Node

Channel selector for 32 channels

The big selector, scaled

By Extraltodeus·Created 2 years ago·Updated about a year ago· 66
Channel selector for 32 channels
    • CHANS
    channel_0true
    channel_1true
    channel_2true
    channel_3true
    channel_4true
    channel_5true
    channel_6true
    channel_7true
    channel_8true
    channel_9true
    channel_10true
    channel_11true
    channel_12true
    channel_13true
    channel_14true
    channel_15true
    channel_16true
    channel_17true
    channel_18true
    channel_19true
    channel_20true
    channel_21true
    channel_22true
    channel_23true
    channel_24true
    channel_25true
    channel_26true
    channel_27true
    channel_28true
    channel_29true
    channel_30true
    channel_31true

    Some models keep their latent state in a wider space, and when that space is 32 channels deep you need a selector that can describe all of them. Channel selector for 32 channels is exactly that: thirty-two channel_0 through channel_31 toggles, all on by default, producing a single CHANS output for the pack's pre-CFG nodes. It's the same utility as its 4- and 8-channel siblings, just sized up.

    The node itself does no computation. It emits a boolean list that says "these channels are fair game" and hands it to whatever accepts CHANS - in practice that means the channels_selection optional input on Pre CFG automatic scale. Once wired in, the auto-scale node measures and normalizes only the channels you've left on, so you can carve a troublesome channel out of the automatic CFG math while the rest keep their self-tuning behavior. That's the entire point of the family: give the arithmetic nodes a way to know which latent channels to respect.

    Since every selector in the pack is generated from one base class, the behavior is uniform - the only variable is the channel count. Thirty-two sits at the point where the toggle grid stops being a quick glance and starts being a deliberate configuration. If your model genuinely runs 32 latent channels, this is your size; if you're on SDXL (four channels) there's no reason to come up here. Matching the selector to your model's actual channel count is the one real rule.

    Worth knowing: none of these selectors validate against your model, and a mismatch doesn't crash anything - the CHANS list just describes a count that may or may not align with what the consumer expects. So check your model's latent format before you pick a size. And if a full wall of toggles feels heavy, the pack also offers Individual channel selector, which does the same job with three numeric inputs instead of thirty-two checkboxes - far more pleasant when you only care about a single channel.

    Install is the standard pack path:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Extraltodeus/pre_cfg_comfy_nodes_for_ComfyUI
    

    or find pre_cfg_comfy_nodes_for_ComfyUI in ComfyUI Manager and restart. No dependencies beyond torch, no models to download.

    Like every selector in this family, it's not an effect - it's intent. Plug it in and it quietly directs where the automatic scale applies its magic, which is all you could ask of a node this dull-looking.

    Categorymodel_patches/Pre CFG/channels_selectors

    Inputs (32)

    NameTypeDefaultDescription
    channel_0BOOLEANtrue
    channel_1BOOLEANtrue
    channel_2BOOLEANtrue
    channel_3BOOLEANtrue
    channel_4BOOLEANtrue
    channel_5BOOLEANtrue
    channel_6BOOLEANtrue
    channel_7BOOLEANtrue
    channel_8BOOLEANtrue
    channel_9BOOLEANtrue
    channel_10BOOLEANtrue
    channel_11BOOLEANtrue
    channel_12BOOLEANtrue
    channel_13BOOLEANtrue
    channel_14BOOLEANtrue
    channel_15BOOLEANtrue
    channel_16BOOLEANtrue
    channel_17BOOLEANtrue
    channel_18BOOLEANtrue
    channel_19BOOLEANtrue
    channel_20BOOLEANtrue
    channel_21BOOLEANtrue
    channel_22BOOLEANtrue
    channel_23BOOLEANtrue
    channel_24BOOLEANtrue
    channel_25BOOLEANtrue
    channel_26BOOLEANtrue
    channel_27BOOLEANtrue
    channel_28BOOLEANtrue
    channel_29BOOLEANtrue
    channel_30BOOLEANtrue
    channel_31BOOLEANtrue

    Outputs (1)

    NameTypeDescription
    CHANSCHANS