File size: 144 Bytes
1800e31
 
 
1
2
3
import torch
print(torch.cuda.is_available())  # Debe devolver: True
print(torch.cuda.get_device_name(0))  # Debe mostrar: tu GPU (ej. RTX 2060)