在CentOS系统下,可从以下方面监控和优化PyTorch资源占用:
htop
top
nvidia-smi
torch.cuda
PyTorch Profiler
TensorBoard
DataLoader
num_workers
AMP