gpuopenanalytics / pynvml

Provide Python access to the NVML library for GPU diagnostics
BSD 3-Clause "New" or "Revised" License
212 stars 31 forks source link

What is help_query_gpu.txt for? #1

Closed seibert closed 5 years ago

seibert commented 5 years ago

I'm excited to see this library being revived!

The help_query_gpu.txt file seems to actually be a tar.gz file containing:

pynvml/nvidia_smi.py
pynvml/PKG-INFO
pynvml/pynvml.py
pynvml/README.txt
pynvml/setup.py

What is this file for, and why is it included in the package data list in setup.py?

kenhester commented 5 years ago

The file was corrupt and replaced. The file provides a text response for the --help_guery_gpu .

To Run: $ python nvidia_smi.py "--help" $ python nvidia_smi.py "--help_query_gpu"

From Code: DeviceQuery("--help") DeviceQuery("--help_query_gpu")

XmlDeviceQuery("--help") XmlDeviceQuery("--help_query_gpu")

seibert commented 5 years ago

Ah, that makes sense. Thanks!