triton-ascend-case-reduction-sum-large

Community

Optimize large-scale 2D reductions on Ascend

Authorxchang1121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Large-scale 2D reduction workloads in Triton-Ascend kernels suffer from excessive reduction calls on small axes; this Skill reorganizes computation to maximize UB occupancy and minimize reduction steps, delivering faster performance for very large non-reduce axes.

Core Features & Use Cases

  • Autotune configurations explore different tile sizes (e.g., BLOCK_SIZE_M and BLOCK_SIZE_N) to balance compute and memory.
  • Compute-tiling optimizations that reorganize reduction to reduce the number of iterations.
  • Applicable to 2D reductions with extremely large non-reduce axes and moderate reduce axes, achieving significant latency improvements.

Quick Start

Run autotuning on the Triton Ascend kernel to discover optimal BLOCK_SIZE_M and BLOCK_SIZE_N settings for large non-reduce axes.

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-sum-large
Download link: https://github.com/xchang1121/AutoResearch-CC-hook/archive/main.zip#triton-ascend-case-reduction-sum-large

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.