List Available GPUs

PyTorch
Author

Imad Dabbura

Published

September 16, 2022

In Pytorch, you can list number of available GPUs using torch.cuda.device_count().