Fix check for making sure vae is on the right device.

This commit is contained in:
Jaret Burkett
2025-10-21 14:49:20 -06:00
parent 5123090f6c
commit ff14cd6343
5 changed files with 8 additions and 6 deletions

View File

@@ -1662,6 +1662,8 @@ class LatentCachingFileItemDTOMixin:
item["flip_x"] = True
if self.flip_y:
item["flip_y"] = True
if self.dataset_config.num_frames > 1:
item["num_frames"] = self.dataset_config.num_frames
return item
def get_latent_path(self: 'FileItemDTO', recalculate=False):