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.
π§° 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)
| Name | Type | Default | Description |
|---|---|---|---|
| lora_name | STRING | Choose a registered LoRA file. The folder dropdown searches full paths across all registered LoRA subfolders. | |
| strength_model | FLOAT | 1.00-20β20 | Multiplier for the LoRA's diffusion-model changes. Zero leaves those weights unchanged; negative values reverse the adapter's direction. |
| strength_clip | FLOAT | 1.00-20β20 | Multiplier for the LoRA's supported text-encoder changes. Zero leaves the text encoder unchanged; negative values reverse those changes. |
| weight_format | COMBO | preserve | Storage precision or quantization for the result. Auto/Preserve keeps the source representation where supported. Converting to higher precision cannot recover information already lost. |
| modelopt | MODEL | Connected model to process, including its active patches and LoRAs. Takes precedence over a model-data handle or file source. | |
| clipopt | CLIP | Optional text encoder to include with the connected model. It must match the model architecture and selected component scope. | |
| vaeopt | VAE | Optional VAE to preserve with the connected model when the operation supports complete checkpoints. | |
| model_dataopt | RAY_MODEL_DATA | File or in-memory model result from another Model Tools node. Supports data-only processing without initializing inference components. | |
| pathopt | STRING | Existing source file or supported sharded model folder on the ComfyUI server. A connected live model or model-data handle takes precedence where available. | |
| lora_pathopt | STRING | Optional explicit LoRA file on the ComfyUI server, including sources outside the registered LoRA folders. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| model | MODEL | Native ComfyUI diffusion model. Inference components are initialized when this output is used; data-only workflows can use model_data instead. |
| clip | CLIP | Native text encoder when available in the source and enabled by the selected loading/component options; otherwise absent. |
| vae | VAE | Native VAE when available in the source and enabled by the selected loading/component options; otherwise absent. |
| model_data | RAY_MODEL_DATA | Model 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. |
| metadata | RAY_MODEL_METADATA | Structured metadata for the source or result, including operation information where applicable. |
| report | STRING | Readable inspection or operation report, including compatibility, format, processing, and saved-result information relevant to this operation. |