mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-20 10:49:00 +03:00
Include NPU in latency performance hint
This commit is contained in:
@@ -310,7 +310,7 @@ class OpenVINOModelRunner(BaseModelRunner):
|
||||
# Apply performance optimization
|
||||
self.ov_core.set_property(device, {"PERF_COUNT": "NO"})
|
||||
|
||||
if device in ["GPU", "AUTO"]:
|
||||
if device in ["GPU", "AUTO", "NPU"]:
|
||||
self.ov_core.set_property(device, {"PERFORMANCE_HINT": "LATENCY"})
|
||||
|
||||
# Compile model
|
||||
|
||||
Reference in New Issue
Block a user