作者mistel (Mistel)
看板Linux
标题[问题] AMD GPU安装ROCM套件失败
时间Fri Mar 13 18:10:42 2020
hi,想请问各位大大是否有在AMD GPU平台上跑深度学习的经验?
小弟目前卡死在安装ROCM这个套件, 我按照官方文件(如连结1)的步骤安装
$ wget -q0 – http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-k
ey add -echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial ma
in' | sudo tee /etc/apt/sources.list.d/rocm.list
检查过 etc/apt/sources.list.d这个路径下确实有rocm.list这个档案
$ sudo apt update
跳出错误讯息:
E: 未知的类型 'gpg',位於在来源列表 /etc/apt/sources.list.d/rocm.list 中的第 1
行
E: 无法读取来源列表。
我找过国内外的讨论,可惜对於这个平台的讨论真的匮乏的可怜, 只有一两篇相关...议题,
但完全没有帮助到...
我今天在这边花了整整一天还是毫无头绪, 请问有人可以帮我吗?
连结1:
[
https://github.com/RadeonOpenCompute/ROCm/blob/master/AMD_ROCm_QuickStart_Insta
llation_Guide_v3.1.pdf](
https://github.com/RadeonOpenCompute/ROCm/blob/master/AM
D_ROCm_QuickStart_Installation_Guide_v3.1.pdf)
p.s 在这个该文件这个步骤下说明:
The gpg key may change; ensure it is updated when installing a new release. If t
he key signature verification fails while updating, re-add the key from the ROCm
apt repository. The current rocm.gpg.key is not available in a standard key rin
g distribution, but has the following sha1sum hash: e85a40d1a43453fe37d63aa6899b
c96e08f2817a rocm.gpg.key
会跟这个有关吗?我有花时间看gpg是什麽东西,但还是无法解决问题
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 223.136.3.92 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Linux/M.1584094248.A.901.html
1F:推 Bencrie: 你把两道指令当成一行在跑 ...03/13 18:50
请问是 wget这边吗?
我还是不知道该怎麽做...
https://i.imgur.com/4tdAJJz.jpg
2F:推 Bencrie: wtf AMD 给的文件还真的一行03/13 19:21
※ 编辑: mistel (223.136.3.92 台湾), 03/13/2020 19:21:24
3F:→ Bencrie: 第一行指令只到 apt-key add -,从 echo 开始是另一道指 03/13 19:22
4F:→ Bencrie: 令。03/13 19:23
6F:→ Bencrie: 那个 pdf 大概是 README.md 直接转的03/13 19:24
乾乾乾 成功了,paf文件上竟然没有echo这东西
感谢B大 让我觉得今天好有希望QAQ
※ 编辑: mistel (223.136.3.92 台湾), 03/13/2020 19:30:55
7F:推 zazart: 我也卡住放弃过 感觉有希望了来试试看QQ 03/26 01:07