triton-cuda-reduce

Community

Efficient Triton CUDA reduce optimizations.

Authorxchang1121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Redesign and implement high-performance CUDA reduction kernels for multi-dimensional tensors using Triton, enabling scalable, numerically stable reductions in ML workloads.

Core Features & Use Cases

  • Provide Triton-based reduction patterns for sum, mean, max/min, softmax, and layernorm-like reductions across arbitrary dimensions.
  • Guidance on numerical stability, block-wise reductions, atomic aggregation, and per-row processing for large tensors.
  • Use cases include fast attention score computations, normalization layers, and summary statistics in large-scale models.

Quick Start

Implement a reduce kernel for a given tensor using the Triton CUDA guide.

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-cuda-reduce
Download link: https://github.com/xchang1121/AutoResearch-CC-hook/archive/main.zip#triton-cuda-reduce

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.