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

This commit is contained in:
Jaret Burkett committed 2025-10-21 14:49:20 -06:00
1 parent 5123090f6c
commit ff14cd6343
5 files changed
+8 -6

No files matched your search

+2
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):