mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-04 14:16:57 +00:00
Fix tea cache disabled with diffusion forcing
This commit is contained in:
parent
eb811e0c52
commit
d8a829bab2
@ -334,7 +334,7 @@ class DTT2V:
|
||||
self.model.compute_teacache_threshold(self.model.cache_start_step, time_steps_comb, self.model.cache_multiplier)
|
||||
del time_steps_comb
|
||||
else:
|
||||
trans.enable_cache == None
|
||||
self.model.enable_cache = None
|
||||
from mmgp import offload
|
||||
freqs = get_rotary_pos_embed(latents.shape[1 :], enable_RIFLEx= False)
|
||||
kwrags = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user