TGate Apply(Deprecated)
The old T-GATE node your saved workflows still reference
- model
- MODEL
"Deprecated" is right there in the name, and no, you shouldn't build anything new with this. TGate Apply(Deprecated) is the original 2024 implementation of T-GATE in this pack, replaced in May 2024 by the two current nodes - TGate Apply and TGate Apply Advanced - and marked for eventual removal. But it's not a trap. If a workflow you downloaded still carries this node, it runs, and it's the pack's own fallback when the newer path misbehaves.
That fallback role is the reason it still exists. The changelog notes an SDXL x, y batch error in the refactored nodes and tells you that if you hit errors, you can try the deprecated one. So think of it as the "old faithful" path: some people's saved graphs were built on it, and keeping it around is what lets those graphs keep working.
How it's different
Mechanically it's the same idea as its siblings - run the first start_at fraction of steps normally, cache cross-attention, then reuse the cache and stop running the unconditional CFG pass for the rest of the render. The difference is plumbing. The newer nodes use ComfyUI's model-wrapper hooks; this one patches comfy.samplers.sampling_function globally. That's more invasive, it's the kind of thing that collides with other plugins, and it's exactly why the node was deprecated in the first place.
Inputs
The same control surface as Advanced:
- model - your MODEL.
- start_at - fraction of steps before caching kicks in; default 1.0 is inert, so set it around 0.3–0.5 to actually get speedup.
- only_cross_attention - default True and recommended; set False to also cache self-attention for more speed and more drift.
- self_attn_start_at - when self-attention caching starts (only read when the above is False).
- use_cpu_cache - optional RAM cache if multi-batch renders OOM.
Output is a MODEL → KSampler.
Install and verdict
Installs exactly like its siblings - search "TGate" in ComfyUI Manager, or:
cd ComfyUI/custom_nodes
git clone https://github.com/JettHu/ComfyUI_TGate
Restart. No extra dependencies, no model files.
My take: if an existing workflow uses this node, leave it be and let it run. If you're building fresh, use TGate Apply instead - same behavior, cleaner mechanism, and it isn't scheduled for deletion. One real caveat if you keep it: because it patches Comfy's sampler function globally, it's more sensitive to ComfyUI version bumps and to other plugins that patch the same function. AnimateDiff used to be a known conflict, which the README claims is now resolved - but that's the world this node lives in. Keep everything updated and it'll likely behave.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| start_at | FLOAT | 1.000–1 | — |
| only_cross_attention | BOOLEAN | true | — |
| self_attn_start_atopt | FLOAT | 1.000–1 | — |
| use_cpu_cacheopt | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |