portu-sim / comfyui_bmab

BMAB for ComfyUI
GNU Affero General Public License v3.0
93 stars 7 forks source link

No module named 'diffusers.models.model_loading_utils' #42

Open Garin2-colab opened 1 month ago

Garin2-colab commented 1 month ago

Hi I'm getting this error since the update.

Traceback (most recent call last): File "C:\AI\StabilityMatrix\Data\Packages\ComfyUI\nodes.py", line 1998, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "C:\AI\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes\comfyui_bmab__init__.py", line 6, in from bmab import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "C:\AI\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes\comfyui_bmab\bmab__init.py", line 1, in from bmab import nodes, serverext File "C:\AI\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes\comfyui_bmab\bmab\nodes\init__.py", line 20, in from .fill import BMABInpaint, BMABOutpaintByRatio, BMABReframe File "C:\AI\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes\comfyui_bmab\bmab\nodes\fill.py", line 4, in from diffusers.models.model_loading_utils import load_state_dict ModuleNotFoundError: No module named 'diffusers.models.model_loading_utils'

Cannot import C:\AI\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes\comfyui_bmab module for custom nodes: No module named 'diffusers.models.model_loading_utils'

xujiamingtxwd123 commented 1 month ago

the same problem

portu-sim commented 1 month ago

please. update diffusers, pip uninstall diffusers pip install diffusers