[Detector Support]: HIP error hipErrorInvalidDeviceFunction:invalid device function, how to solve? #19760
Replies: 1 comment
-
Your error Here are the key troubleshooting and requirements from the documentation:
Solution: For further ROCm and GPU compatibility information: 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Description:
I have an Ubuntu 24.04 LTS server with an AMD RX 5500 XT (gfx1030).
ROCm is installed and rocminfo correctly detects the GPU.
Running Frigate with the stable-rocm image and ONNX models (yolox_tiny.onnx and yolo11n.onnx) results in HIP errors:
hipErrorInvalidDeviceFunction
HIP failure 100: no ROCm-capable device is detected
I tried mapping /dev/kfd and /dev/dri/card1, but the kfd module does not exist in my kernel 6.8.0.
The ONNX models work on CPU but fail on GPU.
I suspect ONNX Runtime does not fully support the RX 5500 XT (gfx1030) with ROCm.
I want to run Frigate with GPU detection, but I'm unsure if it’s possible with my GPU.
What I’ve Tried:
Using HSA_OVERRIDE_GFX_VERSION=10.3.0 and TF_ROCM_USE_IMMEDIATE_MODE=1.
Checking /dev/dri/ and /dev/kfd devices and mapping to the correct GPU.
Testing different ONNX models.
Goal:
Run Frigate with stable ONNX detection.
Version
0.16.0-c2f8de9
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Install method
Docker Compose
Object Detector
Other
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions