Update nodes.py
This commit is contained in:
parent
d971a19410
commit
ebd0f62d53
3
nodes.py
3
nodes.py
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user