1/27/2024 0 Comments AmpliTube 5.7.1 free instalsNow the downloaded package installed for me with sudo dpkg -i rocm-llvm Great! Now, we install the possible dependencies we just added, and rocm-core5.1.1: sudo apt install libstdc++-10-dev libgcc-10-dev rocm-core5.1.1 Then repack: tar c postinst prerm control | xz -c > Īr rcs rocm-llvm5.1.1_1-48_b debian-binary I.e., add |libstdc++-10-dev and |libgcc-10-dev in the appropriate positions. In control, edit the Depends line to Depends: python3, libc6, libstdc++6|libstdc++8, libstdc++-5-dev|libstdc++-7-dev|libstdc++-10-dev, libgcc-5-dev|libgcc-7-dev|libgcc-10-dev, rocm-core5.1.1 So we unpack, unpack and edit (by I mean press Tab to autocomplete): ar x rocm-llvm We need to edit this package before it will install. deb file for the ROCm package: apt download rocm-llvm5.1.1 I used ROCm 5.1.1, so I used specifically echo 'deb ubuntu main' | sudo tee /etc/apt//rocm.list echo 'deb ubuntu main' | sudo tee /etc/apt//rocm.list The link is relative to the ROCm version to be installed, so look up the base URL here. Next, we add the desired ROCm repository. So: sudo add-apt-repository -yes ppa:deadsnakes/ppa Packages in the next steps require that we have also the older Python 3.8 installed. Search for linux-modules-extra and replace the entire function debian_build_package_list() with, on one line, function debian_build_package_list() Pop!_OS is not listed as supported by amdgpu-install, so we add it: Search for ubuntu, and add |pop to the list ( | reads "or"). We now have to edit amdgpu-install: sudo gedit /usr/bin/amdgpu-install deb file for amdgpu-install, and install it ( link gotten from AMD): sudo apt update Create a directory to work in: mkdir ~/ROCm & cd ~/ROCm Some places below, you must replace 5.1.1 with the version you want. See also that comment for reasons for some steps. I essentially followed this comment, with a bit of extras. I am now able to run PyTorch computations on my GPU, an AMD RX 6800 XT. Doing the following, I a least successfully installed ROCm 5.1.1 on the Ubuntu-based Pop!_OS 22.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |