Nodes/Corza LoRA Loader (Clean)/Corza Clean Applied LoRAs
ComfyUI Node

Corza Clean Applied LoRAs

Cleans standard LoRA patches already applied to the incoming MODEL. Place it after upstream LoRA loaders; downstream LoRA loaders remain untouched.

By CoreyCorza·Created about a month ago·Updated about a month ago· 7
Corza Clean Applied LoRAs
  • model
  • model
keep_energy100.0
max_rank0
tame_layers0.00
star_rescalefalse
gate_strength1.00
Categorycorza/lora

Inputs (6)

NameTypeDefaultDescription
modelMODEL
keep_energyFLOAT100.050–100Per applied LoRA patch, keep only the strongest SVD components adding up to this % of the update's energy. 100 = off.
max_rankINT00–1024Hard cap on each applied LoRA patch's rank after the energy cut. 0 = off.
tame_layersFLOAT0.000–1Compress applied LoRA patches whose update is much stronger than the rest of the upstream LoRA stack. 0 = off, 1 = fully clamped.
star_rescaleBOOLEANfalseSTAR rescale after truncation. Only does something when keep_energy trims a patch or max_rank caps it.
gate_strengthFLOAT1.000–1How much of the applied LoRA patches' effect reaches 'gate' layers only (Krea 2 gated-attention + SwiGLU gates, etc.). Gates are multiplicative sigmoid controls whose LoRA edits have outsized, compounding effect — a big source of artifacts and of stacked LoRAs fighting. 1 = full effect (default), 0 = strip the LoRA from gates (they stay at base). Try 0.5 if stacked LoRAs deform.

Outputs (1)

NameTypeDescription
modelMODEL