Skip to content

Wheest/triton_samples

Repository files navigation


Logo

Triton Samples

Some home-brewed Triton kernels, with varying degrees of optimisation

As I've been exploring Triton, I've written some kernels. I've put some of them here for public use, though note that many of these kernels just implement correctness, rather than using every optimisation under the sun. I do lazy things like fix my block sizes, and may not explore the most sensible grid dimensions. Also note that my implementations might make assumptions, e.g., we are always going to have a given dimension be a multiple of the block size.

Be sure to test this if this is relevant to you.

The code was tested using triton==2.2.0 and torch==2.1.2. This repo has no official connection to the Triton project.

About

A collection of Triton kernels, YMMV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages