Changed model download from HF to fp16

This commit is contained in:
Jaret Burkett
2023-09-08 07:57:19 -06:00
parent ce4f9fe02a
commit cb91b0d6da

View File

@@ -208,7 +208,8 @@ class StableDiffusion:
device=self.device_torch, device=self.device_torch,
load_safety_checker=False, load_safety_checker=False,
requires_safety_checker=False, requires_safety_checker=False,
safety_checker=False safety_checker=False,
variant="fp16"
).to(self.device_torch) ).to(self.device_torch)
else: else:
pipe = pipln.from_single_file( pipe = pipln.from_single_file(