Skip to content

Commit

Permalink
bugfix: Fix the batch size/seq len args for the decode kernel with te…
Browse files Browse the repository at this point in the history
…nsor cores (#640)

A prior PR switched up the two arguments via a typo, without tests
catching the problem.
  • Loading branch information
nandor authored Nov 26, 2024
1 parent 86ca89a commit 42b9874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/flashinfer/decode.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,8 @@ def plan(
qo_indptr_host,
indptr_host,
batch_size, # total_num_rows
batch_size,
1, # max_seq_len
batch_size,
num_qo_heads,
num_kv_heads,
page_size,
Expand Down

0 comments on commit 42b9874

Please sign in to comment.