参考: GPU状态监测 nvidia-smi 命令详解ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[4096]NVIDIA-SMI系列命令总结