Skip to content

Commit 717ee17

Browse files
committed
Make tensor smaller to fit in 7gb of gpu memory
1 parent 3c9528a commit 717ee17

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
@@ -12,7 +12,7 @@
1212

1313
assert torch.cuda.is_available(), 'Benchmark works only on cuda'
1414
device = torch.device("cuda")
15-
shape = (500, 500, 500)
15+
shape = (300, 500, 500)
1616

1717

1818
def create_spikes_tensor(percent_of_true_values, sparse, return_memory_usage=True):

0 commit comments

Comments
 (0)