-
Notifications
You must be signed in to change notification settings - Fork 683
[Optimize]support machete weight only gemm #3561
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
Conversation
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
|
Thanks for your contribution! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3561 +/- ##
==========================================
Coverage ? 59.40%
==========================================
Files ? 3
Lines ? 101
Branches ? 10
==========================================
Hits ? 60
Misses ? 33
Partials ? 8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
zhoutianzi666
approved these changes
Aug 28, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
描述
Matche 为 vLLM 开发的一个基于 CUTLASS 的高性能 GEMM 算子,优化内核继承自 Marlin ,并针对 Hopper 架构进行了优化。
本PR为 machete wint4 kernel 适配 paddle 接口,实现 wint4 dense gemm 性能提升。
使用方式
目前仅对 machete wint4 kernel做了适配和验证,所以仅适用于
--quantization wint4。通过环境变量
FD_USE_MACHETE控制是否使用machete kernel,默认不开启,值为 0。执行 machete kernel 需要同时满足:
性能测试
k, n = 7168, 1536
k, n = 2048, 5120