This commit is contained in:
Lincoln Stein 2023-08-20 15:27:51 -04:00
parent 8e6d88e98c
commit a536719fc3
2 changed files with 8 additions and 6 deletions

View File

@ -11,10 +11,11 @@ from .devices import ( # noqa: F401
torch_dtype, torch_dtype,
) )
from .log import write_log # noqa: F401 from .log import write_log # noqa: F401
from .util import (ask_user, from .util import (
download_with_resume, ask_user,
instantiate_from_config, download_with_resume,
url_attachment_name, instantiate_from_config,
Chdir, url_attachment_name,
) Chdir,
)
from .attention import auto_detect_slice_size from .attention import auto_detect_slice_size

View File

@ -7,6 +7,7 @@ from pathlib import Path
from invokeai.app.services.config import InvokeAIAppConfig from invokeai.app.services.config import InvokeAIAppConfig
@pytest.fixture @pytest.fixture
def patch_rootdir(tmp_path: Path, monkeypatch: Any) -> None: def patch_rootdir(tmp_path: Path, monkeypatch: Any) -> None:
"""This may be overkill since the current tests don't need the root dir to exist""" """This may be overkill since the current tests don't need the root dir to exist"""