This commit is contained in:
logtd
2024-08-29 19:18:24 -06:00
parent 093ba38ab1
commit 9999d218e3
+6
View File
@@ -21,6 +21,12 @@ class InstanceConditioning:
self.load_device = comfy.model_management.get_torch_device()
self.offload_device = comfy.model_management.intermediate_device()
def loaded_size(self):
return 0
def current_loaded_device(self):
return comfy.model_management.intermediate_device()
def get_fusers_patch(self, latent_shape, idxs, device):
return FusersPatch(self.conds, self.fusers_list, self.positionnet, latent_shape, idxs, device)