We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ff6f01 commit 3c9528aCopy full SHA for 3c9528a
examples/benchmark/sparse_vs_dense_tensors.py
@@ -11,7 +11,7 @@
11
12
13
assert torch.cuda.is_available(), 'Benchmark works only on cuda'
14
-device = torch.device("cpu")
+device = torch.device("cuda")
15
shape = (500, 500, 500)
16
17
0 commit comments