Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Reuse code.

comfyanonymous9424522ead16
diff --git a/comfy/model_base.py b/comfy/model_base.py
index a26b442b1..28458bbab 100644
--- a/comfy/model_base.py
+++ b/comfy/model_base.py
@@ -573,13 +573,8 @@ class SD3(BaseModel):
return kwargs["pooled_output"]
def extra_conds(self, **kwargs):
- out = {}
- adm = self.encode_adm(**kwargs)
- if adm is not None:
- out['y'] = comfy.conds.CONDRegular(adm)
-
+ out = super().extra_conds(**kwargs)
cross_attn = kwargs.get("cross_attn", None)
if cross_attn is not None:
out['c_crossattn'] = comfy.conds.CONDRegular(cross_attn)
return out
-