How to check if NCCL is installed correctly and can be used by PyTorch?

How to check if NCCL is installed correctly and can be used by PyTorch? I can import torch.cuda.nccl, but I’m not sure how to test if it’s installed correctly.

2 Likes

You can try

torch.cuda.nccl.version()
6 Likes

is there a way to check it with a command line without pytorch?