The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Make timestep ranges more usable on rectified flow models.
comfyanonymous1e21f4c14e6a
diff --git a/comfy/model_sampling.py b/comfy/model_sampling.pyindex 8b4e095d9..4370516b9 100644--- a/comfy/model_sampling.py+++ b/comfy/model_sampling.py@@ -243,7 +243,7 @@ class ModelSamplingDiscreteFlow(torch.nn.Module):return 1.0if percent >= 1.0:return 0.0- return 1.0 - percent+ return time_snr_shift(self.shift, 1.0 - percent)class StableCascadeSampling(ModelSamplingDiscrete):def __init__(self, model_config=None):@@ -336,4 +336,4 @@ class ModelSamplingFlux(torch.nn.Module):return 1.0if percent >= 1.0:return 0.0- return 1.0 - percent+ return flux_time_shift(self.shift, 1.0, 1.0 - percent)