Reference source: View users and GPU occupancy on all GPUs under Linux
install gpustat
pip install gpustat
View GPU usage, it will be updated in real time
watch -n 2 --color gpustat --c
ctrl + c to exit
Reference source: View users and GPU occupancy on all GPUs under Linux
install gpustat
pip install gpustat
View GPU usage, it will be updated in real time
watch -n 2 --color gpustat --c
ctrl + c to exit