mindspore-lab / mindnlp

Easy-to-use and high-performance NLP and LLM framework based on MindSpore, compatible with models and datasets of 🤗Huggingface.
https://mindnlp.cqu.ai/
Apache License 2.0
729 stars 201 forks source link

调用Accumulator报RuntimeError #1130

Open FLoutione opened 6 months ago

FLoutione commented 6 months ago

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

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.

lvyufeng commented 5 months ago

换2.2.14试试