Skip to content

[Bug]按照readme的写法没有出代码补全,尝试运行脚本显示diffusers相关接口名错 #2239

@ShangJingLi

Description

@ShangJingLi

Describe the bug/ 问题描述 (Mandatory / 必填)
按照readme这样写代码补全没出来,不知道是因为重构之后这些接口是否已经废弃

Image Image Image

运行这脚本会报错,尝试升级diffusers显示requiremnets全部ready,应该不是版本过旧的问题,是不是过新不清楚:

Image
  • Hardware Environment(Ascend/GPU/CPU) / 硬件环境:
    GPU

  • Software Environment / 软件环境 (Mandatory / 必填):
    -- MindSpore version (2.7.0 :
    -- Python version (3.11.11) :
    -- OS platform and distribution (Linux Ubuntu 22.04):
    -- GCC/Compiler version (if compiled from source):

  • Excute Mode / 执行模式 (Mandatory / 必填)(PyNative/Graph):

Please delete the mode not involved / 请删除不涉及的模式:
不知道哪个,默认的,导入库的问题应该跟环境没关系

To Reproduce / 重现步骤 (Mandatory / 必填)
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior / 预期结果 (Mandatory / 必填)
A clear and concise description of what you expected to happen.

Screenshots/ 日志 / 截图 (Mandatory / 必填)
If applicable, add screenshots to help explain your problem.

Additional context / 备注 (Optional / 选填)
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions