安装pytorch后报错非法指令Illegal instruction (core dumped)
来源:互联网 发布:js调用支付宝扫一扫 编辑:程序博客网 时间:2024/06/03 17:36
环境:
unbuntu 14.04
anaconda3
cuda:7.5
CPU:AMD安装方法:
根据官网:conda install pytorch torchvision -c soumith
报错
import torchx=torch.Tensor(5,3)print(x)Illegal instruction (core dumped)
一般来说,SIGILL 错误在binary 包含CPU不支持的指令时出现,因为官网上的安装方式是 binary,也就是说官方的binary和我的CPU(AMD而不是 intel)不匹配,需要从source安装,方法如下:
git clone 官方github地址
sudo conda uninstall pytorch torchvision -c soumith (根据安装时的指令)
- sudo python3 setup.py install
官方对此错误的解释:
reference
- https://discuss.pytorch.org/t/help-core-dumped-problem/100
- https://github.com/pytorch/pytorch/issues/535
阅读全文
0 0
- 安装pytorch后报错非法指令Illegal instruction (core dumped)
- illegal instruction非法指令的解决思路
- illegal instruction非法指令的解决思路
- illegal instruction非法指令的解决思路
- illegal instruction非法指令的解决思路
- centos 6.8 yum 无法正常使用: 报Illegal instruction (core dumped)
- ARM(S3C2440 )下解决的非法指令问题(Illegal instruction)
- illegal instruction非法指令Makefile设置CFLAGS = -march=armv6无效解决方法
- ARM(S3C2440 )下解决的非法指令问题(Illegal instruction)
- Illegal instruction
- illegal instruction
- illegal instruction错误
- Illegal instruction 原因
- Illegal instruction 出现原因
- Illegal instruction 的解决方法
- illegal instruction qt
- illegal instruction 解决办法
- Illegal Instruction小谈
- Spark成长之路(12)-Gradient Descent
- 工作记录----获取服务器时间
- 基于大数据分析的异常检测方法及其思路实例
- web自动化测试第10步:获取浏览器弹窗alert、自定义弹窗以及其操作
- Maps
- 安装pytorch后报错非法指令Illegal instruction (core dumped)
- shell中$(( ))、$( )与${ }的区别
- 欢迎使用CSDN-markdown编辑器
- 滥用GDI对象的ring0原语革命
- hdu6041仙人掌图
- Ajax怎么做跨域请求
- 写一个循环启动app的bat脚本辅助monkey测试
- R语言关于脚本文件的输入和输出 sink函数生动
- Java 序列化相关操作