-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[ROCm] Add AITER RMSNorm+FP8 quantization fusion for MLA #38299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
khairulkabir1661
wants to merge
21
commits into
vllm-project:main
Choose a base branch
from
khairulkabir1661:rocm-mla-aiter-rmsnorm-quant-fusion
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
9a4bb0b
Add AMD AITER MLA fusion optimization for DeepSeek models
khairulkabir1661 dda6084
Add comprehensive tests for MLA fusion on AMD AITER
khairulkabir1661 1eafc57
Fix pre-commit issues in test_mla_fusion.py
khairulkabir1661 b020a60
Fix pytest mark warnings in test_mla_fusion.py
khairulkabir1661 cb71c3b
test: Remove placeholder tests from MLA fusion test suite
khairulkabir1661 2de8c58
Fix code review issues: improve exception handling and add logging
khairulkabir1661 d95dd82
Fix MLA fusion: use custom op pattern and clean up tests
khairulkabir1661 dc47e37
Fix MLA fusion tests: compare FP8-fused vs FP8-unfused
khairulkabir1661 882debd
Remove test_deterministic_outputs from MLA fusion tests
khairulkabir1661 d132b95
Fix MLA fusion custom op registration and optimize tests
khairulkabir1661 59895ac
[ROCm][FP8] Add x_scale parameter support for MLA fusion (Option 2)
khairulkabir1661 8c38d23
Fix mypy signature compatibility for x_scale/input_scale parameters
khairulkabir1661 576b09e
Clean up mla.py comments (lines 259-287)
khairulkabir1661 6ff38d8
Clarify q_c_scale comment in mla.py (line 240)
khairulkabir1661 16bea47
Clean up fusion init comments (lines 213-231)
khairulkabir1661 f49af5e
Clean up AITER fusion helper comments (lines 15-112)
khairulkabir1661 5a505ea
Remove test_mla_fusion.py test file
khairulkabir1661 b54784a
Clean up comments in fp8_utils.py
khairulkabir1661 709d0ed
Fix input_scale and output_dtype handling in FP8 quantization
khairulkabir1661 7e677a7
Remove is_layer_moe_router_gate check from batch invariance
khairulkabir1661 6f34c3b
Remove @torch_compile_guard to make fusion transparent to compiler
khairulkabir1661 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.