Nodes/comfyui-VarBoard/VarBoard Sampler
ComfyUI Node

VarBoard Sampler

A/B samplers without hunting for the dropdown

By IA-gyz·Created 6 months ago·Updated 6 months ago· 3
VarBoard Sampler
    • SAMPLER_NAME
    • LABEL
    valueeuler
    labelSampler

    Sampler choice is one of those things you tweak constantly when a model isn't behaving, and stock ComfyUI tucks it inside the KSampler's widget stack. VB_Sampler moves the sampler dropdown onto the VarBoard panel so you can swap methods between runs without opening the node.

    What it does

    Backend is the usual pass-through - returns (value, label) unchanged - but the interesting part is where the dropdown options come from. The node doesn't hardcode a list. It pulls comfy.samplers.KSampler.SAMPLERS straight from your installed ComfyUI at load time, so the panel's dropdown automatically contains whatever sampler set your ComfyUI actually has registered - including any samplers that third-party sampler packs (res4lyf and friends) inject into the core list.

    That's why the choice count lands at 44 in a stock install and the list includes modern entries like euler_cfg_pp, dpmpp_2m_sde_heun_gpu, sa_solver, and the various res_multistep variants. Install a new sampler pack, restart, and the dropdown grows on its own. No maintenance.

    Inputs:

    • value - the sampler name. Default "euler".
    • label - the row label on the board. Default "Sampler".

    Outputs: SAMPLER_NAME (wire into a KSampler's sampler_name input) and LABEL.

    Why you'd reach for it

    Sampler comparison is the textbook use. Keep your seed fixed, put a couple of runs through different methods, and the panel makes it a two-click operation instead of a navigation expedition. It also pairs with the KB's sampler guidance, which is worth internalizing before you start: DDPM-style models (SD 1.5, SDXL, and their finetunes) still lean on DPM++ 2M with Karras, while flow-matching models (Flux, Z-Image, Anima) want Euler-family samplers on conservative schedules - Karras can actively hurt those. The default "euler" is a safe neutral starting point for the flow-matching side.

    Install

    No dependencies, no models. ComfyUI Manager (search "VarBoard"), or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/IA-gyz/comfyui-VarBoard
    

    Restart ComfyUI and hard-refresh your browser. Drop a VB_Panel, and your VB_Sampler row appears on the board automatically.

    The gotcha to keep in mind

    Because the option list is read from the live ComfyUI at load time, the choices you see are only as current as your last restart - and if you're mid-experiment with a workflow that records a specific sampler name, remember the value is just a string on a wire. Load the workflow on a machine with a different sampler set and the stored name may not resolve. That's an edge case, not a daily problem; for day-to-day swapping it's easily the nicest way to sweep samplers in this pack.

    CategoryVarBoard

    Inputs (2)

    NameTypeDefaultDescription
    valueCOMBOeulerSampler name. Can be changed from the VarBoard.
    labelSTRINGSamplerDisplay label shown in the panel.

    Outputs (2)

    NameTypeDescription
    SAMPLER_NAMEeuler,euler_cfg_pp,euler_ancestral,euler_ancestral_cfg_pp,heun,heunpp2,exp_heun_2_x0,exp_heun_2_x0_sde,dpm_2,dpm_2_ancestral,lms,dpm_fast,dpm_adaptive,dpmpp_2s_ancestral,dpmpp_2s_ancestral_cfg_pp,dpmpp_sde,dpmpp_sde_gpu,dpmpp_2m,dpmpp_2m_cfg_pp,dpmpp_2m_sde,dpmpp_2m_sde_gpu,dpmpp_2m_sde_heun,dpmpp_2m_sde_heun_gpu,dpmpp_3m_sde,dpmpp_3m_sde_gpu,ddpm,lcm,ipndm,ipndm_v,deis,res_multistep,res_multistep_cfg_pp,res_multistep_ancestral,res_multistep_ancestral_cfg_pp,gradient_estimation,gradient_estimation_cfg_pp,er_sde,seeds_2,seeds_3,sa_solver,sa_solver_pece,ddim,uni_pc,uni_pc_bh2
    LABELSTRING