Skip to content

Commit 22d039f

Browse files
authored
Merge branch 'main' into sayakpaul-patch-1
2 parents 6430b80 + 9f06a0d commit 22d039f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/lora/test_lora_layers_sd3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def test_sd3_img2img_lora(self):
177177

178178
image = pipe(**inputs).images[0]
179179
image_slice = image[0, -3:, -3:]
180-
expected_slice = np.array([0.5396, 0.5776, 0.7432, 0.5151, 0.5586, 0.7383, 0.5537, 0.5933, 0.7153])
180+
expected_slice = np.array([0.5649, 0.5405, 0.5488, 0.5688, 0.5449, 0.5513, 0.5337, 0.5107, 0.5059])
181181

182182
max_diff = numpy_cosine_similarity_distance(expected_slice.flatten(), image_slice.flatten())
183183

tests/quantization/bnb/test_mixed_int8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def test_quality(self):
372372
output_type="np",
373373
).images
374374
out_slice = output[0, -3:, -3:, -1].flatten()
375-
expected_slice = np.array([0.0376, 0.0359, 0.0015, 0.0449, 0.0479, 0.0098, 0.0083, 0.0295, 0.0295])
375+
expected_slice = np.array([0.0674, 0.0623, 0.0364, 0.0632, 0.0671, 0.0430, 0.0317, 0.0493, 0.0583])
376376

377377
max_diff = numpy_cosine_similarity_distance(expected_slice, out_slice)
378378
self.assertTrue(max_diff < 1e-2)

0 commit comments

Comments
 (0)