mindspore v2.3.1, cann version 8.0.RC2.beta1, npu-smi version 23.0.3.
从source安装的,编译完正常生成whl,然后验证的时候run python -c "import mindspore;mindspore.set_context(device_target='Ascend');mindspore.run_check()",报错,是执行了source set_env.sh的,所以应该不是这个问题,还有一个问题,我是非root安装的ascend-toolkit的,安装的路径是到${HOME}/Ascend。报错信息如下,请问大家这到底是什么问题啊,特别着急!!!!有没有好心的大哥帮忙跟进一下,一直source安装不成功。
[WARNING] GE_ADPT(3719259,ffffbab51020,python):2024-12-01-23:41:04.016.898 [mindspore/ccsrc/utils/dlopen_macro.h:82] DlsymAscend] Dynamically load symbol acltdtGetSliceInfoFromItem failed, result = /usr/local/Ascend/ascend-toolkit/latest/lib64/libacl_tdt_channel.so: undefined symbol: acltdtGetSliceInfoFromItem
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:05.252.184 [mindspore/run_check/_check_version.py:388] CheckFailed: /usr/local/Ascend/ascend-toolkit/latest/lib64/libascendalog.so: undefined symbol: DlogRecordForC
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:05.252.337 [mindspore/run_check/_check_version.py:389] MindSpore relies on whl packages of "te" and "hccl" in the "latest" folder of the Ascend AI software package (Ascend Data Center Solution). Please check whether they are installed correctly or not, refer to the match info on: https://www.mindspore.cn/install
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:06.479.269 [mindspore/run_check/_check_version.py:388] CheckFailed: /usr/local/Ascend/ascend-toolkit/latest/lib64/libascendalog.so: undefined symbol: DlogRecordForC
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:06.479.461 [mindspore/run_check/_check_version.py:389] MindSpore relies on whl packages of "te" and "hccl" in the "latest" folder of the Ascend AI software package (Ascend Data Center Solution). Please check whether they are installed correctly or not, refer to the match info on: https://www.mindspore.cn/install
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:06.485.943 [mindspore/run_check/_check_version.py:388] CheckFailed: /usr/local/Ascend/ascend-toolkit/latest/lib64/libascendalog.so: undefined symbol: DlogRecordForC
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:06.486.027 [mindspore/run_check/_check_version.py:389] MindSpore relies on whl packages of "te" and "hccl" in the "latest" folder of the Ascend AI software package (Ascend Data Center Solution). Please check whether they are installed correctly or not, refer to the match info on: https://www.mindspore.cn/install
MindSpore version: 2.3.1
MindSpore running check failed.
Initialize GE failed!
----------------------------------------------------
- Ascend Error Message:
----------------------------------------------------
EC0010: Failed to import Python module [AttributeError: /usr/local/Ascend/ascend-toolkit/latest/lib64/libascendalog.so: undefined symbol: DlogRecordForC.].
Solution: Check that all required components are properly installed and the specified Python path matches the Python installation directory. (If the path does not match the directory, run set_env.sh in the installation package.)
TraceBack (most recent call last):
AOE Failed to call InitCannKB
[GraphOpt][InitializeInner][InitTbeFunc] Failed to init tbe.[FUNC:InitializeInner][FILE:tbe_op_store_adapter.cc][LINE:1633]
[SubGraphOpt][PreCompileOp][InitAdapter] InitializeAdapter adapter [tbe_op_adapter] failed! Ret [4294967295][FUNC:InitializeAdapter][FILE:op_store_adapter_manager.cc][LINE:85]
[SubGraphOpt][PreCompileOp][Init] Initialize op store adapter failed, OpsStoreName[tbe-custom].[FUNC:Initialize][FILE:op_store_adapter_manager.cc][LINE:126]
[FusionMngr][Init] Op store adapter manager init failed.[FUNC:Initialize][FILE:fusion_manager.cc][LINE:123]
PluginManager InvokeAll failed.[FUNC:Initialize][FILE:ops_kernel_manager.cc][LINE:96]
OpsManager initialize failed.[FUNC:InnerInitialize][FILE:gelib.cc][LINE:239]
GELib::InnerInitialize failed.[FUNC:Initialize][FILE:gelib.cc][LINE:167]
(Please search "CANN Common Error Analysis" at https://www.mindspore.cn for error code description)
----------------------------------------------------
- C++ Call Stack: (For framework developers)
----------------------------------------------------
mindspore/ccsrc/plugin/device/ascend/hal/hardware/ge_device_context.cc:253 InitGe
malloc_consolidate(): invalid chunk size
Aborted (core dumped)
mindspore v2.3.1, cann version 8.0.RC2.beta1, npu-smi version 23.0.3.
从source安装的,编译完正常生成whl,然后验证的时候run python -c "import mindspore;mindspore.set_context(device_target='Ascend');mindspore.run_check()",报错,是执行了source set_env.sh的,所以应该不是这个问题,还有一个问题,我是非root安装的ascend-toolkit的,安装的路径是到${HOME}/Ascend。报错信息如下,请问大家这到底是什么问题啊,特别着急!!!!有没有好心的大哥帮忙跟进一下,一直source安装不成功。
[WARNING] GE_ADPT(3719259,ffffbab51020,python):2024-12-01-23:41:04.016.898 [mindspore/ccsrc/utils/dlopen_macro.h:82] DlsymAscend] Dynamically load symbol acltdtGetSliceInfoFromItem failed, result = /usr/local/Ascend/ascend-toolkit/latest/lib64/libacl_tdt_channel.so: undefined symbol: acltdtGetSliceInfoFromItem
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:05.252.184 [mindspore/run_check/_check_version.py:388] CheckFailed: /usr/local/Ascend/ascend-toolkit/latest/lib64/libascendalog.so: undefined symbol: DlogRecordForC
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:05.252.337 [mindspore/run_check/_check_version.py:389] MindSpore relies on whl packages of "te" and "hccl" in the "latest" folder of the Ascend AI software package (Ascend Data Center Solution). Please check whether they are installed correctly or not, refer to the match info on: https://www.mindspore.cn/install
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:06.479.269 [mindspore/run_check/_check_version.py:388] CheckFailed: /usr/local/Ascend/ascend-toolkit/latest/lib64/libascendalog.so: undefined symbol: DlogRecordForC
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:06.479.461 [mindspore/run_check/_check_version.py:389] MindSpore relies on whl packages of "te" and "hccl" in the "latest" folder of the Ascend AI software package (Ascend Data Center Solution). Please check whether they are installed correctly or not, refer to the match info on: https://www.mindspore.cn/install
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:06.485.943 [mindspore/run_check/_check_version.py:388] CheckFailed: /usr/local/Ascend/ascend-toolkit/latest/lib64/libascendalog.so: undefined symbol: DlogRecordForC
[ERROR] ME(3719259:281473814171680,MainProcess):2024-12-01-23:41:06.486.027 [mindspore/run_check/_check_version.py:389] MindSpore relies on whl packages of "te" and "hccl" in the "latest" folder of the Ascend AI software package (Ascend Data Center Solution). Please check whether they are installed correctly or not, refer to the match info on: https://www.mindspore.cn/install
MindSpore version: 2.3.1
MindSpore running check failed.
Initialize GE failed!
----------------------------------------------------
- Ascend Error Message:
----------------------------------------------------
EC0010: Failed to import Python module [AttributeError: /usr/local/Ascend/ascend-toolkit/latest/lib64/libascendalog.so: undefined symbol: DlogRecordForC.].
Solution: Check that all required components are properly installed and the specified Python path matches the Python installation directory. (If the path does not match the directory, run set_env.sh in the installation package.)
TraceBack (most recent call last):
AOE Failed to call InitCannKB
[GraphOpt][InitializeInner][InitTbeFunc] Failed to init tbe.[FUNC:InitializeInner][FILE:tbe_op_store_adapter.cc][LINE:1633]
[SubGraphOpt][PreCompileOp][InitAdapter] InitializeAdapter adapter [tbe_op_adapter] failed! Ret [4294967295][FUNC:InitializeAdapter][FILE:op_store_adapter_manager.cc][LINE:85]
[SubGraphOpt][PreCompileOp][Init] Initialize op store adapter failed, OpsStoreName[tbe-custom].[FUNC:Initialize][FILE:op_store_adapter_manager.cc][LINE:126]
[FusionMngr][Init] Op store adapter manager init failed.[FUNC:Initialize][FILE:fusion_manager.cc][LINE:123]
PluginManager InvokeAll failed.[FUNC:Initialize][FILE:ops_kernel_manager.cc][LINE:96]
OpsManager initialize failed.[FUNC:InnerInitialize][FILE:gelib.cc][LINE:239]
GELib::InnerInitialize failed.[FUNC:Initialize][FILE:gelib.cc][LINE:167]
(Please search "CANN Common Error Analysis" at https://www.mindspore.cn for error code description)
----------------------------------------------------
- C++ Call Stack: (For framework developers)
----------------------------------------------------
mindspore/ccsrc/plugin/device/ascend/hal/hardware/ge_device_context.cc:253 InitGe
malloc_consolidate(): invalid chunk size
Aborted (core dumped)