Fix state.plan call to use positional arguments

This commit is contained in:
Curtis Ruck 2025-04-11 10:09:24 -04:00
parent 9a8d0462e1
commit fd92054e1d
No known key found for this signature in database

View File

@ -84,16 +84,16 @@ def use_prefill_with_paged_kv_state(
token = prefill_with_paged_kv_state.set(state)
try:
state.plan(
qo_indptr=cu_seqlens,
paged_kv_indptr=indptr,
paged_kv_indices=block_tables,
paged_kv_last_page_len=last_page_len,
num_qo_heads=num_heads,
num_kv_heads=num_kv_heads,
head_dim=head_size,
kv_data_type=kv_dtype,
cu_seqlens,
indptr,
block_tables,
last_page_len,
num_heads,
num_kv_heads,
head_size,
page_size,
q_data_type=q_dtype,
page_size=page_size,
kv_data_type=kv_dtype,
)
yield
finally: