-
Notifications
You must be signed in to change notification settings - Fork 896
[feat] trtllm-gen mxfp8 gemm #2653
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
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
64890fb
refactor trtllm-gen enums and gemm runner
IwakuraRein a730b0c
update gemm headers
IwakuraRein 7ff5f21
add mxfp8 gemm (WIP)
IwakuraRein 9e03b40
wip
IwakuraRein 30c40fe
temporary fix for coexistence of two majorness
IwakuraRein 6eda259
update unit test
IwakuraRein 616f493
add layout A to options
IwakuraRein ef9726c
update test_mm_mxfp8.py
IwakuraRein e5009cf
update benchmark
IwakuraRein 66a93be
update cubins
IwakuraRein e50ad06
update mxfp8 test
IwakuraRein ca102c4
Merge remote-tracking branch 'upstream/main' into mxfp8-gemm
IwakuraRein 5944694
update artifact
IwakuraRein aa63322
move sflayout to tllm_enums; expose sf swizzle layout in the mxfp8 qu…
IwakuraRein 9392c1e
update test_mm_mxfp8; update comments in mm_mxfp8
IwakuraRein ed9620d
Merge remote-tracking branch 'upstream/main' into mxfp8-gemm
IwakuraRein 39335cf
fix merge
IwakuraRein b0eb943
fix mxfp8 benchmark
IwakuraRein 4750dab
fix benchmark 128x4 layout
IwakuraRein a59e22e
address comments
IwakuraRein e3293f6
update comments
IwakuraRein 80356a0
default to 128x4
IwakuraRein 8316e83
Merge remote-tracking branch 'upstream/main' into mxfp8-gemm
IwakuraRein 2a38fde
fix typo in artifacts.py
IwakuraRein 8e5d4e9
update checksum hash
IwakuraRein 305ae95
fix csrc/trtllm_low_latency_gemm_runner.cu
IwakuraRein f338e78
Merge remote-tracking branch 'upstream/main' into mxfp8-gemm
IwakuraRein 612b98a
fix ci error and typo
IwakuraRein 4ed50cf
add block-major-k
IwakuraRein e38922c
fix low latency gemm
IwakuraRein db85eb6
remove silent exit
IwakuraRein ea91fb1
update benchmark
IwakuraRein 60c828e
Merge remote-tracking branch 'upstream/main' into mxfp8-gemm
IwakuraRein 21b097c
Merge remote-tracking branch 'upstream/main' into mxfp8-gemm
IwakuraRein eb08363
fix merge
IwakuraRein 0be4849
fix merge
IwakuraRein 5b2f490
fix merge
IwakuraRein 7ca7788
fix typo
IwakuraRein 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"cute-dsl"and"auto"backends receive incorrect input quantization.Per the
mm_mxfp8documentation (context snippet 1), the"cute-dsl"backend "currently requires swizzled 1D scales" and"auto""selects the CUTLASS backend." However,is_sf_swizzled_layoutisFalsefor both since they're not in["cutlass", "trtllm"].This causes
mxfp8_quantizeto produce non-swizzled scales for backends that expect swizzled layouts, likely resulting in incorrect results or failures.🔧 Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents