anderskm / gputil

A Python module for getting the GPU status from NVIDA GPUs using nvidia-smi programmically in Python
MIT License
1.12k stars 120 forks source link

getFirstAvailable(maxMemory=0.9) inconsistent with showUtilization() #30

Open Ir1d opened 4 years ago

Ir1d commented 4 years ago

I can see clearly there's free GPU memory with both nvidia-smi and MEM column in GPUtil.showUtilization(). But getFirstAvailable won't return successfully for me. How do I debug this?

yuviabhi commented 2 years ago

Got this bug in getFirstAvailable() with load=0.5 with my gpu working with 40% utilization . Stil unable to list this gpu.