Skip to content

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

@OhMyGod32

Description

@OhMyGod32

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)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions