open-mmlab / mmagic

OpenMMLab Multimodal Advanced, Generative, and Intelligent Creation Toolbox. Unlock the magic 🪄: Generative-AI (AIGC), easy-to-use APIs, awsome model zoo, diffusion models, for text-to-image generation, image/video restoration/enhancement, etc.
https://mmagic.readthedocs.io/en/latest/
Apache License 2.0
6.95k stars 1.06k forks source link

[bugfix] No module named 'diffusers.models.unet_2d_condition' #2150

Open SolveProb opened 3 months ago

SolveProb commented 3 months ago

Motivation

bugfix for No module named 'diffusers.models.unet_2d_condition'

Modification

The latest version of diffusers has modified its file organization structure. Change import path for diffusers.

Checklist

Submitting this pull request means that,

Before PR:

After PR:

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.