Update nodes.py
This commit is contained in:
parent
f94cf43331
commit
78f9e7b896
2
nodes.py
2
nodes.py
@ -634,7 +634,7 @@ class MochiDecode:
|
||||
return torch.cat(result_rows, dim=3)
|
||||
|
||||
vae.to(device)
|
||||
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 and frame_batch_size > T:
|
||||
logging.warning(f"Frame batch size is larger than the number of samples, setting to {T}")
|
||||
frame_batch_size = T
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user