mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-10 14:01:12 +03:00
Include NPU in latency performance hint
This commit is contained in:
parent
e33da68fff
commit
278c063491
@ -310,7 +310,7 @@ class OpenVINOModelRunner(BaseModelRunner):
|
|||||||
# Apply performance optimization
|
# Apply performance optimization
|
||||||
self.ov_core.set_property(device, {"PERF_COUNT": "NO"})
|
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"})
|
self.ov_core.set_property(device, {"PERFORMANCE_HINT": "LATENCY"})
|
||||||
|
|
||||||
# Compile model
|
# Compile model
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user