mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-16 03:52:09 +03:00
Use auto by default
This commit is contained in:
parent
7b24e01509
commit
3ba952e55a
@ -379,7 +379,7 @@ def get_optimized_runner(
|
||||
return RKNNModelRunner(rknn_path)
|
||||
|
||||
if device != "CPU" and is_openvino_gpu_npu_available():
|
||||
return OpenVINOModelRunner(model_path, device, **kwargs)
|
||||
return OpenVINOModelRunner(model_path, device or "AUTO", **kwargs)
|
||||
|
||||
providers, options = get_ort_providers(device == "CPU", device, **kwargs)
|
||||
ortSession = ort.InferenceSession(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user