$ CUDA_VISIBLE_DEVICES=1 python run_file.py
pip install gpustat
安装完成后使用下面命令即可
watch -n 2 --color gpustat --c
查看完成后 Crtl +c 即可退出