[Bug]: [0.17.0][HA Add-on][OpenVINO Intel iGPU] face_recognition (model_size: large, device: GPU.0) crashes embeddings_manager with CL_INVALID_VALUE #22236
Replies: 5 comments 5 replies
-
|
We haven't had any other reports of this, it could be related to the Intel drivers in the HA OS builds, have you tried just with |
Beta Was this translation helpful? Give feedback.
-
|
I am running Frigate+ 0.17 with the yolov9s‑relu6 (edgetpu) detection model. Detection works very well, but the embedding stage always runs on the CPU. Even with 7 Coral PCIe TPUs installed, Frigate+ does not offload embeddings to any TPU. This leads to severe performance issues: Embedding inference time: ~900 ms per object Embedding throughput: 0 inferences/s CPU load: ~99% Re‑ID and tracking become unstable All 7 TPUs show detection load only, no embedding load GPU remains unused for embeddings (expected due to TFLite pipeline) After analyzing the behavior, it seems that Frigate+ currently does not provide a TPU‑compatible ReID/embedding model. YOLOv9s‑relu6 produces bounding boxes but no embeddings, so Frigate+ falls back to CPU‑based embedding. This behavior is fully reproducible: Detection model: yolov9s-relu6-edgetpu No TPU‑compatible embedding model available Frigate+ attempts to generate embeddings Fallback to CPU CPU load spikes to 99% Embedding latency ~900 ms Expected behavior: A TPU‑accelerated ReID/embedding model should be available in Frigate+ Embeddings should run on TPU (5–10 ms instead of ~900 ms) CPU load should drop significantly Tracking and Re‑ID should become stable Multi‑TPU systems (e.g., 7× Coral PCIe) should be fully utilized Questions / Suggestions: Is a TPU‑compatible ReID/embedding model planned for Frigate+? Could embedding results (e.g., license plate text) be exposed in the UI, not only via MQTT? Is GPU‑accelerated embedding (TensorRT‑based ReID models) something that could be considered in the future? |
Beta Was this translation helpful? Give feedback.
-
|
I am having this same issue on 0.17 on an Intel Ultra 235H with Reolink Cameras, I cannot get enrichments to work properly for some reason. LPR never runs and face recognition has worked but only sometimes |
Beta Was this translation helpful? Give feedback.
-
|
Reported this earlier, there is a bug in openvino 2025.3 you can fix it by either upgrading to openvino 2025.4 or patch this PR: openvinotoolkit/openvino#31180 |
Beta Was this translation helpful? Give feedback.
-
|
I'm having the same issue, even tried a custom docker compose with the updated openvino. Soft crash when i try to upload that first photo. No CPU usage, needs a reboot to come back. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the problem you are having
Frigate starts and object detection works correctly on OpenVINO Intel iGPU, but enabling face recognition with
model_size: largeanddevice: GPU.0consistently crashesfrigate.embeddings_managerduring OpenVINO model compilation.The crash appears specific to the face embedding path (ArcFace/OpenVINO GPU). Main camera streams and go2rtc continue running.
Steps to reproduce
yolo26s_384_FP32_E2EOFF_ONNX.onnx) and confirm normal startup.frigate.embeddings_managercrash with OpenVINO GPU errorclCreateSubBuffer ... CL_INVALID_VALUE.Version
0.17.0-f0d69f7
In which browser(s) are you experiencing the issue with?
Google Chrome 145.0.0.0 (Windows 10 x64)
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
Operating system
Home Assistant OS
Install method
Home Assistant Add-on
Network connection
Wired
Camera make and model
Dahua-based RTSP streams via /cam/realmonitor (NVR channels), plus two Dahua IP cameras (exact model numbers unknown).
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
device: GPUanddevice: GPU.0.Beta Was this translation helpful? Give feedback.
All reactions