Visit ComfyUI Online for ready-to-use ComfyUI environment
Modify model's sigma values for AI sampling, enhancing output quality and control in AI-generated art.
The OCS ModelSetMaxSigma node is designed to modify a model's maximum and minimum sigma values, which are crucial parameters in the sampling process of AI models. This node allows you to set these sigma values to specific targets, either by recalculating them for accuracy or by simply multiplying the original values. By adjusting these parameters, you can influence the behavior of the model during the sampling phase, potentially improving the quality and characteristics of the generated outputs. This node is particularly useful for fine-tuning models to achieve desired effects in AI-generated art, providing greater control over the sampling process. It is important to note that this node should be connected to a scheduler node, such as BasicScheduler, rather than directly to a sampler node.
This parameter represents the model to be patched with the new minimum and maximum sigma values. It is essential to provide the correct model that you intend to modify, as the changes will directly affect its sampling behavior. The tooltip for this parameter is "Model to patch with the min/max sigmas."
The mode parameter determines the method used for setting the sigma values in the patched model. It can be set to either "recalculate" or "simple_multiply." The "recalculate" mode is generally more accurate as it recalculates the sigma values based on the original settings, while "simple_multiply" simply multiplies the original sigma values by a specified factor. The tooltip for this parameter is "Mode use for setting sigmas in the patched model. Recalculate should generally be more accurate."
This parameter allows you to set the maximum sigma value. If you use a negative value, it will be interpreted as the absolute value for the max sigma. If you use a positive value, it will be interpreted as a percentage (where 1.0 signifies 100%). The default value is -1.0, with a minimum of -10000.0 and a maximum of 10000.0. The tooltip for this parameter is "You can set the maximum sigma here. If you use a negative value, it will be interpreted as the absolute value for the max sigma. If you use a positive value it will be interpreted as a percentage (where 1.0 signified 100%). Schedules generated with the patched model should start from sigma_max (or close to it)."
This parameter allows you to set the minimum sigma value. If set to 0, it is disabled. If you use a negative value, it will be interpreted as the absolute value for the max sigma. If you use a positive value, it will be interpreted as a percentage (where 1.0 signifies 100%). The default value is 0.0, with a minimum of 0.0 and a maximum of 1000.0. The tooltip for this parameter is "You can set the minimum sigma here. Disabled if set to 0. If you use a negative value, it will be interpreted as the absolute value for the max sigma. If you use a positive value it will be interpreted as a percentage (where 1.0 signified 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)."
The output of this node is a patched model with the new sigma values applied. This patched model can be connected to a scheduler node, such as BasicScheduler, to influence the sampling process. It is generally not recommended to connect this output directly to a sampler node. The tooltip for this output is "Patched model. Can be connected to a scheduler node (i.e. BasicScheduler). Generally NOT recommended to connect to an actual sampler."
<=
min© Copyright 2024 RunComfy. All Rights Reserved.