mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-29 18:51:37 +00:00
Changed model download from HF to fp16
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user