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 code.
comfyanonymousa2448fc52701
diff --git a/comfy/ldm/wan/model.py b/comfy/ldm/wan/model.pyindex 9966b20a1..9b5e5332c 100644--- a/comfy/ldm/wan/model.py+++ b/comfy/ldm/wan/model.py@@ -424,12 +424,6 @@ class WanModel(torch.nn.Module):context_clip = self.img_emb(clip_fea) # bs x 257 x dimcontext = torch.concat([context_clip, context], dim=1)- # arguments- kwargs = dict(- e=e0,- freqs=freqs,- context=context)-patches_replace = transformer_options.get("patches_replace", {})blocks_replace = patches_replace.get("dit", {})for i, block in enumerate(self.blocks):