Nodes/ComfyUI Inspire Pack/Global Sampler (Inspire)
ComfyUI Node Runs on cloud

Global Sampler (Inspire)

Set sampler and scheduler for every node at once, no wires

By ltdrdata·Created 3 years ago·Updated 9 months ago· 805
Global Sampler (Inspire)
      sampler_name
      scheduler

      Big workflows have a nasty little chore: you decide to try dpmpp_2m with karras instead of euler with normal, and now you're hunting down every KSampler, FaceDetailer, and upscaler in a graph the size of a subway map to change the same two dropdowns on each. Global Sampler kills that chore. Drop one on the canvas, pick a sampler_name and scheduler, and it pushes those settings to every node in the workflow that has them - no connection wires required.

      It's the sibling of Global Seed, and it works the same way: a single control node that reaches across the whole graph. If you A/B samplers a lot, this turns a ten-minute click-hunt into one dropdown.

      How it works

      At execution, Global Sampler scans the workflow for nodes that expose both a sampler_name and a scheduler widget and overwrites them with its own values. No links, no plumbing - it just applies globally when the graph runs. Two rules from the README worth internalizing: it only touches nodes that have both widgets, and it won't do anything if the node is muted. So muting it is how you temporarily disable the override.

      There's one deliberate escape hatch. If you've converted a node's sampler_name or scheduler from a widget into an input (say, driven by a Primitive), Global Sampler leaves that converted widget alone - it only affects the ones still sitting as widgets on the node. That's the mechanism for opting a specific sampler out of the global setting: convert its widget to an input and drive it separately.

      The inputs that matter

      Only two, and they're the whole point:

      • sampler_name - the sampler to force everywhere (44 to choose from: euler, dpmpp_2m, dpmpp_3m_sde, and the rest).
      • scheduler - the schedule to force everywhere (normal, karras, sgm_uniform, beta, and friends).

      There are no outputs - like Global Seed, it's a control node that acts by side effect, not by passing data.

      Installing it

      Ships in the Inspire Pack by Dr.Lt.Data, the ComfyUI Manager and Impact Pack author - so this is trusted, well-maintained tooling. Via ComfyUI Manager: search ComfyUI Inspire Pack, install, restart. Manually:

      cd ComfyUI/custom_nodes
      git clone https://github.com/ltdrdata/ComfyUI-Inspire-Pack
      

      then restart. No dependencies or downloads.

      Common issues

      One sampler isn't changing. Two reasons. Either that node doesn't have both a sampler_name and a scheduler widget (Global Sampler skips nodes missing one), or someone converted its sampler widget into an input - in which case it's deliberately exempt. Convert it back to a widget if you want the global to reach it.

      It's overriding a node I wanted left alone. That's the intended exemption trick: convert that node's sampler_name/scheduler widget to an input and set it separately. Everything still on widgets stays under global control; the converted one goes its own way.

      I want to turn the global off for a run. Mute the Global Sampler node. A muted one applies nothing, which restores each node's own dropdown values.

      Nodes won't load after install. Check the terminal log - the standard Inspire Pack cause is a version mismatch. Update Inspire Pack and Impact Pack together and restart.

      CategoryInspirePack/Prompt

      Inputs (2)

      NameTypeDefaultDescription
      sampler_nameCOMBO44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
      schedulerCOMBO17 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +11

      Outputs (0)

      No outputs