[StableDiffusionInpaint] Correct test (#1859)

This commit is contained in:
Patrick von Platen 2022-12-29 14:47:56 +01:00 committed by GitHub
parent f2e521c499
commit 03bf877bf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -228,7 +228,6 @@ class StableDiffusionInpaintPipelineIntegrationTests(unittest.TestCase):
model_id,
safety_checker=None,
scheduler=pndm,
device_map="auto",
torch_dtype=torch.float16,
)
pipe.to(torch_device)
@ -244,7 +243,7 @@ class StableDiffusionInpaintPipelineIntegrationTests(unittest.TestCase):
image=init_image,
mask_image=mask_image,
generator=generator,
num_inference_steps=5,
num_inference_steps=2,
output_type="np",
)