how to check cuda version pytorch code example Example: get version of cuda in pytorch torch.version.cuda