Update inference_manager.py
Browse files- inference_manager.py +2 -2
inference_manager.py
CHANGED
@@ -190,10 +190,10 @@ class InferenceManager:
|
|
190 |
ckpt_dir,
|
191 |
vae=vae,
|
192 |
#unet=unet,
|
193 |
-
torch_dtype=torch.
|
194 |
use_safetensors=True,
|
195 |
#variant="fp16",
|
196 |
-
custom_pipeline = "lpw_stable_diffusion_xl",
|
197 |
)
|
198 |
#pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
199 |
clip_skip = cfg.get("clip_skip", 1)
|
|
|
190 |
ckpt_dir,
|
191 |
vae=vae,
|
192 |
#unet=unet,
|
193 |
+
torch_dtype=torch.bfloat16,
|
194 |
use_safetensors=True,
|
195 |
#variant="fp16",
|
196 |
+
#custom_pipeline = "lpw_stable_diffusion_xl",
|
197 |
)
|
198 |
#pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
199 |
clip_skip = cfg.get("clip_skip", 1)
|