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.

Fix issue with old pytorch RMSNorm. (#8095)

comfyanonymousa814f2e8ccf1
diff --git a/comfy/rmsnorm.py b/comfy/rmsnorm.py
index 9d82bee1a..66ae8321d 100644
--- a/comfy/rmsnorm.py
+++ b/comfy/rmsnorm.py
@@ -30,7 +30,7 @@ if RMSNorm is None:
def __init__(
self,
normalized_shape,
- eps=None,
+ eps=1e-6,
elementwise_affine=True,
device=None,
dtype=None,