silveroxides 89f4def83e feat(cwb): preserve secondary-only layers
- build generic and LoRA worklists from the union of inputs
- copy single-source layers exactly and merge available providers
- keep logical LoRA groups canonical, atomic, and collision-safe
- retain mismatch, dtype, quantization, streaming, and OOM contracts
2026-08-02 20:26:41 +02:00
2026-08-02 18:12:01 +02:00
2025-12-18 21:22:10 +01:00
2025-03-12 10:41:58 +01:00
2026-07-31 05:55:30 +02:00
2026-05-25 14:25:00 +02:00

ComfyUI-ModelUtils

A collection of ComfyUI custom nodes for inspecting, modifying, merging, and creating model files. Supports Models, TextEncoders, LoRAs, Checkpoints, and Embeddings.

Features

  • MetaKeys – Inspect and display metadata and tensor keys from model files
  • RenameKeys – Batch rename tensor keys using pattern matching
  • PruneKeys – Remove unwanted layers/keys from models
  • Mergers – Combine 2 or 3 models with configurable blend modes and ratios
  • LoRA Extraction – Extract LoRA adapters from model pairs using various SVD rank selection methods (Fixed, Ratio, Quantile, Knee-detection, Frobenius-norm)

Example Workflows

Get Meta and Keys
📥 GetMetaAndkeys.json


LoRA Extraction Nodes
📥 LoRA_Extract_nodes.json


Merging Examples
📥 Merging_Examples.json


Rename Keys in Model
📥 RenameKeysInModel.json

Acknowledgements

The LoRA extraction functionality was inspired by and references the excellent work from:

License

See LICENSE for details.

S
Description
No description provided
Readme GPL-3.0
2.6 MiB
Languages
Python 100%