MalGraph/torch_test.py
2024-01-10 10:32:38 +08:00

9 lines
262 B
Python

import torch_geometric
import torch
if __name__ == '__main__':
# print(torch.__version__)
# print(torch.cuda.device_count())
# print(torch.cuda.get_device_name())
print(torch.cuda.nccl.is_available())
print(torch.cuda.nccl.version())