Skip to content

Commit 02ceb98

Browse files
committed
Skip invalid test cases for LOWER_RIGHT causal variant
1 parent c68fffe commit 02ceb98

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_scaled_dot_product_attention.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ def _generate_random_size():
5959
atol = 0.025
6060
rtol = 0.025
6161

62+
if causal_variant == CausalVariant.LOWER_RIGHT and seq_len_q > seq_len_kv:
63+
continue
64+
6265
arguments.append(
6366
(
6467
batch_size,

0 commit comments

Comments
 (0)