Spaces:
Runtime error
Runtime error
File size: 99 Bytes
7f6b51d |
1 2 3 4 5 6 |
import torch
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
print(device) |