Support for the AMD RX 5500 XT in Ollama is limited and varies by operating system.
Linux (ROCm): The RX 5500 XT (gfx1012) is supported under AMD’s ROCm stack, which Ollama’s Linux build can leverage.
Windows: ROCm does not support the RX 5500 XT on Windows, so Ollama falls back to CPU-only execution.
Here’s an unofficial workaround you can try at your own risk:
First, confirm your GPU’s gfx id using clinfo.
For a Radeon RX 5500 XT, you’ll see something like gfx1012:xnack-. The xnack- (negative) designation is important.
Download the appropriate release from: https://github.com/likelovewant/ROCmLibs-for-gfx1103-AMD780M-APU/releases
For example: rocm.gfx1010-xnack-gfx1012-xnack-.for.hip6.4.2.7z
Ensure ollama is not running. Also, update Ollama to the latest version if updates are available.
Open File Explorer and navigate to: %AppData%\Local\Programs\Ollama\lib\ollama\rocm
Rename rocblas.dll to _rocblas.dll and replace it with the extracted rocblas.dll.
Navigate into the \rocblas folder, rename the existing library folder to _library, and replace it with the extracted library folder.
Restart Ollama and open Task Manager to monitor GPU utilization when loading models.
Okay, dive into Ollama. Keep the Task manager open to easily monitor/confirm the GPU is being utilised when interacting with any of the loaded models.
refs: