The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Cleanup.
comfyanonymous6fc5dbd52ab7
diff --git a/comfy/rmsnorm.py b/comfy/rmsnorm.pyindex 81b3e9062..77df44464 100644--- a/comfy/rmsnorm.py+++ b/comfy/rmsnorm.py@@ -27,17 +27,6 @@ def rms_norm(x, weight=None, eps=1e-6):if RMSNorm is None:class RMSNorm(torch.nn.Module):- def __init__(- self, dim: int, elementwise_affine: bool = False, eps: float = 1e-6, device=None, dtype=None, **kwargs- ):- super().__init__()- self.eps = eps- self.learnable_scale = elementwise_affine- if self.learnable_scale:- self.weight = torch.nn.Parameter(torch.empty(dim, device=device, dtype=dtype))- else:- self.register_parameter("weight", None)-def __init__(self,normalized_shape,diff --git a/comfy/text_encoders/long_clipl.py b/comfy/text_encoders/long_clipl.pyindex f9483b427..8d4c7619d 100644--- a/comfy/text_encoders/long_clipl.py+++ b/comfy/text_encoders/long_clipl.py@@ -1,5 +1,3 @@-from comfy import sd1_clip-import osdef model_options_long_clip(sd, tokenizer_data, model_options):