Fix tea cache disabled with diffusion forcing

This commit is contained in:
deepbeepmeep 2025-07-04 13:19:02 +02:00 committed by GitHub
parent eb811e0c52
commit d8a829bab2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {