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 support for python 3.8.
comfyanonymousd6bbe8c40f28
diff --git a/comfy/conds.py b/comfy/conds.pyindex 660690af8..73be3b1e0 100644--- a/comfy/conds.py+++ b/comfy/conds.py@@ -46,7 +46,7 @@ class CONDCrossAttn(CONDRegular):if s1[0] != s2[0] or s1[2] != s2[2]: #these 2 cases should not happenreturn False- mult_min = lcm(s1[1], s2[1])+ mult_min = math.lcm(s1[1], s2[1])diff = mult_min // min(s1[1], s2[1])if diff > 4: #arbitrary limit on the padding because it's probably going to impact performance negatively if it's too muchreturn False@@ -57,7 +57,7 @@ class CONDCrossAttn(CONDRegular):crossattn_max_len = self.cond.shape[1]for x in others:c = x.cond- crossattn_max_len = lcm(crossattn_max_len, c.shape[1])+ crossattn_max_len = math.lcm(crossattn_max_len, c.shape[1])conds.append(c)out = []