gpt4 book ai didi

python - Centos 6.6 上的 mxnet 安装错误

转载 作者:行者123 更新时间:2023-12-04 19:43:48 26 4
gpt4 key购买 nike

我在 GPU 服务器上使用 Centos 6.6。我按照说明安装了 mxnet here .一切正常,直到我尝试测试安装。我运行以下命令:

python
>> import mxnet

然后我得到错误说
Check failed: e == fmap_.at(alias) (0x10fc620 vs. 0x103adf0) Entry add_n already registered under different entry

完整的错误信息如下:
[16:38:16] /home/mypath/software/try_mxnet/mxnet/dmlc-core/include/dmlc/./logging.h:300: [16:38:16] /home/mypath/software/try_mxnet/mxnet/dmlc-core/include/dmlc/registry.h:66: Check failed: e == fmap_.at(alias) (0x10fc620 vs. 0x103adf0) Entry add_n already registered under different entry

Stack trace returned 4 entries:
[bt] (0) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(ZN4dmlc8RegistryIN4nnvm2OpEE8AddAliasERKSsS5+0x79b) [0x7fa4c820635b]
[bt] (1) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(_ZN4nnvm2Op9add_aliasERKSs+0x1f) [0x7fa4c820493f]
[bt] (2) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0xb3cea9) [0x7fa4c7073ea9]
[bt] (3) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0x1cff226) [0x7fa4c8236226]

terminate called after throwing an instance of 'dmlc::Error'
what(): [16:38:16] /home/mypath/software/try_mxnet/mxnet/dmlc-core/include/dmlc/registry.h:66: Check failed: e == fmap_.at(alias) (0x10fc620 vs. 0x103adf0) Entry add_n already registered under different entry

Stack trace returned 4 entries:
[bt] (0) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(ZN4dmlc8RegistryIN4nnvm2OpEE8AddAliasERKSsS5+0x79b) [0x7fa4c820635b]
[bt] (1) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(_ZN4nnvm2Op9add_aliasERKSs+0x1f) [0x7fa4c820493f]
[bt] (2) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0xb3cea9) [0x7fa4c7073ea9]
[bt] (3) /home/mypath/anaconda2/lib/python2.7/site-packages/mxnet-0.9.4-py2.7.egg/mxnet/libmxnet.so(+0x1cff226) [0x7fa4c8236226]

Aborted

我不知道我的安装有什么问题。服务器有 2 x Nvidia Tesla K80 和 128 GB 内存,它应该足够强大。我希望有人可以给我一些帮助。非常感谢!!!

最佳答案

正如 lynguyen 所回答的,这里已进行了修复:github.com/dmlc/mxnet/issues/5255

我已经测试了该解决方案,它对我有用。我正在使用 gcc-4.8.5,也许是导致此问题的 gcc 版本。
谢谢!

关于python - Centos 6.6 上的 mxnet 安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42611245/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com