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

调用Accumulator报RuntimeError #1130

Open
FLoutione opened this issue May 30, 2024 · 1 comment
Open

调用Accumulator报RuntimeError #1130

FLoutione opened this issue May 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@FLoutione
Copy link
Contributor

Describe the bug/ 问题描述 (Mandatory / 必填)
调用from mindnlp.modules import Accumulator,运行代码出现RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback)
3 22ELL{D5XJ} U Y_~9I

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

Please delete the backend not involved / 请删除不涉及的后端:
GPU

  • Software Environment / 软件环境 (Mandatory / 必填):
    -- MindSpore version (e.g., 1.7.0.Bxxx) :2.2.11
    -- Python version (e.g., Python 3.7.5) :python 3.9.18
    -- OS platform and distribution (e.g., Linux Ubuntu 16.04):Ubuntu 20.04.6 LTS
    -- GCC/Compiler version (if compiled from source):

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

Please delete the mode not involved / 请删除不涉及的模式:
/mode pynative

To Reproduce / 重现步骤 (Mandatory / 必填)
直接导入from mindnlp.modules import Accumulator,运行文件后便会出现该错误。

Expected behavior / 预期结果 (Mandatory / 必填)
可以正常使用Accumulator

Screenshots/ 日志 / 截图 (Mandatory / 必填)
image

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

@FLoutione FLoutione added the bug Something isn't working label May 30, 2024
@lvyufeng
Copy link
Collaborator

lvyufeng commented Jun 6, 2024

换2.2.14试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants