Skip to content

refactor: migrate base GDN and causal convolution kernels. - #2795

Merged
XuZhang99 merged 1 commit into
xLLM-AI:mainfrom
XuZhang99:refactor/kernel-gdn-causal-conv
Nov 20, 2026
Merged

XuZhang99 merged 1 commit into
xLLM-AI:mainfrom
XuZhang99:refactor/kernel-gdn-causal-conv

Conversation

@XuZhang99

@XuZhang99 XuZhang99 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Package CausalConv1d, CausalConv1dQkv, MegaChunkGdn and RecurrentGatedDeltaRule with their AscendC kernels and tiling code. Pin the PTO-ISA headers used by MegaChunkGdn.
  • Route the Python KDA convolution and GDN prefill entry points through the kernel package. Keep the legacy ACLNN ABI available for packed QKV convolution and recurrent GDN on their supported targets.
  • Remove the old GLM5-Next KDA and NPU paged attention Python test files.

Validation

  • 910B2 passed 475 package NPU tests before rebasing and 68 focused NPU tests after rebasing. The focused tests cover convolution state writes, packed QKV normalization, chunk GDN replay and both legacy ACLNN entry points. After the test removals, all 24 remaining GLM5.3 linear-state I/O tests passed on 910B2.
  • 132 CPU tests passed with 2 skips. The sdist contains the PTO headers, license and GDN include fragments. Ascend910_93 and Ascend950 OPP builds passed. Ascend950 builds the two convolution operators and MegaChunkGdn. Device execution was verified on 910B2.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-20T03:12:33.961727Z
We couldn’t complete this review. Comment @codex review to try again.
8f444ef New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5c7ea2cb5c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@XuZhang99
XuZhang99 force-pushed the refactor/kernel-gdn-causal-conv branch from 5c7ea2c to 8f444ef Compare November 20, 2026 03:01
@XuZhang99
XuZhang99 merged commit a3e2988 into xLLM-AI:main Nov 20, 2026
2 checks passed
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.

2 participants