Skip to content

[WIP] x86/arm/mips/loongarch/riscv gemm block quantization optimization#6831

Draft
nihui wants to merge 23 commits into
Tencent:masterfrom
nihui:block-quantization-opt
Draft

[WIP] x86/arm/mips/loongarch/riscv gemm block quantization optimization#6831
nihui wants to merge 23 commits into
Tencent:masterfrom
nihui:block-quantization-opt

Conversation

@nihui

@nihui nihui commented Jul 16, 2026

Copy link
Copy Markdown
Member

No description provided.

@tencent-adm

Copy link
Copy Markdown
Member

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@nihui nihui mentioned this pull request Jul 22, 2026
6 tasks
@github-actions github-actions Bot added the test label Jul 22, 2026
@github-actions

Copy link
Copy Markdown

Please enable github action in YOUR FORKED REPO to make code-format workflow work

@nihui
nihui force-pushed the block-quantization-opt branch from edd30f4 to 2a17696 Compare July 23, 2026 03:16
@codecov-commenter

codecov-commenter commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.54149% with 593 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.75%. Comparing base (dda2e28) to head (ece184f).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/layer/arm/multiheadattention_arm.cpp 73.00% 115 Missing ⚠️
src/layer/x86/multiheadattention_x86.cpp 72.98% 114 Missing ⚠️
src/layer/riscv/multiheadattention_riscv.cpp 84.14% 72 Missing ⚠️
...c/layer/loongarch/multiheadattention_loongarch.cpp 80.87% 57 Missing ⚠️
src/layer/mips/multiheadattention_mips.cpp 80.87% 57 Missing ⚠️
src/layer/arm/gemm_arm.cpp 87.41% 37 Missing ⚠️
src/layer/riscv/gemm_riscv.cpp 87.25% 33 Missing ⚠️
src/layer/x86/gemm_x86.cpp 87.87% 32 Missing ⚠️
src/layer/loongarch/gemm_loongarch.cpp 87.44% 29 Missing ⚠️
src/layer/mips/gemm_mips.cpp 87.65% 29 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6831      +/-   ##
==========================================
- Coverage   95.10%   92.75%   -2.36%     
==========================================
  Files         947      959      +12     
  Lines      417208   471478   +54270     
==========================================
+ Hits       396796   437308   +40512     
- Misses      20412    34170   +13758     

☔ View full report in Codecov by Harness.
📢 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.

@nihui
nihui force-pushed the block-quantization-opt branch from 75f6caa to cbadaa0 Compare July 23, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants