Top
pytorch
6be866b0
pytorch
PyTorch experiments
Summary
Refs
Commits
Files
Add PyTorch GPU test script
Changes
1 changed files (+5/-0)
gpu.py
(new)
@@ -0,0 +1,5 @@
+
import torch
+
+
print(torch.cuda.is_available())
+
print(torch.version.hip)
+
cuda = torch.device('cuda')
Authored by
Anthony Wang
Authored at
2021-12-14 10:11:33 -0600
Committed by
Anthony Wang
Committed at
2021-12-14 10:11:33 -0600
Object name
6be866b0b8b5ec676159eaa56c09371c02cbd7e1
Parent
55e855ad