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 now unnecessary minimax memory workaround. (#16103)
comfyanonymous5c23fb7b6cb5
diff --git a/comfy/ldm/minimax/model.py b/comfy/ldm/minimax/model.pyindex 10170ce38..e2c0cdf0a 100644--- a/comfy/ldm/minimax/model.py+++ b/comfy/ldm/minimax/model.py@@ -188,7 +188,7 @@ class Attention(nn.Module):else:q = self.q_norm(q.view(s, self.heads, self.head_dim))k = self.k_norm(k.view(s, self.heads, self.head_dim))- v = v.clone()+q = AttentionTensorContainer(q.transpose(0, 1).unsqueeze(0))k = AttentionTensorContainer(k.transpose(0, 1).unsqueeze(0))v = AttentionTensorContainer(v.transpose(0, 1).unsqueeze(0))