Skip to content

Commit e2773c6

Browse files
yiyixuxuyiyixuxu
andauthored
fix SDXL-kdiffusion tests (huggingface#6647)
🤞🤞🤞 Co-authored-by: yiyixuxu <yixu310@gmail,com>
1 parent ac61eef commit e2773c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_k_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_stable_diffusion_karras_sigmas(self):
9797

9898
assert image.shape == (1, 512, 512, 3)
9999
expected_slice = np.array(
100-
[0.9389532, 0.9408587, 0.9394901, 0.939082, 0.9402114, 0.9382007, 0.93737566, 0.9346897, 0.9324472]
100+
[0.9506951, 0.9527786, 0.95309967, 0.9511477, 0.952523, 0.9515326, 0.9511933, 0.9480397, 0.94930184]
101101
)
102102

103103
assert np.abs(image_slice.flatten() - expected_slice).max() < 1e-2

0 commit comments

Comments
 (0)