meta-pytorch/tritonbench
meta-pytorch/tritonbench has 375 GitHub stars and 97 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-20 03:41 UTC. Last push 2026-11-12.
計測したスター増加
- 24時間
- 0
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
概要
Tritonbench is a collection of PyTorch custom operators with example inputs to measure their performance.
機械学習README.md
オリジナルTritonBench
TritonBench is a collection of PyTorch operators used to evaluation the performance of Triton, and its integration with PyTorch.
Installation
The benchmark suite should be self-contained of its dependencies. To install, follow the steps below.
Step 1: clone the repository and checkout all submodules
git clone https://github.com/meta-pytorch/tritonbench.git
cd tritonbench
git submodule update --init --recursive
Step 2: run install.py
python install.py
By default, it will install the latest PyTorch nightly release and use the Triton version bundled with it.
Basic Usage
To benchmark an operator, run the following command:
python run.py --op gemm
Install as a library
To install as a library:
pip install -e .
In your own benchmark script:
import tritonbench
from tritonbench.utils import parser
op_args = parser.parse_args()
addmm_bench = tritonbench.load_opbench_by_name("addmm")(op_args)
addmm_bench.run()
Submodules
We depend on the following projects as a source of customized Triton or CUTLASS kernels:
- (CUDA, HIP) generative-recommenders
- (CUDA, HIP) Liger-Kernel
- (CUDA, HIP) tilelang
- (CUDA) flash-attention
- (CUDA) FBGEMM
- (CUDA) ThunderKittens
- (HIP) AITer
License
TritonBench is BSD 3-Clause licensed, as found in the LICENSE file.