Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.44 KB

3.4-rocm.md

File metadata and controls

36 lines (26 loc) · 1.44 KB

rocm multi-version install

1.apt install rocm-installer.deb

sudo apt-get update
wget https://repo.radeon.com/amdgpu-install/5.4.2/ubuntu/focal/amdgpu-install_5.4.50402-1_all.deb #ubuntu20.04
sudo apt-get install ./amdgpu-install_5.4.50402-1_all.deb
sudo apt-get update
wget https://repo.radeon.com/amdgpu-install/5.4.2/ubuntu/jammy/amdgpu-install_5.4.50402-1_all.deb #ubuntu22.04
sudo apt-get install ./amdgpu-install_5.4.50402-1_all.deb
  • gpg added after installer installed

2.add sources below in /etc/apt/sources.list.d/rocm.list

#deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.4 focal main  
#deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.3 focal main
#deb [arch=amd64] https://repo.radeon.com/rocm/apt/5.0 ubuntu main
deb [arch=amd64] https://repo.radeon.com/rocm/apt/4.5.2 ubuntu main

3.with four sources above , you can install four different versions

sudo apt install
amdgpu-install --usecase=rocm --rocmrelease=4.5.2 #only add --rocmrelease=4.5.2(or 5.3.0) for multi-version installing, install-version match source-version
  • attention: single-version-install conflicts to multi-version-install