You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
benchmark: Adding FP8 benchmark on attention and matmul testing (#1390)
<!-- .github/pull_request_template.md -->
## 📌 Description
<!-- What does this PR do? Briefly describe the changes and why they’re
needed. -->
Current PR extends benchmarking script in `flashinfer_benchmark.py` by
adding:
* MLA backend testing
* Attention FP8 Benchmarking Introduction for prefill, decode, and MLA.
* bmm_fp8 and mm_fp4 testing.
* Addition of a few backends where applicable (e.g. trtllm-gen for paged
prefill)
* Fix broken cuDNN prefill & decode benchmarking due to migration from
cubins to full cuDNN integration
* General minor benchmark code refactoring to reduce code redundancy.
## 🔍 Related Issues
<!-- Link any related issues here -->
## 🚀 Pull Request Checklist
Thank you for contributing to FlashInfer! Before we review your pull
request, please make sure the following items are complete.
### ✅ Pre-commit Checks
- [x] I have installed `pre-commit` by running `pip install pre-commit`
(or used your preferred method).
- [x] I have installed the hooks with `pre-commit install`.
- [x] I have run the hooks manually with `pre-commit run --all-files`
and fixed any reported issues.
> If you are unsure about how to set up `pre-commit`, see [the
pre-commit documentation](https://pre-commit.com/).
## 🧪 Tests
- [x] Tests have been added or updated as needed.
- [x] All tests are passing (`unittest`, etc.).
## Reviewer Notes
<!-- Optional: anything you'd like reviewers to focus on, concerns, etc.
-->
0 commit comments