Skip to content

Commit

Permalink
using thunder iobytes for benchmark measurement
Browse files Browse the repository at this point in the history
  • Loading branch information
jjsjann123 committed Dec 23, 2024
1 parent 1bb31c4 commit 8ec3903
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions benchmarks/python/test_rope.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@ def fwd_call(inp):
for i in range(1, len(outputs)):
output += outputs[i]

# FIXME I don't think the automatic IObytes computation is correct
run_benchmark(
benchmark,
unary_bwd_torch,
[output, grad()],
iobytes=iobytes() if executor == "thunder" else None,
)
# NOTE: the iobytes is computed based on how thunder autograd worked. So this is just
# a reference point for torchcompile and eager executor for comparison.
run_benchmark(benchmark, unary_bwd_torch, [output, grad()], iobytes=iobytes())

0 comments on commit 8ec3903

Please sign in to comment.