Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
WhisperTube
/
whispertube_backend
like
1
Runtime error
App
Files
Files
Community
394e114
whispertube_backend
/
pytorch_test.py
uzi007
Added PyTorch Test & Updated Requirements File
393ce04
about 1 year ago
raw
Copy download link
history
blame
Safe
148 Bytes
import
torch
print
(
f"CUDA available:
{torch.cuda.is_available()}
"
)
print
(
f"CUDA device:
{torch.cuda.get_device_name(torch.cuda.current_device())}
"
)