LEEUNITYAssets / Content / 博客.asset
层级
⌄ Lee / Homepage
INSPECTOR
Type
Content
Name
博客
lee@mtftm.com ↗GitHub ↗
N037GPGPU / TRITION REPORT

技术 / English

Triton Usage Experience and Performance Analysis

Triton is a GPGPU programming framework optimized for deep learning. Simple and high-performance , efficientl…

更新
2025.05.05
阅读
1 分钟
语言
English

Overview

Triton is a GPGPU programming framework optimized for deep learning. Simple and high-performance, efficiently developed using the Python environment~

Installation and Usage

Use pip.

uv pip install triton
import triton

@triton.jit
...

Performance Optimization

Adjust Thread Block Size

vecadd: BLOCK_SIZE = 16

vecadd: BLOCK_SIZE = 32