From 38474c97974560b1f06d0472fe07d643890a5118 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 1 Mar 2024 13:05:16 +1100 Subject: [PATCH] fix(mm): use correct import path for ModelMixin --- invokeai/backend/model_manager/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/backend/model_manager/config.py b/invokeai/backend/model_manager/config.py index 2b2ceed42b..5768197931 100644 --- a/invokeai/backend/model_manager/config.py +++ b/invokeai/backend/model_manager/config.py @@ -25,7 +25,7 @@ from enum import Enum from typing import Literal, Optional, Type, Union import torch -from diffusers import ModelMixin +from diffusers.models.modeling_utils import ModelMixin from pydantic import BaseModel, ConfigDict, Discriminator, Field, Tag, TypeAdapter from typing_extensions import Annotated, Any, Dict