Nodes/Ray's Orenchi/🧰 Ray's Model Tools: LoRA Bake
ComfyUI Node

🧰 Ray's Model Tools: LoRA Bake

Bake a ComfyUI-supported LoRA into a new model, including convolution and adapter formats supported by ComfyUI. Input branches remain unchanged.

By MutantSparrowΒ·Created 4 months agoΒ·Updated 3 days agoΒ· 1
🧰 Ray's Model Tools: LoRA Bake
  • model
  • clip
  • vae
  • model_data
  • model
  • clip
  • vae
  • model_data
  • metadata
  • report
β—„lora_nameβ–Ί
β—„strength_model1.00β–Ί
β—„strength_clip1.00β–Ί
β—„weight_formatpreserveβ–Ί
β—„pathβ–Ί
β—„lora_pathβ–Ί
CategoryπŸ‘‘ Ray/🧰 Model Tools

Inputs (10)

NameTypeDefaultDescription
lora_nameSTRINGChoose a registered LoRA file. The folder dropdown searches full paths across all registered LoRA subfolders.
strength_modelFLOAT1.00-20–20Multiplier for the LoRA's diffusion-model changes. Zero leaves those weights unchanged; negative values reverse the adapter's direction.
strength_clipFLOAT1.00-20–20Multiplier for the LoRA's supported text-encoder changes. Zero leaves the text encoder unchanged; negative values reverse those changes.
weight_formatCOMBOpreserveStorage precision or quantization for the result. Auto/Preserve keeps the source representation where supported. Converting to higher precision cannot recover information already lost.
modeloptMODELConnected model to process, including its active patches and LoRAs. Takes precedence over a model-data handle or file source.
clipoptCLIPOptional text encoder to include with the connected model. It must match the model architecture and selected component scope.
vaeoptVAEOptional VAE to preserve with the connected model when the operation supports complete checkpoints.
model_dataoptRAY_MODEL_DATAFile or in-memory model result from another Model Tools node. Supports data-only processing without initializing inference components.
pathoptSTRINGExisting source file or supported sharded model folder on the ComfyUI server. A connected live model or model-data handle takes precedence where available.
lora_pathoptSTRINGOptional explicit LoRA file on the ComfyUI server, including sources outside the registered LoRA folders.

Outputs (6)

NameTypeDescription
modelMODELNative ComfyUI diffusion model. Inference components are initialized when this output is used; data-only workflows can use model_data instead.
clipCLIPNative text encoder when available in the source and enabled by the selected loading/component options; otherwise absent.
vaeVAENative VAE when available in the source and enabled by the selected loading/component options; otherwise absent.
model_dataRAY_MODEL_DATAModel Tools data handle for a source file or in-memory result. Connect it directly to compatible merge, conversion, inspection, or save nodes without an extra inference load.
metadataRAY_MODEL_METADATAStructured metadata for the source or result, including operation information where applicable.
reportSTRINGReadable inspection or operation report, including compatibility, format, processing, and saved-result information relevant to this operation.