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 useless code.
comfyanonymous739b76630e02
diff --git a/comfy/cldm/mmdit.py b/comfy/cldm/mmdit.pyindex ee0282bc7..025c2fb5d 100644--- a/comfy/cldm/mmdit.py+++ b/comfy/cldm/mmdit.py@@ -56,15 +56,6 @@ class ControlNet(comfy.ldm.modules.diffusionmodules.mmdit.MMDiT):if context is not None:context = self.context_embedder(context)- if self.register_length > 0:- context = torch.cat(- (- repeat(self.register, "1 ... -> b ...", b=x.shape[0]),- default(context, torch.Tensor([]).type_as(x)),- ),- 1,- )-output = []blocks = len(self.joint_blocks)