1. 程式人生 > 其它 >安裝華為軟體昇騰mindspore-gpu-1.9.0失敗記錄

安裝華為軟體昇騰mindspore-gpu-1.9.0失敗記錄

官網安裝地址:

https://www.mindspore.cn/install

PS: 不得不說華為的軟體是愈發的不好用了,這個mindspore老版本去年我是使用過的,安裝也是比較方便的,搞不清這優化來優化去咋變的這麼不好安裝了呢。

====================================

1. 首先選擇使用conda方式安裝:

官網給出的安裝命令:

conda install mindspore-gpu=1.9.0 cudatoolkit=11.1 -c mindspore -c conda-forge

執行測試程式碼:

python -c "import mindspore;mindspore.run_check()"

報錯:

[ERROR] ME(74920:140607147143488,MainProcess):2022-12-10-11:48:19.825.553 [mindspore/run_check/_check_version.py:194] Cuda ['10.1', '11.1', '11.6'] version(libcu*.so need by mindspore-gpu) is not found, please confirm that the path of cuda is set to the env LD_LIBRARY_PATH, or check whether the CUDA version in
wheel package and the CUDA runtime in current device matches, please refer to the installation guidelines: https://www.mindspore.cn/install [ERROR] ME(74920:140607147143488,MainProcess):2022-12-10-11:48:19.825.657 [mindspore/run_check/_check_version.py:194] Cuda ['10.1', '11.1', '11.6'] version(libcu*.so need by mindspore-gpu) is
not found, please confirm that the path of cuda is set to the env LD_LIBRARY_PATH, or check whether the CUDA version in wheel package and the CUDA runtime in current device matches, please refer to the installation guidelines: https://www.mindspore.cn/install [ERROR] ME(74920:140607147143488,MainProcess):2022-12-10-11:48:19.830.949 [mindspore/run_check/_check_version.py:194] Cuda ['10.1', '11.1', '11.6'] version(libcudnn*.so need by mindspore-gpu) is not found, please confirm that the path of cuda is set to the env LD_LIBRARY_PATH, or check whether the CUDA version in wheel package and the CUDA runtime in current device matches, please refer to the installation guidelines: https://www.mindspore.cn/install [ERROR] ME(74920:140607147143488,MainProcess):2022-12-10-11:48:19.831.029 [mindspore/run_check/_check_version.py:194] Cuda ['10.1', '11.1', '11.6'] version(libcudnn*.so need by mindspore-gpu) is not found, please confirm that the path of cuda is set to the env LD_LIBRARY_PATH, or check whether the CUDA version in wheel package and the CUDA runtime in current device matches, please refer to the installation guidelines: https://www.mindspore.cn/install [ERROR] ME(74920,7fe1a70ef140,python):2022-12-10-11:48:19.881.793 [mindspore/ccsrc/runtime/hardware/device_context_manager.cc:46] LoadDynamicLib] Load dynamic library libmindspore_gpu failed, returns [libcudnn.so.8: cannot open shared object file: No such file or directory]. MindSpore version: 1.9.0 MindSpore running check failed. Create device context failed, please make sure target device:GPU is available. ---------------------------------------------------- - C++ Call Stack: (For framework developers) ---------------------------------------------------- mindspore/ccsrc/runtime/hardware/device_context_manager.cc:208 GetOrCreateDeviceContext