[PR #209] feat(api): add memory temperature via NVML field NVML_FI_DEV_MEMORY_TEMP #210

Open
opened 2026-05-05 03:27:53 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/XuehaiPan/nvitop/pull/209
Author: @dansolombrino
Created: 4/25/2026
Status: 🔄 Open

Base: main ← Head: feat/gddr6-vram-temperature


📝 Commits (1)

  • 1c315d2 feat(api): add memory temperature via NVML field NVML_FI_DEV_MEMORY_TEMP

📊 Changes

3 files changed (+27 additions, -1 deletions)

View changed files

📝 CHANGELOG.md (+1 -1)
📝 nvitop/api/device.py (+25 -0)
📝 nvitop/api/libnvml.py (+1 -0)

📄 Description

Description

Add Device.memory_temperature(), the equivalent of nvidia-smi --query-gpu=temperature.memory, implemented via the official NVML field NVML_FI_DEV_MEMORY_TEMP, and include it in device snapshots. Returns NA on GPUs that do not expose a memory temperature sensor through NVML.

No sudo, /dev/* access or kernel options are required.

Test

from nvitop import Device
print(Device(0).memory_temperature())

On an RTX 4090 (driver 580.167.08) this returns N/A, matching nvidia-smi.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/XuehaiPan/nvitop/pull/209 **Author:** [@dansolombrino](https://github.com/dansolombrino) **Created:** 4/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/gddr6-vram-temperature` --- ### 📝 Commits (1) - [`1c315d2`](https://github.com/XuehaiPan/nvitop/commit/1c315d2209dd13253d833a949e29639e4b3c1133) feat(api): add memory temperature via NVML field `NVML_FI_DEV_MEMORY_TEMP` ### 📊 Changes **3 files changed** (+27 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -1) 📝 `nvitop/api/device.py` (+25 -0) 📝 `nvitop/api/libnvml.py` (+1 -0) </details> ### 📄 Description ## Description Add `Device.memory_temperature()`, the equivalent of `nvidia-smi --query-gpu=temperature.memory`, implemented via the official NVML field `NVML_FI_DEV_MEMORY_TEMP`, and include it in device snapshots. Returns `NA` on GPUs that do not expose a memory temperature sensor through NVML. No `sudo`, `/dev/*` access or kernel options are required. ## Test ```python from nvitop import Device print(Device(0).memory_temperature()) ``` On an RTX 4090 (driver 580.167.08) this returns `N/A`, matching `nvidia-smi`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror changed title from [PR #209] feat(api): add GDDR6/GDDR6X VRAM temperature reading via BAR0 registers to [PR #209] feat(api): add memory temperature via NVML field NVML_FI_DEV_MEMORY_TEMP 2026-11-03 22:16:20 -07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github-starred/nvitop#210
No description provided.