triton-ascend-case-reduction-weighted-swiglu

Community

Optimize 3D fused operators on Ascend with SwiGLU

Authorxchang1121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Accelerates the backward fusion of 3D tensor operators by reshaping dimensions to simplify parallelism and memory access on Ascend devices.

Core Features & Use Cases

  • Reshape-based dimensionality reduction to merge the first two axes and streamline kernel scheduling.
  • Two-stage partitioning of the reduce axis to maximize unit occupancy while avoiding UB.
  • Autotune-driven configuration exploration for grids and blocks to find optimal performance on Atlas A2/A3.
  • Applicable to 3D tensor workloads with elementwise operations fused with a final reduce.

Quick Start

Run the autotune workflow to benchmark configurations and select the best setup for your 3D SwiGLU backward fusion on Ascend.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: triton-ascend-case-reduction-weighted-swiglu
Download link: https://github.com/xchang1121/AutoResearch-CC-hook/archive/main.zip#triton-ascend-case-reduction-weighted-swiglu

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.