Closed 158zd closed 3 months ago
Diffusers package has moved unet_2d_blocks.py into the "diffusers/models/unets/" path instead of the former "diffusers/models/" path. Line 10 in "lib_layerdiffusion/models.py" should be changed from from diffusers.models.unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block
to from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block
.
Traceback (most recent call last): File "D:\ai\stable-diffusion-webui\ComfyUI\nodes.py", line 1864, in load_custom_node module_spec.loader.exec_module(module) File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\ai\stable-diffusion-webui\ComfyUI\custom_nodes\ComfyUI-layerdiffuse__init__.py", line 1, in
from .layered_diffusion import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "D:\ai\stable-diffusion-webui\ComfyUI\custom_nodes\ComfyUI-layerdiffuse\layered_diffusion.py", line 23, in
from .lib_layerdiffusion.models import TransparentVAEDecoder
File "D:\ai\stable-diffusion-webui\ComfyUI\custom_nodes\ComfyUI-layerdiffuse\lib_layerdiffusion\models.py", line 10, in
from diffusers.models.unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block
ModuleNotFoundError: No module named 'diffusers.models.unet_2d_blocks'
Same issue after installing diffusers