RUNLOCALAIv38
→WILL IT RUNBEST GPUCOMPARETROUBLESHOOTSTARTPULSEMODELSHARDWARETOOLSBENCH
RUNLOCALAI

Operator-grade instrument for local-AI hardware intelligence. Hand-written verdicts. Real benchmarks. Reproducible commands.

OP·Fredoline Eruo
DIR
  • Models
  • Hardware
  • Tools
  • Benchmarks
  • Will it run?
GUIDES
  • Best GPU
  • Best laptop
  • Best Mac
  • Best used GPU
  • Best budget GPU
  • Best GPU for Ollama
  • Best GPU for SD
  • AI PC build $2K
  • CUDA vs ROCm
  • 16 vs 24 GB
  • Compare hardware
  • Custom compare
REF
  • Systems
  • Ecosystem maps
  • Pillar guides
  • Methodology
  • Glossary
  • Errors KB
  • Troubleshooting
  • Resources
  • Public API
EDITOR
  • About
  • About the author
  • Changelog
  • Latest
  • Updates
  • Submit benchmark
  • Send feedback
  • Trust
  • Editorial policy
  • How we make money
  • Contact
LEGAL
  • Privacy
  • Terms
  • Sitemap
MAIL · MONTHLY DIGEST
Get monthly local AI changes
Monthly recap. No spam.
DISCLOSURE

Some links on this site are affiliate links (Amazon Associates and other first-class retailers). When you buy through them, we earn a small commission at no extra cost to you. Affiliate links do not influence our verdicts — there are cards we rate highly that we don't have affiliate relationships with, and cards that sell well that we refuse to recommend. Read more →

SYS · ONLINEUPTIME · 100%2026 · operator-owned
RUNLOCALAI · v38
Errors / ROCm / AMD / ROCm: HSA_STATUS_ERROR_INVALID_DEVICE — GPU not detected
ROCm / AMD

ROCm: HSA_STATUS_ERROR_INVALID_DEVICE — GPU not detected

HSA_STATUS_ERROR_INVALID_DEVICE or rocminfo shows no agents
By Fredoline Eruo · Last verified May 7, 2026

Cause

ROCm can't see your AMD GPU. Causes:

  • GPU not in the ROCm-supported list (Polaris/Vega: not supported in 2026 ROCm)
  • User not in render and video groups
  • amdgpu kernel module not loaded
  • Conflicting open-source vs proprietary AMD driver
  • Wrong ROCm version for your GPU (RX 7900 XTX needs ROCm 6.x)

Common mistake: trying ROCm on Windows. Linux has the supported path; Windows ROCm is improving but still trails.

Solution

1. Verify GPU is in the support matrix. rx-7900-xtx, mi300, mi250, w7900: yes. Polaris (RX 580 / Vega 64): no.

2. Verify kernel module:

lsmod | grep amdgpu
# Should show amdgpu loaded

3. Add yourself to render + video groups:

sudo usermod -a -G render,video $USER
# Log out and back in (or reboot)

4. Verify ROCm sees the GPU:

rocm-smi
rocminfo | grep "Marketing Name"

5. If still failing, reinstall ROCm cleanly:

sudo amdgpu-install --uninstall
sudo apt autoremove
# Reboot
sudo amdgpu-install -y --usecase=rocm

6. Test inference:

HSA_OVERRIDE_GFX_VERSION=11.0.0 python -c "import torch; print(torch.cuda.is_available())"
# True = ROCm is providing the CUDA-compat path

For full Linux + AMD setup, see Linux local AI guide.

Related errors

  • ROCm: HIP error: invalid device — no GPU detected
  • ROCm: HIP error: invalid device function

Did this fix it?

If your case was different, email support@runlocalai.co with what you saw and we'll update the page. If it worked but took different commands on your platform, we want to know that too.