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.

Remove useless function.

comfyanonymous095d8671476e
diff --git a/comfy/model_base.py b/comfy/model_base.py
index 4d1b83a4a..98f462b32 100644
--- a/comfy/model_base.py
+++ b/comfy/model_base.py
@@ -166,9 +166,6 @@ class BaseModel(torch.nn.Module):
def get_dtype(self):
return self.diffusion_model.dtype
- def is_adm(self):
- return self.adm_channels > 0
-
def encode_adm(self, **kwargs):
return None