AMD GPU安裝ROCM套件失敗 - Linux

Table of Contents

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是什麼東西,但還是無法解決問題

--

All Comments

Frederica avatarFrederica2020-03-16
你把兩道指令當成一行在跑 ...
Blanche avatarBlanche2020-03-17
wtf AMD 給的文件還真的一行
Heather avatarHeather2020-03-18
第一行指令只到 apt-key add -,從 echo 開始是另一道指
Connor avatarConnor2020-03-19
令。
Dorothy avatarDorothy2020-03-19
https://github.com/RadeonOpenCompute/ROCm
那個 pdf 大概是 README.md 直接轉的
Bethany avatarBethany2020-03-23
我也卡住放棄過 感覺有希望了來試試看QQ