执行python -c "import mindspore;mindspore.set_context(device_target='Ascend');mindspore.run_check()"报Too many open files
收藏回复举报
执行python -c "import mindspore;mindspore.set_context(device_target='Ascend');mindspore.run_check()"报Too many open files
t('forum.solved') 已解决
发表于2024-05-15 17:49:28
0 查看

尝试在310B4 npu上安装mindspore,安装帮助执行上述命令检查版本。

运行这个命令后,虽然得到预期的输出,

MindSpore version:  2.2.14 

The result of multiplication calculation is correct, MindSpore has been installed on platform [Ascend] successfully!

但引起系统hug主了,其他命令都报了Too many open files in system。Cancel这个python执行需要快一个小时系统才恢复。

mindspore运行对系统的ulimit有要求吗,另外对系统内存和其他资源是否有要求?

谢谢!

我要发帖子