nsfwalex commited on
Commit
bd2dc5f
1 Parent(s): ee028b0

Update inference_manager.py

Browse files
Files changed (1) hide show
  1. 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.float16,
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)