首页 > 其他分享 >【异常错误】so.11: undefined symbol: cublasLtHSHMatmulAlgoInit, version libcublasLt.so.11

【异常错误】so.11: undefined symbol: cublasLtHSHMatmulAlgoInit, version libcublasLt.so.11

时间:2024-06-23 15:30:34浏览次数:25  
标签:__ undefined lib anaconda3 symbol so.11 init mapengsen home

今天安装了一个新的conda环境,但是一开始运行就出现错误: 

Traceback (most recent call last):
  File "/home/mapengsen/anaconda3/envs/37/lib/python3.7/site-packages/torch/__init__.py", line 172, in _load_global_deps
    ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
  File "/home/mapengsen/anaconda3/envs/37/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /home/mapengsen/anaconda3/envs/37/lib/python3.7/site-packages/torch/lib/../../nvidia/cublas/lib/libcublas.so.11: undefined symbol: cublasLtHSHMatmulAlgoInit, version libcublasLt.so.11

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 1, in <module>
    import torch
  File "/home/mapengsen/anaconda3/envs/37/lib/python3.7/site-packages/torch/__init__.py", line 217, in <module>
    _load_global_deps()
  File "/home/mapengsen/anaconda3/envs/37/lib/python3.7/site-packages/torch/__init__.py", line 178, in _load_global_deps
    _preload_cuda_deps()
  File "/home/mapengsen/anaconda3/envs/37/lib/python3.7/site-packages/torch/__init__.py", line 158, in _preload_cuda_deps
    ctypes.CDLL(cublas_path)
  File "/home/mapengsen/anaconda3/envs/37/lib/python3.7/ctypes/__init__.py", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /home/mapengsen/anaconda3/envs/37/lib/python3.7/site-packages/nvidia/cublas/lib/libcublas.so.11: undefined symbol: cublasLtHSHMatmulAlgoInit, version libcublasLt.so.11

解决办法:

pip uninstall nvidia_cublas_cu11

python - What's means undefined symbol: cublasLtHSHMatmulAlgoInit, version libcublasLt.so.11 - Stack Overflow

标签:__,undefined,lib,anaconda3,symbol,so.11,init,mapengsen,home
From: https://blog.csdn.net/weixin_43135178/article/details/139886079

相关文章

  • Manifest V3 getBackgroundPage() 返回 undefined 或报错 You do not have a backgrou
    省流:无解了,老老实实 sendMessage罢这件事挺奇怪的,因为我看官方文档就是这么写的,也没什么特别说明,版本也是最新的,就挺奇怪的……在翻了一大圈,之后看到了这篇帖子:意思就是说,api已经不能用了,文档因为人手不够就没更新…… 此外还有一个 chrome.runtime.getBackgroundPage......
  • reason: '[<__NSDictionaryI setValue:forUndefinedKey this class is not key value
    崩溃之前的代码NSMutableDictionary*item=[NSMutableDictionarydictionaryWithDictionary:guaranteedModeDict];NSMutableDictionary*modelDict=item[MODEL];[modelDictsetValue:[[NSStringstringWithFormat:@"%f",minimoney]showShortPriceStri......
  • 基本数据类型 String,null 和 undefined,运算符,流程控制,JavaScript之数组,数组常用
    Ⅰ基本数据类型String【一】String类型String类型就是字符串类型【二】定义变量【1】常规变量var变量名="变量值";//一般用这种var变量名='变量值';不支持三引号【2】可以先声明不赋值先用varb;再对变量b赋值varb='6';【三】字符串的格式化输出语法......
  • vue3 + arcgis.js4.x---线段SimpleLineSymbol
    //polylineconstpolylineGraphic=newGraphic()polylineGraphic.geometry={type:'polyline',paths:[[117.227239,31.820586],[116.227239,33.820586]]}polylineGraphic.symbol=newSimpleLineSymbol({color:'#ff0000&#......
  • vue3 + arcgis.js4.x---面SimpleFillSymbol
    //polygonconstpolygonGraphic=newGraphic()polygonGraphic.geometry={type:'polygon',rings:[[117.227239,31.820586],[116.227239,33.820586],[117.227239,33.820586]]}polygonGraphic.symbol=newSimpleFillSymbol({......
  • null 和 undefined
    1995年JavaScript诞生时,最初像Java一样,只设置了null表示"无"。根据C语言的传统,null可以自动转为0。Number(null)//05+null//5上面代码中,null转为数字时,自动变成0。但是,JavaScript的设计者BrendanEich,觉得这样做还不够。首先,第一版的JavaScript里面,null就像在......
  • 百度 Apollo 使用 bazel 编译 C++ Boost 依赖出现 undefined reference to `boost::pyth
    CSDN搬家失败,手动导出markdown后再导入博客园因为一些原因,楼主想在Apollo自动驾驶框架里使用Boost.python工具来用C++调用Python,从网上找了个例子想编译下试试。C++代码如下(boost.python/EmbeddingPython-PythonWiki):#include<boost/python.hpp>usingnamesp......
  • iOS获取.ips文件并通过Xcode自带的symbolicatecrash解析
    文章讲述如下问题:1.如何获取.ips文件2.如何获取symbolicatecrash3.解析前的准备工作4.如何将.ips转为.crash文件5.如何使用symbolicatecrash解析.crash文件6.异常错误处理1.如何获取.ips文件?在iOS中,你可以通过几种方式找到应用程序的.ips文件,具体取决于你是在开发......
  • qt 使用windows 的USB库 hid.dll 报错 :undefined reference to `HidD_GetAttributes(v
     1、cmakeLists.txt文件引入相应的库: cmake_minimum_required(VERSION3.5)project(test1LANGUAGESCXX)file(GLOBSRC./*.cpp./*.h)add_executable(test1${SRC})include(GNUInstallDirs)target_link_libraries(${PROJECT_NAME}hidsetupapi)inst......
  • jmap使用报错Doesn't appear to be a HotSpot VM (could not find symbol "gHotSpotVM
    报错场景问题原因服务器上装了jdk,按理来说jmap是自带了的,可以直接使用,根据情况来看是装了jmap但是无法正常使用,推测是版本的问题导致解决方式指定jdk自带的jmap工具1.查看当前java的环境变量echo$JAVA_HOME2.配置jdk自带工具的环境变量exportPATH=$JAVA_HOME/bin:$P......