Skip to content

[Bugfix] Increase the shape of w4afp8 gemm#5957

Merged
EmmonsCurse merged 3 commits intoPaddlePaddle:developfrom
yangjianfengo1:20260108_w4afp8_dev
Jan 9, 2026
Merged

[Bugfix] Increase the shape of w4afp8 gemm#5957
EmmonsCurse merged 3 commits intoPaddlePaddle:developfrom
yangjianfengo1:20260108_w4afp8_dev

Conversation

@yangjianfengo1
Copy link
Contributor

@yangjianfengo1 yangjianfengo1 commented Jan 8, 2026

Motivation

w4afp8的gemm为了性能,将gemm的shape 编译为模板参数了,为了报错,增加gemm 编译的shape

Modifications

Usage or Command

Accuracy Tests

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@paddle-bot
Copy link

paddle-bot bot commented Jan 8, 2026

Thanks for your contribution!

@yangjianfengo1 yangjianfengo1 changed the title 增加w4afp8 shape [Bugfix] Increase the shape of w4afp8 gemm Jan 8, 2026
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@6825903). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #5957   +/-   ##
==========================================
  Coverage           ?   67.04%           
==========================================
  Files              ?      348           
  Lines              ?    44652           
  Branches           ?     6867           
==========================================
  Hits               ?    29939           
  Misses             ?    12504           
  Partials           ?     2209           
Flag Coverage Δ
GPU 67.04% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@EmmonsCurse EmmonsCurse merged commit 16e1992 into PaddlePaddle:develop Jan 9, 2026
18 of 21 checks passed
EmmonsCurse pushed a commit that referenced this pull request Jan 9, 2026
* 增加w4afp8 gemm shape

* 增加w4afp8 shape

* code style

* code style
chang-wenbin pushed a commit to chang-wenbin/FastDeploy that referenced this pull request Mar 2, 2026
* 增加w4afp8 shape

* 增加w4afp8 shape

* code style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants