Nvidia-smi equivalent for M1/M2 pro

Hi,

I very recently bought the MBP M2 Pro and I have successfully installed PyTorch with MPS backend. Nevertheless, I couldn’t find any tool to check GPU memory usage from the command line. Does anyone know if there is any tool available for Apple Silicon GPUs equivalent to nvidia-smi? Thanks!

The builtin activity monitor works

1 Like

Apple silicon uses RAM and swap as the memory of GPU. Try the ‘htop’ cmd to monitor your resources.

brew install htop
htop

1 Like