Skip to content

Commit bc11239

Browse files
author
Aditya K Kamath
committed
Merge branch 'pod_batched_new' of github.com:AKKamath/flashinfer into pod_batched_new
2 parents e8e0934 + 74fefdd commit bc11239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmarks/bench_mixed_attention.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ def run_bench(
2323
q_lens = torch.tensor(d_qo_lens + p_qo_lens, dtype=torch.int32)
2424

2525
seq_lens_blocks = torch.ceil(seq_lens / page_block_size).int()
26-
p_seq_lens_blocks = (
26+
p_seq_lens_blocks = torch.ceil(
2727
torch.tensor(p_kv_lens, dtype=torch.int32) / page_block_size
2828
).int()
29-
d_seq_lens_blocks = (
29+
d_seq_lens_blocks = torch.ceil(
3030
torch.tensor(d_kv_lens, dtype=torch.int32) / page_block_size
3131
).int()
3232

0 commit comments

Comments
 (0)