['nvidia-smi', '--query-gpu=timestamp,name,index,utilization.gpu,utilization.memory,memory.total,memory.free,memory.used', '--format=csv,noheader,nounits'], capture_output=True, text=True ) gpu_data = result.stdout.strip().split('\n') # Run the nvidia-smi command to get process info...
I was using a NVIDIA Titan X card on a computer and it was working fine, but when I changed the card to NVIDIA Tesla P100 the card does not show up in nvidia-smi. I updated the drivers to 375.51. Output of lspci | grep NVIDIA 0f:00.0 VGA compatible controller: NVIDIA Corporation GF...