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
1 changed files with 2 additions and 1 deletions

View File

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