RUNLOCALAIv38
->Will it run?Best GPUCompareTroubleshootStartLearnPulseModelsHardwareToolsBench
Run check
RUNLOCALAI

Independently operated catalog for local-AI hardware and software. Hand-written verdicts. Source-cited claims. Reproducible commands when we have them.

OP·Fredoline Eruo
DIR
  • Models
  • Hardware
  • Tools
  • Benchmarks
TOOLS
  • Will it run?
  • Compare hardware
  • Cost vs cloud
  • Choose my GPU
  • Prompting kits
  • Quick answers
REF
  • All buyer guides
  • Learn local AI
  • Methodology
  • Glossary
  • Errors KB
  • Trust
EDITOR
  • About
  • Author
  • How we make money
  • Editorial policy
  • 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 →

© 2026 runlocalai.coIndependently operated
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 Jun 12, 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
  • ROCm: hipErrorInvalidDeviceFunction on RX 7000-series

Did this fix it?

If your case was different, email Contact support 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.