ComfyUI Node
Lora Epoch Sweeper
Loads a range of one LoRA's epochs from a folder and outputs them as lists, so a single queue samples one image per epoch.
Lora Epoch Sweeper
- model
- clip
- model
- clip
- step_label
- lora_name
◄folder_path►
◄lora_basename►
◄start_step0►
◄end_step0►
◄step_interval0►
◄strength_model1.00►
◄strength_clip1.00►
◄include_basetrue►
◄max_count0►
Categoryloaders/LoraSweeper
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | Base diffusion model to apply each epoch to. | |
| folder_path | STRING | Absolute path to a folder of LoRA epochs (or a sub-folder name inside the loras dir). | |
| lora_basename | STRING | Which LoRA in the folder to sweep (substring of its name). Leave empty to auto-pick the LoRA with the most epochs. | |
| start_step | INT | 00–18446744073709550000 | Lowest training step to include (inclusive). |
| end_step | INT | 00–18446744073709550000 | Highest training step to include. 0 = no upper limit. |
| step_interval | INT | 00–18446744073709550000 | Thin the range to ~one checkpoint per this many training steps (e.g. 500). 0 = keep every epoch. |
| strength_model | FLOAT | 1.00-100–100 | — |
| strength_clip | FLOAT | 1.00-100–100 | — |
| clipopt | CLIP | Optional CLIP/text-encoder to also patch. | |
| include_baseopt | BOOLEAN | true | Also include the final, suffix-less .safetensors. |
| max_countopt | INT | 00–1000 | Cap the number of epochs swept. 0 = unlimited. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| model | MODEL | List of models, one per selected epoch. |
| clip | CLIP | List of CLIPs, one per selected epoch (passthrough if no clip given). |
| step_label | STRING | Training step of each epoch as a string ('final' for the suffix-less file). |
| lora_name | STRING | Filename (without extension) of each epoch. |