Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
3 changes: 2 additions & 1 deletion flashinfer/prefill.py
Original file line number Diff line number Diff line change
Expand Up @@ -2096,7 +2096,8 @@ def run(
lse=lse,
)
else:
assert self._plan_info is not None, "plan info is not initialized"
if self._backend == "cudnn":
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This check is not needed for cudnn. See Line 2073. This is already in else part. I added this since run_args has _plan_info and mypy was complaining.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, filter out trtllm-gen check then.

assert self._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