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
e2773c62
Unverified
Commit
e2773c62
authored
Jan 19, 2024
by
YiYi Xu
Committed by
GitHub
Jan 19, 2024
Browse files
fix SDXL-kdiffusion tests (#6647)
🤞
🤞
🤞
Co-authored-by:
yiyixuxu
<
yixu310@gmail,com
>
parent
ac61eefc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_k_diffusion.py
...able_diffusion_xl/test_stable_diffusion_xl_k_diffusion.py
+1
-1
No files found.
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_k_diffusion.py
View file @
e2773c62
...
...
@@ -97,7 +97,7 @@ class StableDiffusionXLKPipelineIntegrationTests(unittest.TestCase):
assert
image
.
shape
==
(
1
,
512
,
512
,
3
)
expected_slice
=
np
.
array
(
[
0.9
389532
,
0.9408587
,
0.9394901
,
0.939082
,
0.9402114
,
0.9382007
,
0.93737566
,
0.9
3468
97
,
0.9
324472
]
[
0.9
506951
,
0.9527786
,
0.95309967
,
0.9511477
,
0.952523
,
0.9515326
,
0.9511933
,
0.9
4803
97
,
0.9
4930184
]
)
assert
np
.
abs
(
image_slice
.
flatten
()
-
expected_slice
).
max
()
<
1e-2
...
...
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