diff --git a/frigate/embeddings/functions/onnx.py b/frigate/embeddings/functions/onnx.py index 611503533b..151c68f516 100644 --- a/frigate/embeddings/functions/onnx.py +++ b/frigate/embeddings/functions/onnx.py @@ -56,8 +56,8 @@ def __init__( self.providers, self.provider_options = get_ort_providers( force_cpu=self.config.device == "CPU", requires_fp16=self.config.model_size == "large" - or self.config.model_type == "text", - openvino_device=self.config.device, + or self.model_type == "text", + openvino_device=device, ) self.download_path = os.path.join(MODEL_CACHE_DIR, self.model_name)