Comment out xformers to see if that fixes script
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ pipe = StableDiffusionControlNetImg2ImgPipeline.from_pretrained(
|
|
41 |
safety_checker=None,
|
42 |
torch_dtype=torch.float16,
|
43 |
).to("cuda")
|
44 |
-
pipe.enable_xformers_memory_efficient_attention()
|
45 |
# pipe.controlnet = torch.nn.DataParallel(pipe.controlnet)
|
46 |
# pipe.unet = torch.nn.DataParallel(pipe.unet)
|
47 |
|
|
|
41 |
safety_checker=None,
|
42 |
torch_dtype=torch.float16,
|
43 |
).to("cuda")
|
44 |
+
# pipe.enable_xformers_memory_efficient_attention()
|
45 |
# pipe.controlnet = torch.nn.DataParallel(pipe.controlnet)
|
46 |
# pipe.unet = torch.nn.DataParallel(pipe.unet)
|
47 |
|