THUDM / CogView3

text to image to generation: CogView3-Plus and CogView3(ECCV 2024)
Apache License 2.0
245 stars 13 forks source link

cannot import name 'CogView3PlusPipeline' from 'diffusers' #10

Open OhMyGod32 opened 1 month ago

OhMyGod32 commented 1 month ago

System Info / 系統信息

(E:\CogView3\venv) E:\CogView3>pip show diffusers Name: diffusers Version: 0.31.0.dev0 Summary: State-of-the-art diffusion in PyTorch and JAX. Home-page: https://github.com/huggingface/diffusers Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/diffusers/graphs/contributors) Author-email: diffusers@huggingface.co License: Apache 2.0 License Location: e:\cogview3\venv\lib\site-packages Requires: filelock, huggingface-hub, importlib-metadata, numpy, Pillow, regex, requests, safetensors Required-by:

win11 python3.10 cuda12.6 torch2.3.1

Information / 问题信息

Reproduction / 复现过程

Traceback (most recent call last): File "E:\CogView3\main.py", line 1, in from diffusers import CogView3PlusPipeline ImportError: cannot import name 'CogView3PlusPipeline' from 'diffusers' (E:\CogView3\venv\lib\site-packages\diffusers__init__.py) Press any key to continue . . .

Expected behavior / 期待表现

When I tried to run the official code, I encountered this error: Traceback (most recent call last): File "E:\CogView3\main.py", line 1, in from diffusers import CogView3PlusPipeline ImportError: cannot import name 'CogView3PlusPipeline' from 'diffusers' (E:\CogView3\venv\lib\site-packages\diffusers__init__.py)

zRzRzRzRzRzRzR commented 1 month ago

HF plans to merge this PR today

https://github.com/huggingface/diffusers/pull/9570

It seems that we still need to wait a little longer before we can proceed according to the readme