Skip to content

A GPU task manager for Windows, Linux, and WSL: per-process VRAM, GPU activity, and LLM model/KV-cache insights (Windows AMD and NVIDIA).

Python

Declare DeviceTelemetry.throttle as nullable

Martin Pluskal38663bdc4271
diff --git a/src/gputaskman/telemetry.py b/src/gputaskman/telemetry.py
index ee2ce21..d4e730f 100644
--- a/src/gputaskman/telemetry.py
+++ b/src/gputaskman/telemetry.py
@@ -33,6 +33,6 @@ class DeviceTelemetry:
pcie_tx_kbs: int | None = None
pcie_gen: int | None = None
pcie_width: int | None = None
- throttle: list[str] = field(default_factory=list)
+ throttle: list[str] | None = field(default_factory=list) # None = unreadable (unknown), [] = readable and idle
compute_cap: str = ""
source: str = "NVML"