Unverified Commit 03bf877b authored by Patrick von Platen's avatar Patrick von Platen Committed by GitHub
Browse files

[StableDiffusionInpaint] Correct test (#1859)

parent f2e521c4
...@@ -228,7 +228,6 @@ class StableDiffusionInpaintPipelineIntegrationTests(unittest.TestCase): ...@@ -228,7 +228,6 @@ class StableDiffusionInpaintPipelineIntegrationTests(unittest.TestCase):
model_id, model_id,
safety_checker=None, safety_checker=None,
scheduler=pndm, scheduler=pndm,
device_map="auto",
torch_dtype=torch.float16, torch_dtype=torch.float16,
) )
pipe.to(torch_device) pipe.to(torch_device)
...@@ -244,7 +243,7 @@ class StableDiffusionInpaintPipelineIntegrationTests(unittest.TestCase): ...@@ -244,7 +243,7 @@ class StableDiffusionInpaintPipelineIntegrationTests(unittest.TestCase):
image=init_image, image=init_image,
mask_image=mask_image, mask_image=mask_image,
generator=generator, generator=generator,
num_inference_steps=5, num_inference_steps=2,
output_type="np", output_type="np",
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment