triton-cuda-examples-torch

Community

High-performance Triton CUDA examples for PyTorch

Authorxchang1121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The collection provides complete Triton CUDA kernel examples integrated with PyTorch, enabling developers to implement and experiment with high-performance GPU kernels within PyTorch models.

Core Features & Use Cases

  • Vectorized Triton kernels for common ops such as vector_add, matmul, layer_norm, and softmax, plus multi-kernel workflows.
  • Demonstrates how to wrap Triton kernels inside PyTorch models using patterns akin to torch.autograd.Function for custom ops.
  • Use cases include research prototyping, performance tuning of kernels, and education for learning Triton integration with PyTorch.

Quick Start

Run the provided PyTorch + Triton examples to study and integrate high-performance CUDA kernels into your models.

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

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.