Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
yanzoka
/
emotion
like
0
Joblib
Model card
Files
Files and versions
xet
Community
main
emotion
/
api
/
test_pytorch.py
yanzoka
Upload 18 files
0589f45
verified
almost 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
180 Bytes
import
torch
def
main
():
print
(
f"PyTorch version:
{torch.__version__}
"
)
print
(
"CUDA Available:"
, torch.cuda.is_available())
if
__name__ ==
"__main__"
:
main()