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.

Set default context_img_len to 257

comfyanonymousdbcfd092a29c
diff --git a/comfy/ldm/wan/model.py b/comfy/ldm/wan/model.py
index 8907f70ad..2a30497c5 100644
--- a/comfy/ldm/wan/model.py
+++ b/comfy/ldm/wan/model.py
@@ -193,7 +193,7 @@ class WanAttentionBlock(nn.Module):
e,
freqs,
context,
- context_img_len=None,
+ context_img_len=257,
):
r"""
Args: