Refactor Hardware Stats (#24150)

* Refactor hardware stats to have consolidated ffmpeg, detector, and enrichments running.

* Cleanup hardware access that is not passed into the container

* Remove network stats from hardware refactor
This commit is contained in:
Nicolas Mowen
2026-09-12 07:30:04 -06:00
parent 8370e205da
commit 6ae8050974
5 changed files with 909 additions and 253 deletions
+2 -2
View File
@@ -911,8 +911,8 @@ def get_nvidia_gpu_stats() -> dict[int, dict]:
return results
def get_jetson_stats() -> dict[int, dict] | None:
results = {}
def get_jetson_stats() -> dict[str, str] | None:
results: dict[str, str] = {}
try:
results["mem"] = "-" # no discrete gpu memory