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