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.

By blepping·Created 2 years ago·Updated 25 days ago· 30
OCS ModelSetMaxSigma
  • model
  • MODEL
mode
sigma_max-1.00
fake_sigma_min0.00
Categoryhacks

Inputs (4)

NameTypeDefaultDescription
modelMODELModel to patch with the min/max sigmas.
modeCOMBOMode to use when setting sigmas in the patched model. Recalculate should generally be more accurate.
sigma_maxFLOAT-1.00-10000–10000You 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_minFLOAT0.000–1000You 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)

NameTypeDescription
MODELMODELPatched 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.