Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jjsjann123 committed Dec 16, 2024
1 parent 8882d06 commit 44d8b55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/python/test_rope.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def test_rope_variations_fwd_benchmark(
if executor == "torchcompile":
clear_dynamo_cache()

model, inputs, _ = rope_setup[rope_variation]
model, inputs, _ = rope_setup[rope_variation]()

def fwd_call(inp):
return model(*inp)
Expand Down Expand Up @@ -345,7 +345,7 @@ def test_rope_variations_bwd_benchmark(
clear_dynamo_cache()

# TODO why not just a random like for grad on output instead of returning a grad function
model, fwd_inputs, grad = rope_setup[rope_variation]
model, fwd_inputs, grad = rope_setup[rope_variation]()

def fwd_call(inp):
return model(*inp)
Expand Down

0 comments on commit 44d8b55

Please sign in to comment.