codefuse-chatbot/tests/torch_test.py

3 lines
70 B
Python

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