Fix CQ tests (#141)

* Make test client run on cpu

* test on cpu

try fix device

try fix device

try fix device

* Use real SD1.5 model for testing

* ckpt nits

* Remove coverage calls
This commit is contained in:
Chenlei Hu
2024-02-09 21:33:05 +00:00
committed by GitHub
parent 472a510151
commit ac4a8820a5
6 changed files with 89 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ def pytest_configure(config):
# We don't want to fail on Py.test command line arguments being
# parsed by webui:
os.environ.setdefault("IGNORE_CMD_ARGS_ERRORS", "1")
os.environ.setdefault("FORGE_CQ_TEST", "1")
def file_to_base64(filename):