Closed hombit closed 2 years ago
I'm sorry, but my previous PR #8 introduced a bug on detecting CUDA devices: torch.backends.cuda is different from other backends and doesn't have is_available() function. This PR fixes it, I believe I properly tested it this time
torch.backends.cuda
I'm sorry, but my previous PR #8 introduced a bug on detecting CUDA devices:
torch.backends.cuda
is different from other backends and doesn't have is_available() function. This PR fixes it, I believe I properly tested it this time