Skip to content

Commit

Permalink
tests: skip sde check during CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Feb 19, 2024
1 parent 2c8ebe2 commit 8d47c20
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tests/test_horde_samplers.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,15 @@ def test_samplers(

for img_filename, pil_image in images_to_compare:
logger.debug(f"Checking image {img_filename}")
assert check_single_inference_image_similarity(
img_filename,
pil_image,
)
if "sde" not in img_filename:
assert check_single_inference_image_similarity(
img_filename,
pil_image,
)
else:
logger.warning(
f"Skipping image similarity check for {img_filename} due to SDE samplers being non-deterministic.",
)

def test_slow_samplers(
self,
Expand Down

0 comments on commit 8d47c20

Please sign in to comment.