2023-DnB-Project/example/torch_check.py
2023-06-26 17:21:08 +08:00

3 lines
72 B
Python

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