[FIX] The diffusion pipeline returned dtype error
#8
by
Pranavv
- opened
README.md
CHANGED
@@ -38,7 +38,7 @@ pipe = StableDiffusionControlNetImg2ImgPipeline.from_pretrained(
|
|
38 |
"runwayml/stable-diffusion-v1-5",
|
39 |
controlnet=controlnet,
|
40 |
safety_checker=None,
|
41 |
-
torch_dtype=torch.
|
42 |
)
|
43 |
|
44 |
pipe.enable_xformers_memory_efficient_attention()
|
|
|
38 |
"runwayml/stable-diffusion-v1-5",
|
39 |
controlnet=controlnet,
|
40 |
safety_checker=None,
|
41 |
+
torch_dtype=torch.float32
|
42 |
)
|
43 |
|
44 |
pipe.enable_xformers_memory_efficient_attention()
|