Rewrite intel stats (#23108)

* Rewrite intel GPU stats to use file descriptors instead of intel_gpu_top, leading to significantly better API for interaction and more accurate results

* Update tests

* Update docs

* Adjust approach

* Update strings
This commit is contained in:
Nicolas Mowen
2026-05-04 10:36:32 -05:00
committed by GitHub
parent 814c497bef
commit ef9d7e07b7
6 changed files with 276 additions and 226 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ class StatsConfig(FrigateBaseModel):
)
intel_gpu_device: Optional[str] = Field(
default=None,
title="SR-IOV device",
description="Device identifier used when treating Intel GPUs as SR-IOV to fix GPU stats.",
title="Intel GPU device",
description="PCI bus address or DRM device path (e.g. /dev/dri/card1) used to pin Intel GPU stats to a specific device when multiple are present.",
)