ComfyUI Node
OCS ModelSetMaxSigma
Allows forcing a model's maximum and minumum sigmas to a specified value. You generally do NOT want to connect this to a sampler node. Connect it to a scheduler node (i.e. BasicScheduler) instead.
OCS ModelSetMaxSigma
- model
- MODEL
◄mode▾►
◄sigma_max-1.00►
◄fake_sigma_min0.00►
Categoryhacks
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | Model to patch with the min/max sigmas. | |
| mode | COMBO | Mode to use when setting sigmas in the patched model. Recalculate should generally be more accurate. | |
| sigma_max | FLOAT | -1.00-10000–10000 | You can set the maximum sigma here. If you use a positive value, it will be interpreted as the absolute value for the max sigma. If you use a negative value it will be interpreted as a percentage of the current value (where 1.0 signifies 100%). Schedules generated with the patched model should start from sigma_max (or close to it). |
| fake_sigma_min | FLOAT | 0.000–1000 | You can set the minimum sigma here. Disabled if set to 0. If you use a positive value, it will be interpreted as the absolute value for the max sigma. If you use a negative value it will be interpreted as a percentage of the current value (where 1.0 signifies 100%). Schedules generated with the patched model should end with [sigma_min, 0]. NOTE: May not work with some schedulers. I recommend leaving this at 0 unless you know you need it (and even then it may not work). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | Patched model. Can be connected to a scheduler node (i.e. BasicScheduler). Generally NOT recommended to connect to an actual sampler, the main use case is only for generating sigmas. |