In this article
NVML distinguishes board serial information from GPU UUID identity. Its serial-based handle lookup is deprecated in favor of UUID lookup and documents ambiguity on dual-GPU boards. A board-level label can be correct while insufficient to select one accelerator.
A maintenance database assumes every board serial identifies one GPU. That relationship fails on a board containing multiple GPUs. Inventory and device selection should preserve the physical board relationship without turning its serial into an unambiguous per-GPU handle.
The hardware contract
NVML distinguishes board serial information from GPU UUID identity. Its serial-based handle lookup is deprecated in favor of UUID lookup and documents ambiguity on dual-GPU boards. A board-level label can be correct while insufficient to select one accelerator.
Model the relationship explicitly rather than deleting one apparently duplicated record. The repeated serial can describe shared packaging, not a duplicate observation of the same GPU. Preserve unavailable serial queries as unavailable instead of fabricating uniqueness from an enumeration index.
Implementation details
Store a board record and separate accelerator records linked to it. Retain the UUID used for a supported device query, current PCI location, driver context and the observation time. The slot and enumeration index remain useful locators, but neither should silently replace the recorded identity during repair.
When a board is exchanged, reconcile all accelerators associated with the old physical assembly. Replacing only one database row can leave another old UUID appearing active. Keep board replacement, GPU discovery and workload qualification as separate transitions, because one delivery receipt does not establish the final usable accelerator count.
A constructed acceptance test
Construct an inventory fixture in which distinct GPU UUIDs share a board serial. Verify that a board-level report counts the physical assembly once while the accelerator report retains both GPU identities. Exercise serial-based lookup failure without dropping the entire inventory.
Reorder enumeration and change PCI locators in a second observation while preserving UUID relationships. The collector should update locators without joining histories by their old array positions. Finally simulate board replacement and ensure that no accelerator from the old assembly remains available merely because its row was not the first serial match. Retain the expected board-to-GPU relation as the acceptance artifact.
Recovery and limits
UUID-based reconciliation does not establish product authenticity or compatibility, and partitioned or virtualized configurations require their own identity scope. Use the installed NVML contract rather than assuming every handle represents the same physical level. The useful conclusion is a consistent board-to-device relation with explicit unknowns. It is not an estimate of remaining life and does not authorize a maintenance action against a device selected only through a historical index.
Primary references
This is a proposed acceptance procedure, not an executed Retrivium test. Preserve the observed implementation version and unresolved outcomes; the documentation does not certify a particular device or establish its remaining service life.
Related reading
Build a GPU Inventory CSV with nvidia-smi; A Change Register for GPU Drivers and Server Settings.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.