Linux 6.10 Improves AMD ROCm Compute Support For “Small“ Ryzen APUs - Phoronix Forums
Install this version. Find when in tumbleweed
Install this version. Find when in tumbleweed
Latest (0.1.27) docker image with ROCm works for me on Ryzen 5600G with 8GB VRAM allocation. Prompt processing is 2x faster than with CPU. Generation runs at max speed even if CPU is busy running other processes. I am on Fedora 39. Container setup: HSA_OVERRIDE_GFX_VERSION=9.0.0
Use this to install ROCm on Tumbleweed. Does NOT talk about Pytorch, the tag is for completeness.
Try this to install ROCm v 4.something. Use Kernel up to 5.4 to be safe (5.4 started in 2020)
forum of DEBIAN TEAM WORKING ON ROCM PACKAGING
AMD's repo of Pytorch. This is the branch I succesfully built.
Install Pytorch on ROCm from AMD git repo. TRY THIS!!!
Describes flags that build PyTorch locally - maybe I should try that!!
This guy claims he got both gfx900 and gfx902 working. I asked to try my test.
Another attempt failed for me.
This site seems to claim there is a known fix. Looks like someone is fixing it???
Installing PyTorch for ROCm - this document claims gfx900 compatibility
Pytorch packages from AMD. Goes with amdgpu-install packages in https://repo.radeon.com/amdgpu-install/
Repo of rocm (amdgpu) packages from amd. The last version 4, 4.5.2 is under 21.40.2. Try to install with Kernel 5.4 (release 2020). Same packages under different old names are at https://repo.radeon.com/rocm/apt/
Suggested git-build of pytorch on gfx90c FAILED for me
LM Studio can be installed on Linux with APU or GPU (looks like it needs the AI CPU though??) and run LLM. Install on Laptop and test if it works.
Install PyTorch corresponding to rocm versions from Pytorch prebuild by AMD. Also has post-install validation
Test for PyTorch and ROCm after installing ROCm.
Top of the guide describing ROCm on Linux. There are 2 core approaches: Using RPM (Package manager), or using AMD installer. I should use Package manager. Also single-version vs. multi-version. I should use single-version, latest.
The links in “How to guide“ provide instructions that are hopeful. Maybe start with those instructions!
Another rocm installation claim on Opensuse. Interesting note: I realize this is a bit old, but you don't really need amdgpu from the repository: it comes for free with the kernel. amdgpu-dkms is only needed if you're stuck on an older kernel version and you can't upgrade for some reason. For example, Tumbleweed users will not need it..
This guy seems to claim ROCM can run on Tumbleweed using Distrobox. But what is distrobox?
This guy claims successful installation of ROCm on Ubuntu - this seems to be workable for Tumbleweed as well. See the comment “nav9 commented on Jul 16, 2023“
Train LLM on AMD APU. In this scenario, we’ll use an APU because most laptops with a Ryzen CPU include an iGPU; specifically, this post should work with iGPUs based on the “GCN 5.0” architecture, or “Vega” for friends. We’ll use an AMD Ryzen 2200G in this post, an entry-level processor equipped with 4C/4T and an integrated GPU.