ComfyUI Node: MD: Apply TPG (Token Perturbation)

Authored by MDMAchine

Created

Updated

14 stars

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Category

MD_Nodes/Optimization

Inputs

model MODEL
enable_tpg BOOLEAN
target_layers
  • Down (Encoder)
  • Mid (Bottleneck)
  • Up (Decoder)
  • All
perturbation_strength FLOAT
start_sigma FLOAT
end_sigma FLOAT
protect_first_tokens INT
split_mode
  • Uncond First (Standard)
  • Cond First (Inverted)
seed INT
debug_mode
  • Off
  • Basic (Stats)
  • Visual (ASCII)

Outputs

MODEL

STRING

Extension: MD Nodes

A wild collection of custom nodes for ComfyUI including noise schedulers, samplers, audio preview, latent visualizers, and more — built for maximal creative chaos.

Authored by MDMAchine

Looking for a different node?

Run ComfyUI workflows without the setup

No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.

Learn more