InvokeAI/invokeai/backend/model_management/__init__.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
614 B
Python
Raw Normal View History

2023-03-03 06:02:00 +00:00
"""
2023-03-03 05:02:15 +00:00
Initialization file for invokeai.backend.model_management
2023-03-03 06:02:00 +00:00
"""
2023-08-18 15:18:46 +00:00
# This import must be first
from .model_manager import ModelManager, ModelInfo, AddModelResult, SchedulerPredictionType # noqa: F401 isort: split
2023-08-17 22:45:25 +00:00
from .lora import ModelPatcher, ONNXModelPatcher # noqa: F401
2023-08-18 15:18:46 +00:00
from .model_cache import ModelCache # noqa: F401
2023-08-17 22:45:25 +00:00
from .models import ( # noqa: F401
2023-07-28 13:46:44 +00:00
BaseModelType,
2023-08-18 15:18:46 +00:00
DuplicateModelException,
ModelNotFoundException,
2023-07-28 13:46:44 +00:00
ModelType,
ModelVariantType,
2023-08-18 15:18:46 +00:00
SubModelType,
2023-07-28 13:46:44 +00:00
)
2023-08-18 15:18:46 +00:00
# This import must be last
from .model_merge import ModelMerger, MergeInterpolationMethod # noqa: F401 isort: split