meta-pytorch/tritonbench

Tritonbench is a collection of PyTorch custom operators with example inputs to measure their performance.

What it solves

TritonBench provides a standardized way to evaluate the performance of Triton and its integration with PyTorch, ensuring that operators are running efficiently on the hardware.

How it works

It is a collection of PyTorch operators that can be run as a benchmark suite. It integrates kernels from various sources, including Flash-Attention, FBGEMM, and Liger-Kernel, to measure the execution speed and performance of specific operations (such as GEMM).

Who it’s for

Developers and researchers working with Triton and PyTorch who need to benchmark the performance of GPU kernels and operators.

Highlights

  • Supports a wide range of operators via integrated submodules.
  • Can be used as a standalone command-line tool or installed as a library for custom scripts.
  • Integrates with multiple backend projects like CUTLASS and Flash-Attention.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch