ComfyUI Node
Model Merge by Depth
Blend two fine-tunes of the same model block by block: model A's share runs from `early` in the first blocks to `late` in the last, crossing over around `crossover`. Early blocks mostly set the layout, late ones the texture — for MOSS-Image try SFT as A (composition) and Base as B (realism).
Model Merge by Depth
- model_a
- model_b
- model
◄early1.00►
◄late0.00►
◄crossover21►
◄softness8►
CategoryNynxz/Model Merging
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| model_a | MODEL | The early blocks' model, e.g. MOSS SFT. | |
| model_b | MODEL | The late blocks' model, e.g. MOSS Base. | |
| early | FLOAT | 1.000–1 | Model A's share in the first blocks (1 = all A). |
| late | FLOAT | 0.000–1 | Model A's share in the last blocks (0 = all B). |
| crossover | INT | 210–200 | The block where the blend is halfway. MOSS has 42 blocks (0-41). |
| softness | INT | 80–100 | How many blocks either side the crossover takes. 0 = a hard cut. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| model | MODEL | — |