Skip to content

Commit b158432

Browse files
committed
print
1 parent 1b0ccec commit b158432

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/quantization/bnb/test_mixed_int8.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ def test_quality(self):
372372
output_type="np",
373373
).images
374374
out_slice = output[0, -3:, -3:, -1].flatten()
375+
from diffusers.utils.testing_utils import print_tensor_test
376+
print_tensor_test(out_slice)
375377
expected_slice = np.array([0.0376, 0.0359, 0.0015, 0.0449, 0.0479, 0.0098, 0.0083, 0.0295, 0.0295])
376378

377379
max_diff = numpy_cosine_similarity_distance(expected_slice, out_slice)

0 commit comments

Comments
 (0)