mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #468] [CLOSED] [DeepGEMM] retire actlize v0.5.0 and use v1.0.0 only #471
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepGEMM#471
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/468
Author: @chenchu-zs
Created: 10/12/2026
Status: ❌ Closed
Base:
main← Head:feature/chenchu.zs-dev📝 Commits (10+)
a741d37Deepgemm for PPU203be8f[DeepGemm]: fix mqa_logits kv stride728e997[DeepGemm]: Optimize fp4 TP GEMM2 performance1900ec2[mqa_logits]: fix nan in int8 with bf16 output116bfad[fused moe]: compile-time topk for moe_align, 7-item fused configf9255c3Fix einsum compilation error7130433[FP4] Fine-tune dynamic tile logic to optimize Qwen3.8 gemm1/gemm2 EP performance4e519b5docs: add PPU overview to READMEcb4e42f[mqa_logits]: multiple updates and refactorings6bdbd2ffeat(densegemm): adaptive tile select for bf16/int8, split dense gemm from moe gemm📊 Changes
236 files changed (+141499 additions, -3158 deletions)
View changed files
➕
.github/workflows/ci-deepgemm.yml(+49 -0)➕
.github/workflows/deepgemm-ut-test-ppu.yml(+156 -0)➕
.github/workflows/scripts/casecmd_810e.list(+14 -0)➕
.github/workflows/scripts/casecmd_890p.list(+16 -0)➕
.github/workflows/scripts/display-test-summary.py(+180 -0)➕
.github/workflows/scripts/generate-env-info.py(+66 -0)➕
.github/workflows/scripts/pr-deepgemm-ut.py(+212 -0)📝
.gitignore(+11 -2)📝
.gitmodules(+8 -3)➕
CHANGELOG.md(+44 -0)➖
CMakeLists.txt(+0 -44)📝
LICENSE(+20 -0)📝
README.md(+147 -98)➕
csrc/apis/attention.hpp(+641 -0)➕
csrc/apis/einsum.hpp(+175 -0)➕
csrc/apis/gemm.hpp(+1727 -0)➕
csrc/apis/hyperconnection.hpp(+64 -0)➕
csrc/apis/layout.hpp(+69 -0)➕
csrc/apis/runtime.hpp(+71 -0)➕
csrc/indexing/main.cu(+9 -0)...and 80 more files
📄 Description
Summary
This PR removes the legacy
actlize_v0.5.0implementation and makesactlize_v1.0.0the only PPU implementation in DeepGEMM-for-sail.It removes approximately 2,900 lines of legacy code and configuration while
preserving the existing v1.0.0 behavior on PPU1.0 and PPU1.5.
Motivation
All migration-scope
actlize_v1.0.0paths have passed correctness andperformance qualification on ZW810E:
Maintaining v0.5.0 requires duplicated kernels, compiler include routing,
packaging logic, and an environment-variable selector.
The old implementation also cannot support functionality such as the plain
[B, M, N]Einsum output layout.Changes
Remove actlize v0.5.0
third-party/actlize_v0.5.0submodule.Remove version selection
DG_USE_ACTLIZE_V100anduse_actlize_v100.ActlizeLiband per-kernel actlize include selection.actlize_v1.0.0by default.Preserve device-specific v1.0.0 routing
preserved.
Preserve recent main-branch behavior
The branch was rebased onto
main@356e9a7and preserves:bhr,hdr->hbdoutput-layout supportBehavior change
DG_USE_ACTLIZE_V100is no longer supported or required.actlize_v1.0.0is now selected unconditionally. There is no v0.5.0fallback.
No public Python API is changed.
Validation
Static checks
Confirmed that tracked source files no longer reference:
actlize_v0.5.0DG_USE_ACTLIZE_V100use_actlize_v100ActlizeLibAdditional checks:
ZW810E correctness
Validated from commit
bd07b6bafter rebuilding, withDG_USE_ACTLIZE_V100unset:No test reported an execution error, traceback, assertion failure, numerical
mismatch, segmentation fault, or invalid test dispatch.
Performance qualification
The v1.0.0 implementation was qualified against v0.5.0 before removing the
legacy implementation:
bhr,hdr->bhdThe cleanup does not change the selected v1.0.0 kernels. Performance was not
remeasured after deleting the unused v0.5.0 implementation.
Reviewer notes
Please focus on:
Out of scope
The pending actlize epilogue R2S-copy optimization is not included in this
PR and should be reviewed separately in the actlize repository.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.