Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions flashinfer/decode.py
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,13 @@ def run(

self._cached_module.paged_run(*run_args)
else:
# trtllm-gen does not need plan info
if self._backend == "trtllm-gen" and self._plan_info is None:
plan_info: List[int] = []
else:
plan_info = self._plan_info
assert plan_info is not None, "plan info is not initialized"

run_args = [
self._float_workspace_buffer,
self._int_workspace_buffer,
Expand Down
4 changes: 2 additions & 2 deletions scripts/run_test_blackwell_attention_kernels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ pytest -s tests/test_blackwell_fmha.py
pytest -s tests/test_deepseek_mla.py

# trtllm-gen
pytest -s tests/test_trtllm_gen_context.py
pytest -s tests/test_trtllm_gen_decode.py
pytest -s tests/test_trtllm_gen_attention.py
pytest -s tests/test_trtllm_gen_mla.py

# cudnn
pytest -s tests/test_cudnn_decode.py
Expand Down
Loading