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 ddim work with --cpu
comfyanonymous7f0fd99b5d2f
diff --git a/comfy/samplers.py b/comfy/samplers.pyindex bf4f1796b..17201d9dc 100644--- a/comfy/samplers.py+++ b/comfy/samplers.py@@ -450,7 +450,7 @@ class KSampler:noise_mask = Noneif denoise_mask is not None:noise_mask = 1.0 - denoise_mask- sampler = DDIMSampler(self.model)+ sampler = DDIMSampler(self.model, device=self.device)sampler.make_schedule_timesteps(ddim_timesteps=timesteps, verbose=False)z_enc = sampler.stochastic_encode(latent_image, torch.tensor([len(timesteps) - 1] * noise.shape[0]).to(self.device), noise=noise, max_denoise=max_denoise)samples, _ = sampler.sample_custom(ddim_timesteps=timesteps,