How to check which cuda version my pytorch is using

You could check the linked CUDA version via print(torch.version.cuda).

9 Likes