Skip to content

Feature/gpu temperature#4

Open
zetan503 wants to merge 2 commits intobrontoguana:masterfrom
zetan503:feature/gpuTemperature
Open

Feature/gpu temperature#4
zetan503 wants to merge 2 commits intobrontoguana:masterfrom
zetan503:feature/gpuTemperature

Conversation

@zetan503
Copy link

Add GPU power consumption metrics to each GPU
image

zetan added 2 commits February 27, 2026 14:08
- NVIDIA GPUs: Use nvmlDeviceGetPowerUsage() via pynvml
- AMD GPUs: Read from hwmon power1_input sysfs interface
- Display power in watts with color-coded bar (0-300W scale)
- Add power history sparkline for each GPU
- Track power in gpu_power_hist alongside util and mem histories
- NVIDIA GPUs: Query power management limit via nvmlDeviceGetPowerManagementLimit()
- AMD GPUs: Read power1_max from hwmon sysfs
- Display shows current/limit (e.g., '450.0/600.0 W')
- Power bar scales to each GPU's specific limit instead of fixed 600W
- Falls back to 600W default if limit cannot be queried
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant