You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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):
Describe the bug/ 问题描述 (Mandatory / 必填)
![3 22ELL{D5XJ} U Y_~9I](https://private-user-images.githubusercontent.com/108987302/335192623-a7a0a704-a101-4368-b756-40d5858be5ee.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MzEzMTYsIm5iZiI6MTcxOTYzMTAxNiwicGF0aCI6Ii8xMDg5ODczMDIvMzM1MTkyNjIzLWE3YTBhNzA0LWExMDEtNDM2OC1iNzU2LTQwZDU4NThiZTVlZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyOVQwMzE2NTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01ODA2Y2FiZTc3MGYxNmUwNjY0N2VlMmMzZDI4MTg5OTVlNGEwOGEwM2YwNDg3MWQ0NzFmMjFiNjczZWQ2MGExJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.jFFHjV9ZWC6Tcm7xc3zn-QQP2LzpjQeFuFXa-lcvE74)
调用from mindnlp.modules import Accumulator,运行代码出现RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback)
Ascend
/GPU
/CPU
) / 硬件环境: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
):To Reproduce / 重现步骤 (Mandatory / 必填)
直接导入from mindnlp.modules import Accumulator,运行文件后便会出现该错误。
Expected behavior / 预期结果 (Mandatory / 必填)
可以正常使用Accumulator
Screenshots/ 日志 / 截图 (Mandatory / 必填)
![image](https://private-user-images.githubusercontent.com/108987302/335194295-37782e03-4648-4c0b-9c53-f4f5f368b31f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MzEzMTYsIm5iZiI6MTcxOTYzMTAxNiwicGF0aCI6Ii8xMDg5ODczMDIvMzM1MTk0Mjk1LTM3NzgyZTAzLTQ2NDgtNGMwYi05YzUzLWY0ZjVmMzY4YjMxZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyOVQwMzE2NTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ZDQ5YzlkNTQyN2UyMWRkYTczYzAyYjI0ZDUxNjMwMWZmMjEwMTdmOTM1YWQzNjgyOThiMzRhOTYxM2FhODE3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.mVFPlJhpCSuntAds-_-zfovqtcccFTSMpkbQGeZgrZ8)
Additional context / 备注 (Optional / 选填)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: