From 8aebc29b91d0723848aafe04b2f84ff015e42ade Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Fri, 17 May 2024 22:48:54 -0400 Subject: [PATCH] fix test to run on 32bit cpu --- tests/app/services/model_load/test_load_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/app/services/model_load/test_load_api.py b/tests/app/services/model_load/test_load_api.py index bd3a67a894..57d0fed341 100644 --- a/tests/app/services/model_load/test_load_api.py +++ b/tests/app/services/model_load/test_load_api.py @@ -79,4 +79,4 @@ def test_download_diffusers(mock_context: InvocationContext) -> None: def test_download_diffusers_subfolder(mock_context: InvocationContext) -> None: model_path = mock_context.models.download_and_cache_model("stabilityai/sdxl-turbo::vae") assert model_path.is_dir() - assert (model_path / "diffusion_pytorch_model.fp16.safetensors").exists() + assert (model_path / "diffusion_pytorch_model.fp16.safetensors").exists() or (model_path / "diffusion_pytorch_model.safetensors").exists()