-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Refactor 2 awq gemm kernels into m16nXk32 #2723
Conversation
@WoosukKwon could you please help review? |
@zcnrex Nice job refactoring the GEMM kernels. I am especially excited to see if the dequant + cublas can bring a speedup like we talked about. |
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.
LGTM! Thanks for the refactoring. Sorry for the late review 🙏
[ROCm] Fix build problem resulted from previous commit related to FP8 kv-cache support (vllm-project#2790) Add documentation on how to do incremental builds (vllm-project#2796) [Ray] Integration compiled DAG off by default (vllm-project#2471) Disable custom all reduce by default (vllm-project#2808) add usage context removed usage_context from Engine_args Move IO to another process added http request [ROCm] support Radeon™ 7900 series (gfx1100) without using flash-attention (vllm-project#2768) Add documentation section about LoRA (vllm-project#2834) Refactor 2 awq gemm kernels into m16nXk32 (vllm-project#2723) Co-authored-by: Chunan Zeng <chunanzeng@Chunans-Air.attlocal.net> Added additional arg for from_engine_args comments
Co-authored-by: Chunan Zeng <chunanzeng@Chunans-Air.attlocal.net>
Co-authored-by: Chunan Zeng <chunanzeng@Chunans-Air.attlocal.net>
Co-authored-by: Chunan Zeng <chunanzeng@Chunans-Air.attlocal.net>
Co-authored-by: Chunan Zeng <chunanzeng@Chunans-Air.attlocal.net>
@zcnrex @WoosukKwon |
Co-authored-by: Chunan Zeng <chunanzeng@Chunans-Air.attlocal.net>
Merge
gemm_forward_4bit_cuda_m16n64k32
andgemm_forward_4bit_cuda_m16n128k32
into 1 function, and pass 64/128 as a parameterUsed the diff tool to facilitate identifying numbers to change:
https://www.diffchecker.com/VIc6ukUz/
Next PRs: add cuBlas as an alternative to awq-gemm as discussed in #2566 (comment)