Spaces:
Sleeping
Sleeping
import torch | |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu") | |
print(device) |
import torch | |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu") | |
print(device) |