Skip to content

Commit 0638d58

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d3bd4e4 commit 0638d58

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tests/pytorch/attention/test_attention_with_cp.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -646,10 +646,7 @@ def test_cp_with_fused_attention(
646646
_deterministic
647647
and qkv_format == "thd"
648648
and get_device_compute_capability() == (9, 0)
649-
and config.batch_size
650-
* config.num_heads
651-
* config.max_seqlen_q
652-
* config.max_seqlen_kv
649+
and config.batch_size * config.num_heads * config.max_seqlen_q * config.max_seqlen_kv
653650
>= 1_000_000_000
654651
):
655652
pytest.skip(

0 commit comments

Comments
 (0)