fix(framepack): decode tiny video without a second normalize

TAEHV.decode_video already returns [-1,1] and framepack applied its own x2-1 on
top, landing near [-3,1] where the worker documents [-1,1]. The path was
unreachable until the taesd loader began honoring an explicit variant.
This commit is contained in:
CalamitousFelicitousness
2026-08-18 21:45:08 +01:00
parent 7dc10e0b5f
commit 5deeeebbdc
+1 -1
View File
@@ -51,7 +51,7 @@ def vae_decode_tiny(latents):
taesd = taesd.to(device=devices.device, dtype=devices.dtype)
latents = latents.transpose(1, 2) # pipe produces NCTHW and tae wants NTCHW
images = taesd.decode_video(latents, parallel=False, show_progress_bar=False)
images = images.transpose(1, 2).mul_(2).sub_(1) # normalize
images = images.transpose(1, 2) # taehv decodes to [-1,1] already, which is the range the full vae path returns
taesd = taesd.to(device=devices.cpu, dtype=devices.dtype)
return images