Fix audio issues with ltx2 models. Silent codec fails now raised. Auto convert surround sound audio to stereo. Invalidate old caches just to be safe so they recache now.

This commit is contained in:
Jaret Burkett
2026-03-23 20:08:33 +00:00
parent 561e6f201c
commit 5642b656b9
8 changed files with 36 additions and 10 deletions

View File

@@ -233,6 +233,9 @@ class StableDiffusion:
# some llms need left side padding, others need right side
self.te_padding_side = "right"
# can be used on models to invalidate cache if things change.
self.latent_space_version = None
# properties for old arch for backwards compatibility
@property
def is_xl(self):