Skip to content

Commit 13e1968

Browse files
Add memory to results
1 parent 7829691 commit 13e1968

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pytorch_benchmark/benchmark.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ def benchmark(
420420
)
421421

422422
results["timing"] = timing
423+
if memory:
424+
results["memory"] = memory
423425
if energy:
424426
results["energy"] = energy
425427

0 commit comments

Comments
 (0)