Skip to content

Commit 3b1b402

Browse files
LoserCheemsCopilot
andauthored
Update benchmarks/forward_equivalence.py
Co-authored-by: Copilot <[email protected]>
1 parent 6f0b7c1 commit 3b1b402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/forward_equivalence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -988,8 +988,8 @@ def test_flex_forward_equivalence(accuracy_threshold=0.95):
988988
start_time = time.time()
989989
py_output = dynamic_mask_attention_python(
990990
query_states, key_states, value_states,
991-
attn_bias, causal_mask, scaling, cache_position,
992-
window_size, is_causal
991+
window_size, attn_bias, causal_mask, scaling,
992+
is_causal
993993
)
994994
torch.cuda.synchronize()
995995
py_time = time.time() - start_time

0 commit comments

Comments
 (0)