The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Remove comfy.samplers self-import (#6506)
catboxanonb1a02131c9ca
diff --git a/comfy/samplers.py b/comfy/samplers.pyindex c508a3a41..d281ecc19 100644--- a/comfy/samplers.py+++ b/comfy/samplers.py@@ -12,7 +12,6 @@ import collectionsfrom comfy import model_managementimport mathimport logging-import comfy.samplersimport comfy.sampler_helpersimport comfy.model_patcherimport comfy.patcher_extension@@ -178,7 +177,7 @@ def finalize_default_conds(model: 'BaseModel', hooked_to_run: dict[comfy.hooks.Hcond = default_conds[i]for x in cond:# do get_area_and_mult to get all the expected values- p = comfy.samplers.get_area_and_mult(x, x_in, timestep)+ p = get_area_and_mult(x, x_in, timestep)if p is None:continue# replace p's mult with calculated mult@@ -215,7 +214,7 @@ def _calc_cond_batch(model: 'BaseModel', conds: list[list[dict]], x_in: torch.Tedefault_c.append(x)has_default_conds = Truecontinue- p = comfy.samplers.get_area_and_mult(x, x_in, timestep)+ p = get_area_and_mult(x, x_in, timestep)if p is None:continueif p.hooks is not None: