Replies: 22 comments 80 replies
-
There was another user who posted recently about using openvino on AMD CPUs. Did you try this? How does it compare? |
Beta Was this translation helpful? Give feedback.
-
Haven't run it with frigate but standalone performance for inference only, yolov8n_320x320 compares about like this for my system:
With yolov8s_320x320 the difference is 65 fps (GPU) vs 50 fps (CPU), with same resource usage. I suspect higher GPU performance would be possible if multiple images were chained together into the processing queue. Another interesting thing would be to measure power usage, but I don't have equipment at hand for that at this moment. |
Beta Was this translation helpful? Give feedback.
-
Having run it for a few days now I have to say it looks really good. For one the performance is nice. Another thing is that with the ultralytics' yolov8s pretrained model I'm getting almost no false positives. While the Coral based default model got me 20-30 false positives every day, I've got 0 (zero) false positives so far with yolov8s. And plenty of true positives. I'm very happy. This is now a usable system. I also implemented a CPU version of the detector using the |
Beta Was this translation helpful? Give feedback.
-
They indeed are. Take a look at my post. With Ryzen 7940HS (Minisforum UM790 pro), I get inference speed of 3.3ms!! That too with CPU itself, not the TPU. |
Beta Was this translation helpful? Give feedback.
-
@adarshahd |
Beta Was this translation helpful? Give feedback.
-
I tried this with a different chipset as in the docs:
I get errors when starting:
Is this because my chipset isn't supported? |
Beta Was this translation helpful? Give feedback.
-
hi, |
Beta Was this translation helpful? Give feedback.
-
I see lots of stuff has been merged, but I can't seem to pull |
Beta Was this translation helpful? Give feedback.
-
I'm just writing to thank you so much @harakas ! I just tested on my Unraid with the docker ghcr.io/harakas/frigate:latest-rocm-gfx900 you provided to test on my 5700G and it worked flawless! Previously had to disable the detection but now it works perfectly. Below the config I'm using: `mqtt: ffmpeg: cameras: Dahua2: Doorbell: record: detect: model: detectors: objects: birdseye: |
Beta Was this translation helpful? Give feedback.
-
@harakas model name : AMD Ryzen 7 8845HS w/ Radeon 780M Graphics
|
Beta Was this translation helpful? Give feedback.
-
@harakas
|
Beta Was this translation helpful? Give feedback.
-
Here are the details of the amd gpu i have in the acer nitro 17 laptop
here is the glxinfo output. looks reasonable and identifies itself as glx1103_r1
|
Beta Was this translation helpful? Give feedback.
-
docker-compose.yml
config.yml
Any thoughts about what I may be doing wrong and why it may be failing ? |
Beta Was this translation helpful? Give feedback.
-
@harakas Are you expecting ROCm detector to continue to be a viable option in mainline frigate as long as we do a volume mount of the model weights? Thanks for your response |
Beta Was this translation helpful? Give feedback.
-
@NickM-27 The 8th Gen AMD ryzen processors and probably even the 7th Gen like 7940 tout the presence of a 6 TOPS NPU which is probably superior to the original coral tpu. Has anyone had success with using it? |
Beta Was this translation helpful? Give feedback.
-
maybe i spoke to soon
radeontop indicates 845M/1954M or roughly 45% in use |
Beta Was this translation helpful? Give feedback.
-
I didn't know ollama has a rocm image too |
Beta Was this translation helpful? Give feedback.
-
From what I can gather, there is little to no support for Linux. Only Windows drivers. Sad state of affairs. https://github.com/amd/RyzenAI-SW/tree/main/tutorial/hello_world |
Beta Was this translation helpful? Give feedback.
-
I recently also took a look at using the GPU on my um780 xtx with frigate. Ran into the same infamous |
Beta Was this translation helpful? Give feedback.
-
Just want to say this is working really great so far on my Vega64 ie version gfx900 using that build. Thank you very much for doing this. Can you pull latest changes [1162 commits behind] Is there any chance this will become a PR to the main build? The official documentation says this: ghcr.io/blakeblackshear/frigate:stable-rocm <- doesn't exist? These are my results from the forked code: Detectors Compared to CPU cpu1 Can you use multiple GPU's or select the GPU it is using so I could dedicate 1 to Frigate and the other to Ollama etc? (I have 4 Vega64's would it decrease inference speed if so?) |
Beta Was this translation helpful? Give feedback.
-
I found this in image tags image: ghcr.io/blakeblackshear/frigate:3c591ad-rocm and tested it but got really bad results 90ms compared to the prior harakas builds of 13-16ms not sure what I am missing to get it to work like the prior build. |
Beta Was this translation helpful? Give feedback.
-
@NonaSuomy |
Beta Was this translation helpful? Give feedback.
-
I modified frigate to created an AMD GPU based detector that can run the ultralytics/yolov8 models:
https://github.com/harakas/frigate
It is based on the AMD/ROCm development environment.
Fresh from the oven but so far appears to work. See https://github.com/harakas/frigate/blob/dev/docs/docs/configuration/object_detectors.md#amdrocm-gpu-detector on how to run it.
I have a home server with an integrated AMD GPU (AMD Ryzen 3 5400U with Radeon Graphics). Can run yolov8n at 140fps, and yolov8s at 60fps.
Edit: changed readme link.
Beta Was this translation helpful? Give feedback.
All reactions