2023-07-12 23:26:55 +08:00

3 lines
46 B
Python

import torch
print(torch.cuda.is_available())