ComfyUI Node
LC LoRA Extract
Makes a LoRA from the difference between a finetuned model and its base (e.g. Krealism minus Krea 2 Turbo). Any precision on either side. Unchanged layers are left out of the file.
LC LoRA Extract
- finetuned
- base
- report
◄partsall layers►
◄blocks14-27►
◄rank256►
◄keep0.90►
◄min_change0.0010►
◄filenameKrea 2/Your Loras/extracted_lora►
◄save_dtypebf16►
◄enabledtrue►
◄embed_workflowtrue►
◄metadatakeep all►
CategoryLC Modelbuilder
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| finetuned | MODEL | The finetune or merge (e.g. Krealism). Any precision. | |
| base | MODEL | The model it was built on (e.g. Krea 2 Turbo). Any precision. | |
| parts | COMBO | all layers | all layers = the whole difference. blocks only = just the numbered blocks (on Krea 2 this leaves out text fusion and the embedding layers; use it for a LoRA meant for Krea 2 Raw). custom blocks = the list below. |
| blocks | STRING | 14-27 | Used with custom blocks: ranges and single numbers, e.g. 14-27 or 4-9, 16, 20-22. |
| rank | INT | 2561–4096 | Highest rank any layer may use. Layers that need less stay smaller. |
| keep | FLOAT | 0.900.5–1 | How much of each layer's change to keep (0.90 = 90%). Higher = closer to the finetune, bigger file. Krealism: 0.90 at rank 256 matched the full model. |
| min_change | FLOAT | 0.00100–0.1 | Layers that changed less than this (relative to the layer) count as unchanged and are left out. 0.001 skips bf16 rounding noise. |
| filename | STRING | Krea 2/Your Loras/extracted_lora | Saved under models/loras. A number is added instead of overwriting. |
| save_dtype | COMBO | bf16 | 2 options: bf16, fp16 |
| enabled | BOOLEAN | true | Off = skip the save entirely (no file written), without physically bypassing the node. Convert to an input to gate saving from a switch elsewhere in the graph. |
| embed_workflow | BOOLEAN | true | Include the prompt and workflow JSON in the saved file's metadata. Turn off before sharing/publishing a checkpoint if you don't want your exact node graph attached. |
| metadataopt | COMBO | keep all | keep all = everything this save normally writes (with embed_workflow on, your whole node graph). necessary only = just what loading needs (quant settings, if any) plus the architecture and trigger words: no workflow, no training details, no titles or edit notes. Use it before sharing a file. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| report | STRING | — |