Update stablediffusionxl.py

This commit is contained in:
Believethehype
2023-12-08 09:47:47 +01:00
parent 65c8d1597e
commit 893c7e9e45

View File

@ -43,7 +43,7 @@ class StableDiffusionXL(Processor):
def process_data(self, ds_iter) -> dict:
self.device = "cuda" if torch.cuda.is_available() else "cpu"
self.variant = "fp16"
self.torch_d_type = torch.float32
self.torch_d_type = torch.float16
self.ds_iter = ds_iter
current_session_name = self.ds_iter.session_names[0]
self.current_session = self.ds_iter.sessions[current_session_name]['manager']