Files
aicheckv2/toch_test.py
2025-03-20 16:41:51 +08:00

6 lines
69 B
Python

import torch
is_gpu = torch.cuda.is_available()
print(str(is_gpu))