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
88018fcf
Unverified
Commit
88018fcf
authored
Apr 24, 2024
by
Dhruv Nair
Committed by
GitHub
Apr 24, 2024
Browse files
Fix failing VAE tiling test (#7747)
update
parent
7404f1e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/pipelines/test_pipelines_common.py
tests/pipelines/test_pipelines_common.py
+1
-1
No files found.
tests/pipelines/test_pipelines_common.py
View file @
88018fcf
...
...
@@ -120,7 +120,7 @@ class SDFunctionTesterMixin:
inputs
[
"return_dict"
]
=
False
output_2
=
pipe
(
**
inputs
)[
0
]
assert
np
.
abs
(
output_2
-
output_1
).
max
()
<
5e-1
assert
np
.
abs
(
to_np
(
output_2
)
-
to_np
(
output_1
)
)
.
max
()
<
5e-1
# test that tiled decode works with various shapes
shapes
=
[(
1
,
4
,
73
,
97
),
(
1
,
4
,
97
,
73
),
(
1
,
4
,
49
,
65
),
(
1
,
4
,
65
,
49
)]
...
...
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