Show HN: Autogenerate efficient backward kernels for Triton
github.com·3h·
Discuss: Hacker News
Flag this post

Triton-Autodiff

⚠️ This project is under active development – it is not yet stable, and not yet feature complete.

This repo aims to take in an arbitrary triton forward stub and generate efficient backward kernels for it.

(Phil)osophy :)

Acknowledging that llms are not currently on par with humans for writing gpu kernels, this tool doesn’t seek to fully automate kernel development, it only tries to automate writing of backward kernel given your fwd kernel. Ultimately you stay in control of writing fwd kernels, and the tool is trying to automate the tedious parts (bwd generation).

Implementation details

Includes a new dataset of 500 fwd-bwd triton stub pairs and all…

Similar Posts

Loading similar posts...