Files
tilelang/examples/flash_decoding/regression_example_flash_decoding.py
Wenhao Xieandyyttt6 ba23181d23 [CI] Add preformance regression test script (#1489)
* [Feature]: Add benchmark scripts for examples

* apply cupti

* fix

* format

* initial commit

* fix

* upd

* upd

* lint

* fix

* fake

* Simplify PR regression test workflow

Removed redundant 'Clean pip environment' steps from the workflow.

* Update test_perf_regression.py

* Enhance regression test bot workflow file handling

Updated the GitHub Actions workflow to improve file handling for the regression test report.

* Update regression test workflow for artifact naming

* Update pr-regression-test-bot.yml

* fix

* lint

* Update performance regression test trigger conditions

---------

Co-authored-by: yyttt6 <1652272478@qq.com>
2025-12-22 16:56:15 +08:00

18 lines
453 B
Python

import tilelang.testing
import example_gqa_decode
import example_mha_inference
def regression_example_gqa_decode():
tilelang.testing.process_func(example_gqa_decode.run_regression_perf)
def regression_example_mha_inference():
tilelang.testing.process_func(
example_mha_inference.run_regression_perf, BATCH=1, H=32, Q_CTX=128, KV_CTX=2048, D_HEAD=128, causal=False
)
if __name__ == "__main__":
tilelang.testing.regression()