Skip to content

Commit 3c9528a

Browse files
committed
Use cuda
1 parent 9ff6f01 commit 3c9528a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/benchmark/sparse_vs_dense_tensors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
assert torch.cuda.is_available(), 'Benchmark works only on cuda'
14-
device = torch.device("cpu")
14+
device = torch.device("cuda")
1515
shape = (500, 500, 500)
1616

1717

0 commit comments

Comments
 (0)