Repository navigation
Replies: 1 comment 2 replies
|
Hello @kadamik
Just to clarify, 100% of the object detection processing is on the ANE, unless you specifically override it in settings to run on the GPU.
We have a M6 Mac Mini (16GB) running a YOLOv9-C Frigate+ model right now. It runs 100% on the ANE, and achieves 2.8-3.1ms. Frigate+ YOLOv9-M, runs at ~2ms on the M6 if my memory serves (we don't have that running right now)
Absolutely, especially if it is a Fregata-dedicated machine. You should have no problems running all of the Frigate AI enrichments + Apple Intelligence (if you wanted it) for GenAI descriptions. We have them all turned on on one of our M6 Mac Minis (16GB) for testing + Orbstack (limited to 5 GiB of RAM) for various office docker containers. Note: Frigate will allocate ~2.8GB of shared memory for 12x cameras at 4K. This is based on the detect stream resolution. If you think you may add MANY more cameras in the future, you'd have to decide if you wanted to run the detect stream at full resolution or a lower resolution, or buy more RAM now. That's the only part where camera count and detect resolution matter significantly with regards to RAM.
Additional RAM, today with the AI Enrichment models Frigate uses, would not help performance at all. It would mainly be if you wanted to run other things alongside Fregata on the same machine or run models other than Apple Intelligence with Ollama or llama.cpp for GenAI descriptions (which might still work with 16GB, depending on the model size).
Excellently. CPU usage will be lower, object detection will be 4-5X faster, and AI enrichments will run much faster than on a 2060. Everyone that works on Fregata originally run Frigate in docker on linux servers or minipcs at home. None of us could ever, ever, go back. |
Uh oh!
There was an error while loading. Please reload this page.
I'm considering purchasing an M6 Mac Mini with 16 GB of unified memory to run Frigate and have a few questions before making my decision.
After reading through the documentation, I understand that the default YOLO-S model can achieve inference times of 1–2 ms, with most of the processing handled by Apple's Neural Engine.
Model Compatibility and Performance
If I use a larger Frigate+ model, such as YOLOv9-M or YOLOv9-C, will inference still be handled primarily by the Neural Engine, or will processing shift to the GPU? I understand that larger models will not achieve the same 1–2 ms inference times, but my primary concern is whether they can still take advantage of the Neural Engine.
Memory Requirements
I would prefer to stay with 16 GB of unified memory, but I want to make sure it will be sufficient for my environment.
My current setup consists of:
My current setup performs very well, but I'm interested in leveraging Apple's hardware acceleration and potentially consolidating some of my AI workloads onto the Mac Mini.
I realize that upgrading to 24 GB of unified memory would provide additional headroom, but given the extra cost, I don't want to upgrade unnecessarily.
I'd appreciate your thoughts on the following:
I appreciate any insight, recommendations, or real-world experience you can share before I make my purchase.
Thanks!
All reactions