[BugFix] fix gptq_marlin_gemm has no parameter called b_bias#13571
[BugFix] fix gptq_marlin_gemm has no parameter called b_bias#13571AniZpZ merged 14 commits intosgl-project:mainfrom
Conversation
Summary of ChangesHello @ehuaa, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a bug in the FP8 Marlin linear kernel where the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request addresses a bug in apply_fp8_marlin_linear where the gptq_marlin_gemm kernel was called with an unsupported b_bias parameter. The fix correctly removes this parameter from the kernel invocation and applies the bias to the output tensor in a separate step. This change aligns the function's behavior with other similar linear layers in the codebase that use the Marlin kernel. The fix is correct and well-implemented.
|
Hi @AniZpZ @FlamingoPg , if this pr can be merged now? The error in the ci above may not related to this pr |
we can only merge the pr if the required ci passed |
@AniZpZ Thanks, I got it. I merged the main branch into this branch again. Let's wait and see if the CI passes all tests this time~ |
i will take over this pr and make it merged |
…ject#13571) Co-authored-by: Peng Zhang <aniz1905@gmail.com> Co-authored-by: Fan Yin <1106310035@qq.com>
…ject#13571) Co-authored-by: Peng Zhang <aniz1905@gmail.com> Co-authored-by: Fan Yin <1106310035@qq.com>
…ject#13571) Co-authored-by: Peng Zhang <aniz1905@gmail.com> Co-authored-by: Fan Yin <1106310035@qq.com>
Motivation
Need to be merged before this pr #13524, when you use sglang version of fp8 marlin linear kernel, there's a bug to fix here.
Modifications
Accuracy Tests
Benchmarking and Profiling
Checklist