CoreloneH commited on
Commit
3765927
·
1 Parent(s): 286a43b

fix cpu debug

Browse files
Files changed (1) hide show
  1. inference/pipeline.py +1 -1
inference/pipeline.py CHANGED
@@ -44,7 +44,7 @@ class RealCustomInferencePipeline:
44
  vae_config="ckpts/sdxl/vae/sdxl.json",
45
  vae_checkpoint="ckpts/sdxl/vae/sdxl-vae.pth",
46
  model_type="bf16",
47
- device="cuda",
48
  ):
49
  if model_type == "bf16":
50
  self.torch_dtype = torch.bfloat16
 
44
  vae_config="ckpts/sdxl/vae/sdxl.json",
45
  vae_checkpoint="ckpts/sdxl/vae/sdxl-vae.pth",
46
  model_type="bf16",
47
+ device="cpu",
48
  ):
49
  if model_type == "bf16":
50
  self.torch_dtype = torch.bfloat16