Skip to content

Commit c091bce

Browse files
committed
print
1 parent a6f043a commit c091bce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/lora/test_lora_layers_sd3.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
require_peft_backend,
3737
require_torch_gpu,
3838
torch_device,
39+
print_tensor_test
40+
3941
)
4042

4143

@@ -177,6 +179,7 @@ def test_sd3_img2img_lora(self):
177179

178180
image = pipe(**inputs).images[0]
179181
image_slice = image[0, -3:, -3:]
182+
print_tensor_test(image_slice)
180183
expected_slice = np.array([0.5396, 0.5776, 0.7432, 0.5151, 0.5586, 0.7383, 0.5537, 0.5933, 0.7153])
181184

182185
max_diff = numpy_cosine_similarity_distance(expected_slice.flatten(), image_slice.flatten())

0 commit comments

Comments
 (0)