SIGN IN SIGN UP
blakeblackshear / frigate UNCLAIMED

NVR with realtime local object detection for IP cameras

0 0 114 TypeScript

Fix multi-GPU OpenVINO detection for enrichments (#23188)

On multi-GPU systems, OpenVINO enumerates devices as "GPU.0", "GPU.1",
etc. rather than a single "GPU". The exact string match in
is_openvino_gpu_npu_available() fails to recognize these suffixed device
names, causing enrichments (face recognition, semantic search) to
silently fall back to CPU-only inference via ONNXModelRunner instead of
using OpenVINOModelRunner on GPU.

Switch from exact match to prefix match so both single-GPU ("GPU") and
multi-GPU ("GPU.0", "GPU.1") device names are correctly detected, along
with any future suffixed variants for NPU and other accelerators.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
A
Aaron Daubman committed
c8cfb9400a0bd52bb46fe9a95a6fc921fb1bed9e
Parent: ca75f06
Committed by GitHub <noreply@github.com> on 5/13/2026, 5:22:55 PM