Spaces:
Runtime error
Runtime error
File size: 148 Bytes
393ce04 |
1 2 3 4 |
import torch
print(f"CUDA available: {torch.cuda.is_available()}")
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}") |