Remove TensorRT Detector from AMD64 Build (#19030)

* Don't support tensorrt detector for amd64 builds

* Add logs for directing users not to use tensorrt detector

* Rework docs

* Fix dockerfile index

* Don't undo jetson fix
This commit is contained in:
Nicolas Mowen
2025-07-07 18:12:52 -05:00
committed by GitHub
parent fc608b31d7
commit d69916694b
9 changed files with 201 additions and 206 deletions
+8
View File
@@ -1,5 +1,6 @@
import ctypes
import logging
import platform
import numpy as np
@@ -42,6 +43,13 @@ if TRT_SUPPORT:
return logging.CRITICAL
else:
return logging.DEBUG
elif platform.machine() == "x86_64":
logger.error(
"TensorRT detector is no longer supported on amd64 system. Please use ONNX detector instead, see https://docs.frigate.video/configuration/object_detectors#onnx for more information."
)
raise ImportError(
"TensorRT detector is no longer supported on amd64 system. Please use ONNX detector instead, see https://docs.frigate.video/configuration/object_detectors#onnx for more information."
)
class TensorRTDetectorConfig(BaseDetectorConfig):