Nodes/ComfyUI_PuLID_Flux_ll/Fix PuLID Flux Patch
ComfyUI Node Runs on cloud

Fix PuLID Flux Patch

The deprecated TeaCache shim you probably don't need

By lldacing·Created 2 years ago·Updated 9 months ago· 475
Fix PuLID Flux Patch
  • model
  • MODEL

Let's lead with the honest bit: this node is deprecated, the README says so, and if you're building a PuLID-Flux workflow today you almost certainly don't need it. It exists to bridge PuLID with TeaCache-style speedups, and that job has since been folded into how you order the nodes instead. It's here for people opening older workflows that still contain it.

What it was for

TeaCache and similar caches speed up Flux by reusing computation across steps. Early on, stacking one of those on top of a PuLID-patched model didn't cooperate - the patches stepped on each other. FixPulidFluxPatch was the workaround: you'd link it after ApplyPulidFlux, then link the TeaCache nodes (FluxForwardOverrider + ApplyTeaCachePatch, from lldacing's companion ComfyUI_Patches_ll pack) after that, and the ordering fix let the two coexist.

The current, non-deprecated way is simpler and skips this node entirely: just place ApplyPulidFlux before the FluxForwardOverrider + ApplyTeaCachePatch nodes (and before ApplyFBCacheOnModel if you're using Comfy-WaveSpeed instead). Order the chain correctly and there's nothing left for FixPulidFluxPatch to fix. That's why it's deprecated rather than deleted - the functionality moved into a wiring convention.

Inputs and output

Dead simple, which fits a pass-through patch node:

  • Input model (MODEL) - the PuLID-patched Flux model coming out of ApplyPulidFlux.
  • Output MODEL - the same model, adjusted so the downstream TeaCache patch plays nice.

No weights, no knobs, no downloads. It just re-orders a patch on the model.

Installing it

It comes with the ComfyUI_PuLID_Flux_ll pack - you don't install it separately, and given it's deprecated you probably won't reach for it deliberately. Pack install, for completeness: Manager search ComfyUI_PuLID_Flux_ll, or clone into custom_nodes, pip install -r requirements.txt, pip install facenet-pytorch --no-deps, restart. ComfyUI ≥ 0.3.7, and disable any old balazik PuLID-Flux nodes first.

If you actually want the TeaCache speedup, you'll also need the separate ComfyUI_Patches_ll pack (same author) for the FluxForwardOverrider and ApplyTeaCachePatch nodes.

Common issues & troubleshooting

Should I add this to a new workflow? No. Use the ordering rule instead: ApplyPulidFlux first, then the TeaCache nodes. This node is only for compatibility with graphs that already reference it.

An old workflow with this node behaves oddly with TeaCache. Rather than debug the deprecated path, rebuild it the current way - remove FixPulidFluxPatch, and move ApplyPulidFlux to sit before FluxForwardOverrider + ApplyTeaCachePatch. That's the supported arrangement now.

The node's missing from my menu. It lives in the pulid category with the rest of the pack. If the whole pack's nodes are absent, that's an install problem (or the balazik-collision issue) - sort the pack out and it'll appear. But again: for a fresh build, you're not missing anything by not using it.

Categorypulid

Inputs (1)

NameTypeDefaultDescription
modelMODEL

Outputs (1)

NameTypeDescription
MODELMODEL