From 931fbc2c22290adecf77c04858c8ebb960844925 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 2 Jun 2025 08:35:40 -0600 Subject: [PATCH] Don't use Migraphx by default --- frigate/util/model.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frigate/util/model.py b/frigate/util/model.py index 7ac7d15b0..65f9b6032 100644 --- a/frigate/util/model.py +++ b/frigate/util/model.py @@ -345,6 +345,13 @@ def get_ort_providers( "device_type": device, } ) + elif provider == "MIGraphXExecutionProvider": + # MIGraphX uses more CPU than ROCM, while also being the same speed + if device == "MIGraphX": + providers.append(provider) + options.append({}) + else: + continue elif provider == "CPUExecutionProvider": providers.append(provider) options.append(