随笔 - 11  文章 - 0  评论 - 0  阅读 - 2820

Jetson配置pytorch出现的问题

由于无法安装Anaconda因此使用miniforge进行虚拟环境搭建,具体方法参照:

 

几个重要网站

Jetson Zoo - eLinux.org  包含深度学习需要的下载资源配置

 

安装pytorch后进行验证:

1 import torch
2 
3 def SettingTest():
4     print(torch.__version__)
5     print(torch.cuda.is_available())
6 
7 if __name__ == '__main__':
8     SettingTest()

出现的报错:

process finished with exit code 132 (interrupted by signal 4 sigill) 

解决方法参照:解决英伟达Jetson平台使用Python时的出现“Illegal instruction(cpre dumped)”错误_小宋是呢的博客-CSDN博客

即在~/.bashrc中加入 export OPENBLAS_CORETYPE=ARMV8

 

posted on   Isaac0617  阅读(50)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 2025年我用 Compose 写了一个 Todo App
· 张高兴的大模型开发实战:(一)使用 Selenium 进行网页爬虫
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示