Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ang162
/
prueba
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
prueba
/
prueba.py
ang16
Finalización codigo
1800e31
5 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
144 Bytes
import
torch
print
(torch.cuda.is_available())
# Debe devolver: True
print
(torch.cuda.get_device_name(
0
))
# Debe mostrar: tu GPU (ej. RTX 2060)