Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
03bf877b
Unverified
Commit
03bf877b
authored
Dec 29, 2022
by
Patrick von Platen
Committed by
GitHub
Dec 29, 2022
Browse files
[StableDiffusionInpaint] Correct test (#1859)
parent
f2e521c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
tests/pipelines/stable_diffusion_2/test_stable_diffusion_inpaint.py
...lines/stable_diffusion_2/test_stable_diffusion_inpaint.py
+1
-2
No files found.
tests/pipelines/stable_diffusion_2/test_stable_diffusion_inpaint.py
View file @
03bf877b
...
@@ -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"
,
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment