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 some useless imports
comfyanonymouscf5a211efc2c
diff --git a/comfy/cldm/cldm.py b/comfy/cldm/cldm.pyindex c75830aeb..8d14a6907 100644--- a/comfy/cldm/cldm.py+++ b/comfy/cldm/cldm.py@@ -1,7 +1,6 @@#taken from: https://github.com/lllyasviel/ControlNet#and modified-import einopsimport torchimport torch as thimport torch.nn as nn@@ -13,8 +12,6 @@ from ldm.modules.diffusionmodules.util import (timestep_embedding,)-from einops import rearrange, repeat-from torchvision.utils import make_gridfrom ldm.modules.attention import SpatialTransformerfrom ldm.modules.diffusionmodules.openaimodel import UNetModel, TimestepEmbedSequential, ResBlock, Downsample, AttentionBlockfrom ldm.models.diffusion.ddpm import LatentDiffusion