Nodes/ComfyUI-JakeUpgrade/LoRA Stack JK๐Ÿ‰
ComfyUI Node

LoRA Stack JK๐Ÿ‰

Six LoRAs in one node, plus the prompt and metadata for free

By jakechaiยทCreated 2 years agoยทUpdated 3 months agoยท 146
LoRA Stack JK๐Ÿ‰
  • lora_stack
  • LORA_STACK
  • LORA_PROMPT
  • LORA_MetaData
โ—„input_modemodel_onlyโ–บ
โ—„lora_1falseโ–บ
โ—„lora_name_1โ–พโ–บ
โ—„model_weight_11.00โ–บ
โ—„clip_weight_11.00โ–บ
โ—„lora_2falseโ–บ
โ—„lora_name_2โ–พโ–บ
โ—„model_weight_21.00โ–บ
โ—„clip_weight_21.00โ–บ
โ—„lora_3falseโ–บ
โ—„lora_name_3โ–พโ–บ
โ—„model_weight_31.00โ–บ
โ—„clip_weight_31.00โ–บ
โ—„lora_4falseโ–บ
โ—„lora_name_4โ–พโ–บ
โ—„model_weight_41.00โ–บ
โ—„clip_weight_41.00โ–บ
โ—„lora_5falseโ–บ
โ—„lora_name_5โ–พโ–บ
โ—„model_weight_51.00โ–บ
โ—„clip_weight_51.00โ–บ
โ—„lora_6falseโ–บ
โ—„lora_name_6โ–พโ–บ
โ—„model_weight_61.00โ–บ
โ—„clip_weight_61.00โ–บ
โ—„save_hashfalseโ–บ
โ—„lora_promptโ–บ
โ—„lora_metadataโ–บ

Stacking LoRAs is the thing ComfyUI makes quietly annoying. The stock loader takes exactly one .safetensors, so a "character + style + concept" combo means chaining three loaders and keeping their weights straight. This node is the JakeUpgrade answer: six LoRA slots in one box that also hands you the prompt tag and civitai-style metadata as separate outputs. It's part of the ComfyUI-JakeUpgrade pack, and if you've pulled any of Jake's Wan video or imgen workflows, you've already seen it in the wild.

What it does

CR LoRA Stack JK is a stacker, not an applier. It collects a list of (lora_name, model_weight, clip_weight) tuples - that's the LORA_STACK type - plus two convenience strings. You feed the stack into CR Apply LoRA Stack JK (patches model + CLIP) or CR Apply LoRA Stack Model Only JK (model only). That split is why it exists: one place to configure which LoRAs are active, one wire carrying all of them downstream.

The inputs that matter:

  • input_mode - model_only or advanced. In model_only, slots are skipped unless enabled, and clip weight is forced to 0.0. In advanced, a slot only fires when both model and clip weight are non-zero.
  • lora_1 โ€ฆ lora_6 - the on/off toggle for each of the six slots, next to lora_name_1โ€ฆ6, model_weight_1โ€ฆ6, clip_weight_1โ€ฆ6. Weight range is โˆ’10 to 10; 0.5โ€“0.8 is the sane landing zone for most LoRAs, 1.0 often cooks the image.
  • save_hash - appends the first 12 hex chars of the file's SHA-256 to the metadata output. Slows first run a hair while it hashes a multi-GB file; only useful if you're logging civitai metadata.

Outputs are LORA_STACK, LORA_PROMPT, and LORA_MetaData. The prompt output builds ComfyUI's <lora:name:weight> tags from the filenames, and metadata produces name: [hash] pairs you can drop into your civitai generation data. The optional lora_stack, lora_prompt, and lora_metadata inputs let you chain two stackers - say, a base stack and a conditional addition - into one.

Installing it

JakeUpgrade is one pack that ships a lot of nodes; this is one of them. Install the whole thing:

cd ComfyUI/custom_nodes
git clone https://github.com/jakechai/ComfyUI-JakeUpgrade
cd ComfyUI-JakeUpgrade
# Windows standalone:
install.bat
# or, manual Windows: python_embeded\python.exe -s -m pip install -r requirements.txt
# everyone else:
pip install -r requirements.txt

ComfyUI Manager works too - search "JakeUpgrade", install, restart. No model downloads for this node; it reads whatever's already in ComfyUI/models/loras, which is also what populates the dropdowns.

Troubleshooting

  • A LoRA silently never applies. The stacker drops any slot where the enable toggle is off, the name is "None", or the model weight is 0. Check all three before assuming the applier is broken.
  • You're feeding an advanced stack into a model-only applier. Fine - clip weights get ignored, but you built the stack with extra inputs you didn't need. Use model_only mode for that path.
  • Manager flags a conflict with IPAdapter_plus. It's this pack's replacement/ folder tripping ComfyUI Manager's conflict check; the README confirms JakeUpgrade never loads those files. Ignore it.
  • ComfyUI-MultiGPU. The README warns it causes CUDA errors on current ComfyUI - disable it if weird crashes start.
Category๐Ÿ‰ JK/๐Ÿ’Š LoRA

Inputs (29)

NameTypeDefaultDescription
input_modeCOMBOmodel_onlyLoRA application mode: model_only or advanced
lora_1BOOLEANfalseEnable/disable LoRA 1
lora_name_1COMBOSelect LoRA model 1
model_weight_1FLOAT1.00-10โ€“10Model weight for LoRA 1
clip_weight_1FLOAT1.00-10โ€“10CLIP weight for LoRA 1
lora_2BOOLEANfalseEnable/disable LoRA 2
lora_name_2COMBOSelect LoRA model 2
model_weight_2FLOAT1.00-10โ€“10Model weight for LoRA 2
clip_weight_2FLOAT1.00-10โ€“10CLIP weight for LoRA 2
lora_3BOOLEANfalseEnable/disable LoRA 3
lora_name_3COMBOSelect LoRA model 3
model_weight_3FLOAT1.00-10โ€“10Model weight for LoRA 3
clip_weight_3FLOAT1.00-10โ€“10CLIP weight for LoRA 3
lora_4BOOLEANfalseEnable/disable LoRA 4
lora_name_4COMBOSelect LoRA model 4
model_weight_4FLOAT1.00-10โ€“10Model weight for LoRA 4
clip_weight_4FLOAT1.00-10โ€“10CLIP weight for LoRA 4
lora_5BOOLEANfalseEnable/disable LoRA 5
lora_name_5COMBOSelect LoRA model 5
model_weight_5FLOAT1.00-10โ€“10Model weight for LoRA 5
clip_weight_5FLOAT1.00-10โ€“10CLIP weight for LoRA 5
lora_6BOOLEANfalseEnable/disable LoRA 6
lora_name_6COMBOSelect LoRA model 6
model_weight_6FLOAT1.00-10โ€“10Model weight for LoRA 6
clip_weight_6FLOAT1.00-10โ€“10CLIP weight for LoRA 6
save_hashBOOLEANfalseInclude hash in LoRA metadata
lora_stackoptLORA_STACKExisting LoRA stack to extend
lora_promptoptSTRINGExisting LoRA prompt to extend
lora_metadataoptSTRINGExisting LoRA metadata to extend

Outputs (3)

NameTypeDescription
LORA_STACKLORA_STACKโ€”
LORA_PROMPTSTRINGโ€”
LORA_MetaDataSTRINGโ€”