Update nodes.py

This commit is contained in:
kijai 2024-10-30 22:08:22 +02:00
parent d971a19410
commit ebd0f62d53

View File

@ -578,10 +578,9 @@ class MochiDecodeSpatialTiling:
B, C, T, H, W = samples.shape
vae.to(device)
decoded_list = []
with torch.autocast(mm.get_autocast_device(device), dtype=torch.bfloat16):
with torch.autocast(mm.get_autocast_device(device), dtype=vae.dtype):
if enable_vae_tiling:
from .mochi_preview.vae.model import apply_tiled