Channel selector for 64 channels
The selector for wide-latent models
- CHANS
If your model's noise predictions live in a 64-channel latent, the little 4-channel selector in this pack isn't going to reach. Channel selector for 64 channels is the version built for that world: sixty-four channel_0 through channel_63 toggles, all on by default, collapsing into one CHANS output. It's pure plumbing - no math, no model patch, just a description of which channels a downstream node should care about.
The one consumer that matters is the channels_selection optional input on Pre CFG automatic scale. Feed the CHANS output there and the automatic scaling restricts itself to the channels you've left enabled. Flip one off and that channel is skipped by the auto-scale logic - which is the move when you've isolated a single latent channel responsible for a color cast or recurring artifact on your checkpoint. The pack's README is upfront that these nodes chain and that ordering is a personal-tuning affair; the selectors are the fine-grained dials that make the chaining surgical instead of blunt.
The whole selector family - 4, 8, 16, 32, 64, 128 - is generated from a single base class, so behavior is identical across sizes. Sixty-four is firmly in "wide latent" territory, and it comes with a practical cost: a wall of checkboxes on your canvas. If you only care about a couple of channels, skip the wall entirely and use the pack's Individual channel selector, which does the same job with selected_channel, total_channels, and an exclude toggle. That's the version most people end up using day to day even on wide-latent models, because the selectors are really about isolating a few channels, not celebrating all of them.
The one rule to respect: match the selector size to your model's actual channel count. The CHANS list doesn't validate against anything, so a mismatch just produces a list the consumer interprets as best it can. And remember - no selector does anything on its own. It needs to be plugged into a CHANS input to have a job.
Install with the whole pack:
cd ComfyUI/custom_nodes
git clone https://github.com/Extraltodeus/pre_cfg_comfy_nodes_for_ComfyUI
or search pre_cfg_comfy_nodes_for_ComfyUI in ComfyUI Manager and restart. No models, no extra dependencies.
It's the most imposing-looking node in the family and the least interesting in isolation. Wire it into automatic scale and suddenly all those toggles are the difference between "automatic CFG, everywhere" and "automatic CFG, exactly where I want it."
Inputs (64)
| Name | Type | Default | Description |
|---|---|---|---|
| channel_0 | BOOLEAN | true | — |
| channel_1 | BOOLEAN | true | — |
| channel_2 | BOOLEAN | true | — |
| channel_3 | BOOLEAN | true | — |
| channel_4 | BOOLEAN | true | — |
| channel_5 | BOOLEAN | true | — |
| channel_6 | BOOLEAN | true | — |
| channel_7 | BOOLEAN | true | — |
| channel_8 | BOOLEAN | true | — |
| channel_9 | BOOLEAN | true | — |
| channel_10 | BOOLEAN | true | — |
| channel_11 | BOOLEAN | true | — |
| channel_12 | BOOLEAN | true | — |
| channel_13 | BOOLEAN | true | — |
| channel_14 | BOOLEAN | true | — |
| channel_15 | BOOLEAN | true | — |
| channel_16 | BOOLEAN | true | — |
| channel_17 | BOOLEAN | true | — |
| channel_18 | BOOLEAN | true | — |
| channel_19 | BOOLEAN | true | — |
| channel_20 | BOOLEAN | true | — |
| channel_21 | BOOLEAN | true | — |
| channel_22 | BOOLEAN | true | — |
| channel_23 | BOOLEAN | true | — |
| channel_24 | BOOLEAN | true | — |
| channel_25 | BOOLEAN | true | — |
| channel_26 | BOOLEAN | true | — |
| channel_27 | BOOLEAN | true | — |
| channel_28 | BOOLEAN | true | — |
| channel_29 | BOOLEAN | true | — |
| channel_30 | BOOLEAN | true | — |
| channel_31 | BOOLEAN | true | — |
| channel_32 | BOOLEAN | true | — |
| channel_33 | BOOLEAN | true | — |
| channel_34 | BOOLEAN | true | — |
| channel_35 | BOOLEAN | true | — |
| channel_36 | BOOLEAN | true | — |
| channel_37 | BOOLEAN | true | — |
| channel_38 | BOOLEAN | true | — |
| channel_39 | BOOLEAN | true | — |
| channel_40 | BOOLEAN | true | — |
| channel_41 | BOOLEAN | true | — |
| channel_42 | BOOLEAN | true | — |
| channel_43 | BOOLEAN | true | — |
| channel_44 | BOOLEAN | true | — |
| channel_45 | BOOLEAN | true | — |
| channel_46 | BOOLEAN | true | — |
| channel_47 | BOOLEAN | true | — |
| channel_48 | BOOLEAN | true | — |
| channel_49 | BOOLEAN | true | — |
| channel_50 | BOOLEAN | true | — |
| channel_51 | BOOLEAN | true | — |
| channel_52 | BOOLEAN | true | — |
| channel_53 | BOOLEAN | true | — |
| channel_54 | BOOLEAN | true | — |
| channel_55 | BOOLEAN | true | — |
| channel_56 | BOOLEAN | true | — |
| channel_57 | BOOLEAN | true | — |
| channel_58 | BOOLEAN | true | — |
| channel_59 | BOOLEAN | true | — |
| channel_60 | BOOLEAN | true | — |
| channel_61 | BOOLEAN | true | — |
| channel_62 | BOOLEAN | true | — |
| channel_63 | BOOLEAN | true | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| CHANS | CHANS | — |