ComfyUI Node
Corza LoRA Loader (Clean)
LoRA loader with optional spectral cleanup: drops the noisy low-energy tail of each layer (kohya resize math) and tames outlier layers. Helps with blocky/crunchy artifacts, especially on distilled/turbo models and stacked LoRAs. With cleaning off it behaves exactly like the stock loader.
Corza LoRA Loader (Clean)
- model
- clip
- model
- clip
◄lora_name▾►
◄strength_model1.00►
◄strength_clip1.00►
◄keep_energy100.0►
◄max_rank0►
◄tame_layers0.00►
◄star_rescalefalse►
◄gate_strength1.00►
Categorycorza/lora
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| lora_name | COMBO | 0 options: | |
| strength_model | FLOAT | 1.00-100–100 | — |
| strength_clip | FLOAT | 1.00-100–100 | — |
| keep_energy | FLOAT | 100.050–100 | Per layer, keep only the strongest SVD components adding up to this % of the update's energy; the rest is mostly training noise. 100 = off. Try 95, then 90 if artifacts persist. |
| max_rank | INT | 00–1024 | Hard cap on each layer's rank after the energy cut. 0 = off. |
| tame_layers | FLOAT | 0.000–1 | Compress layers whose update is much stronger than the rest (above the LoRA's 90th percentile) back toward the pack. 0 = off, 1 = fully clamped. Try 0.5 for crunchy edges. |
| star_rescale | BOOLEAN | false | STAR (arXiv:2502.10339): after keep_energy trims a layer, boost the kept components so the layer's total strength matches the original — trims the conflict-prone tail without weakening the LoRA. Only does something when keep_energy < 100. |
| gate_strength | FLOAT | 1.000–1 | How much of the LoRA's effect reaches 'gate' layers only (Krea 2's gated attention + SwiGLU gates, etc.). Gates are multiplicative sigmoid controls, so LoRA edits there have outsized, compounding effect — a big source of artifacts and of stacked LoRAs fighting, which the norm-based tame_layers misses. 1 = full effect (default), 0 = strip the LoRA from gates (they stay at base). Try 0.5 if stacked LoRAs deform. No effect on LoRAs without gate layers. |
| clipopt | CLIP | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| model | MODEL | — |
| clip | CLIP | — |