HT Sampler Bridge
Want your sampler chosen by text instead of a dropdown? HT Sampler Bridge
- sampler
ComfyUI's sampler dropdown is fine right up until the moment you want the sampler to be chosen by something else - a prompt parameter, a saved config string, an external control system that speaks plain text. ComfyUI's type system is stubborn about this: a sampler is a SAMPLER object, and you can't just type "euler_ancestral" into a text box on a KSampler. HT Sampler Bridge is the adapter that fixes that: it takes a sampler name as a string and hands you back a real sampler object your nodes will accept.
How it works
Under the hood it's small and honest. The node takes your sampler_name string, normalizes it (lowercase, stripped), and checks it against ComfyUI's own list of valid sampler names (comfy.samplers.SAMPLER_NAMES). Exact match wins. If there's no exact match, it looks for a partial one - so "dpmpp 2m" can resolve to dpmpp_2m. If nothing matches at all, it quietly falls back to euler and prints a warning to your console.
The output is a proper SAMPLER object, which you wire into a SamplerCustomAdvanced (or whatever advanced sampling node you're using). That's the whole deal: string in, typed object out.
The inputs and output that matter
- sampler_name - the only input, a plain string, default
euler. Type the exact ComfyUI name ("euler", "dpmpp_2m", "ddim") and you're set; partial names mostly work thanks to the fuzzy matching. - sampler - the output. Goes into the
samplersocket of an advanced sampler node.
If you're still figuring out which samplers exist, the short version: euler and dpmpp_2m are the workhorse converging samplers; euler_ancestral and dpmpp_sde add randomness at each step, so they're more varied but less reproducible. The KB's sampler guide is the deeper read, but for this node what matters is that any name in ComfyUI's list is fair game as a string.
Installing it
It's part of the HommageTools pack, so:
cd ComfyUI/custom_nodes
git clone https://github.com/ArtHommage/HommageTools.git
cd HommageTools
pip install -r requirements.txt
Restart ComfyUI, or skip all that and use ComfyUI Manager → search "HommageTools". No models, no extra downloads for this node.
Where people get burned
The fallback behavior is the trap. Typo the name - "dpmpp_2m" as "dpmmp_2m", say - and the node won't error, it'll just silently run euler while you think you're testing something else. The only clue is the warning line in your terminal. If your results suddenly look nothing like you expected after changing the sampler string, check the console first.
Second gotcha: this node returns a sampler, not the whole sampling stack. You still need a scheduler and a sigmas path (the sibling HT Scheduler Bridge covers that, or use a normal scheduler node). It's a bridge, not a KSampler replacement.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| sampler_name | STRING | euler | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| sampler | SAMPLER | — |