Skip to content
Python

fixed diffusion forcing crash

DeepBeepMeep2e63277de774
diff --git a/models/wan/diffusion_forcing.py b/models/wan/diffusion_forcing.py
index 09d7315..dd8a1e0 100644
--- a/models/wan/diffusion_forcing.py
+++ b/models/wan/diffusion_forcing.py
@@ -87,6 +87,8 @@ class DTT2V:
self.scheduler = FlowUniPCMultistepScheduler()
+ self.model.apply_post_init_changes()
+
@property
def do_classifier_free_guidance(self) -> bool:
return self._guidance_scale > 1