Skip to content

Commit 74a4054

Browse files
authored
bugfix: fix batch prefill attention kernel unittests (#781)
This pull request includes a small change to the `tests/test_batch_prefill_kernels.py` file. The change modifies the `custom_mask` parameter in the `test_batch_prefill_with_paged_kv_cache_custom_mask` function to have a default value. * [`tests/test_batch_prefill_kernels.py`](diffhunk://#diff-f04bd675bf627f5739bd24c7e2eed84ae66aba380b1855a9b13b69c4a000de6fL550-R550): Changed the `custom_mask` parameter to `custom_mask=custom_mask` to set a default value.
1 parent 1ebbde3 commit 74a4054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_batch_prefill_kernels.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ def test_batch_prefill_with_paged_kv_cache_custom_mask(
547547
num_kv_heads,
548548
head_dim,
549549
page_size,
550-
custom_mask,
550+
custom_mask=custom_mask,
551551
pos_encoding_mode=pos_encoding_mode,
552552
logits_soft_cap=logits_soft_cap,
553553
)

0 commit comments

Comments
 (0)