Spaces:
Runtime error
Runtime error
fix cpu debug
Browse files- 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="
|
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
|