mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
1.1 KiB
1.1 KiB
In [1]:
import torch
# Should print True if CUDA-enabled GPU is available, if not will print False
torch.cuda.is_available()Out [1]:
True
In [ ]: