2023-11-20 20:22:02 +00:00
|
|
|
# ruff: noqa: I001, F401
|
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
|
2024-02-10 22:27:57 +00:00
|
|
|
from .model_manager import AddModelResult, LoadedModelInfo, ModelManager, SchedulerPredictionType
|
2023-11-20 20:22:02 +00:00
|
|
|
from .lora import ModelPatcher, ONNXModelPatcher
|
|
|
|
from .model_cache import ModelCache
|
2023-11-20 20:14:07 +00:00
|
|
|
|
2023-11-20 20:22:02 +00:00
|
|
|
from .models import (
|
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-11-20 20:22:02 +00:00
|
|
|
|
|
|
|
# This import must be last
|
|
|
|
from .model_merge import MergeInterpolationMethod, ModelMerger
|