Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 206 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 206 Bytes

Fun command to check if GPUs are available and what they are.

import torch
torch.cuda.is_available()
[print(torch.cuda.get_device_properties(i)) for i in range(torch.cuda.device_count())];