py3nvml icon indicating copy to clipboard operation
py3nvml copied to clipboard

Python 3 Bindings for NVML library. Get NVIDIA GPU status inside your program.

Results 4 py3nvml issues
Sort by recently updated
recently updated
newest added

When I call nvmlDeviceGetPciInfo(handle) function the "busId" is "bytes" not "str" ``` handle = nvmlDeviceGetHandleByIndex(i) devId = nvmlDeviceGetPciInfo(handle).busId ``` The whole nvmlPciInfo_t is: ``` nvmlPciInfo_t(busId: b'0000:00:0A.0', domain: 0x0000, bus: 0x00,...

Hi, It appears that nvmlDeviceGetMemoryInfo `used` memory with this Python API actually corresponds to the `reserved` memory. It seems as well that the `reserved` attribute is missing in the `c_nvmlMemory_t`,...

It'd be great if theres some way to access line-by-line stats per GPU for any process via python code with this library.

Moving it inside the package would make it easy to use it if you can't use the `scripts` part of a package.