python setup.py build_ext --inplaceuv run -m benchmark.flash_attnThe benchmark results will be saved to ./benchmark/ directory, including:
Benchmark Configuration:
- Batch size (B): 4
- Number of heads (H): 32
- Head dimension (D): 64
- Causal: False
Performance Results (TFLOPS):
Benchmark tested on A10 GPU
CUTLASS version: v4.2.1
mkdir build && cd build
cmake ..
make.venv/bin/activate
TRITON_INTERPRET=1 python -m pdb csrc/triton/matmul.py