defget_sigmas(self,model,scheduler,steps,step_to_multiply,multiplier): sigmas=comfy.samplers.calculate_sigmas_scheduler(model.model,"sgm_uniform",steps).cpu() return(sigmas, ) classSamplerLCMAlternative: @classmethod defINPUT_TYPES(s):
UI to the Custom Sampler category. SamplerLCMAlternative, SamplerLCMCycle and LCMScheduler (just to save a few clicks, as you could also use the BasicScheduler and choose smg_uniform). Just clone it into your custom_nodes folder and you can start using it as soon as you restart ComfyUI....
x += sigmas[i + 1] * noise return x @@ -66,8 +86,27 @@ def get_sampler(self, euler_steps, ancestral): sampler = comfy.samplers.KSAMPLER(sample_lcm_alt, extra_options={"euler_steps": euler_steps, "ancestral": ancestral}) return (sampler, ) class SamplerLCMCycle: @classmethod ...