Skip to content

Commit

Permalink
fix(api): mark panorama outpainting tests as very slow, update refs
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jul 1, 2023
1 parent 2913cd0 commit f20afeb
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
4 changes: 2 additions & 2 deletions api/scripts/test-refs/blend-512-muffin-black-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions api/scripts/test-refs/blend-512-muffin-blend-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions api/scripts/test-refs/blend-512-muffin-white-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions api/scripts/test-refs/txt2img-sd-v1-5-512-muffin-heun-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions api/scripts/test-refs/upscale-resrgan-x4-tall-muffin-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions api/scripts/test-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

FAST_TEST = 20
SLOW_TEST = 50
VERY_SLOW_TEST = 100


def test_path(relpath: str) -> str:
Expand Down Expand Up @@ -225,7 +226,7 @@ def __init__(
),
source="txt2img-sd-v1-5-512-muffin-0",
mask="mask-black",
max_attempts=SLOW_TEST,
max_attempts=VERY_SLOW_TEST,
mse_threshold=0.025,
),
TestCase(
Expand All @@ -236,7 +237,7 @@ def __init__(
),
source="txt2img-sd-v1-5-512-muffin-0",
mask="mask-black",
max_attempts=SLOW_TEST,
max_attempts=VERY_SLOW_TEST,
mse_threshold=0.025,
),
TestCase(
Expand All @@ -247,7 +248,7 @@ def __init__(
),
source="txt2img-sd-v1-5-512-muffin-0",
mask="mask-black",
max_attempts=SLOW_TEST,
max_attempts=VERY_SLOW_TEST,
mse_threshold=0.025,
),
TestCase(
Expand Down Expand Up @@ -301,11 +302,13 @@ def __init__(
TestCase(
"txt2img-panorama-1024x768-muffin",
"txt2img?prompt=a+giant+muffin&seed=0&scheduler=ddim&width=1024&height=768&pipeline=panorama&tiledVAE=true",
max_attempts=VERY_SLOW_TEST,
),
TestCase(
"img2img-panorama-1024x768-pumpkin",
"img2img?prompt=a+giant+pumpkin&seed=0&scheduler=ddim&sourceFilter=none&pipeline=panorama&tiledVAE=true",
source="txt2img-panorama-1024x768-muffin-0",
max_attempts=VERY_SLOW_TEST,
),
TestCase(
"txt2img-sd-v1-5-tall-muffin",
Expand Down

0 comments on commit f20afeb

Please sign in to comment.