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
OpenDAS
diffusers
Commits
a7b9634e
Unverified
Commit
a7b9634e
authored
Jul 03, 2024
by
Aryan
Committed by
GitHub
Jul 03, 2024
Browse files
Fix minor bug in SD3 img2img test (#8779)
fix minor bug in sd3 img2img
parent
6b6b4bcf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
tests/pipelines/stable_diffusion_3/test_pipeline_stable_diffusion_3_img2img.py
...e_diffusion_3/test_pipeline_stable_diffusion_3_img2img.py
+0
-1
No files found.
tests/pipelines/stable_diffusion_3/test_pipeline_stable_diffusion_3_img2img.py
View file @
a7b9634e
...
...
@@ -108,7 +108,6 @@ class StableDiffusion3Img2ImgPipelineFastTests(PipelineLatentTesterMixin, unitte
def
get_dummy_inputs
(
self
,
device
,
seed
=
0
):
image
=
floats_tensor
((
1
,
3
,
32
,
32
),
rng
=
random
.
Random
(
seed
)).
to
(
device
)
image
=
image
/
2
+
0.5
if
str
(
device
).
startswith
(
"mps"
):
generator
=
torch
.
manual_seed
(
seed
)
else
:
...
...
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