Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 2 tasks
OhMyGod32 opened this issue Oct 14, 2024 · 1 comment
Open
1 of 2 tasks

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

OhMyGod32 opened this issue Oct 14, 2024 · 1 comment
Assignees

Comments

@OhMyGod32
Copy link

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: [email protected]
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 / 问题信息

  • The official example scripts / 官方的示例脚本
  • My own modified scripts / 我自己修改的脚本和任务

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 zRzRzRzRzRzRzR self-assigned this Oct 14, 2024
@zRzRzRzRzRzRzR
Copy link
Member

zRzRzRzRzRzRzR commented Oct 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants