You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Make kernel benchmarks feature-complete & add them to CI #593
In aiter/op_tests/op_benchmarks/triton, we have a number of benchmarking scripts that we're currently running to test specific kernels. There are a few missing features:
Splitting FF layers into their two projection components (fc1, fc2)
Not all GEMMs are benchmarked (e.g fp16)
Rope, routing, topk, layernorm, mha don’t support --model as a flag.
Tensor parallel testing isn’t present.
We'd like to move towards an end-to-end testing script. For example, running bench_model --model llama3-8B should automatically benchmark all Triton kernels used within the Llama model.
As such, we'd like to add:
Benchmarking a full model end-to-end (e.g running bench_model -model llama3-8B to automatically benchmark all Triton kernels used within said model)
Allows for easy comparison with Torch / VLLM full-model timing results
Estimate the amount of time a model should take to conduct a forward / backward pass if there were no additional overhead beyond the kernel runtimes.
Adding additional models. Honestly, maybe it’s plausible to support arbitrary models from Huggingface by scraping their configs and adding them to op_benchmarks/triton/utils/model_configs.json?
The data distribution generated by the testing script is a random distribution - it’d be good to get a more realistic distribution for sparse kernels.
Activity
MegaMoE: probe mori once, and decide everything before the arena exists
MegaMoE: probe mori once, and decide everything before the arena exists
[Triton/Gluon] [FlyDSL] [CI] [MoE] MegaMoE gfx1250: stage1/stage2 swi…
[Triton/Gluon] [FlyDSL] [CI] [MoE] MegaMoE gfx1250: stage1/stage2 swi…
[Triton/Gluon] [FlyDSL] [CI] [MoE] MegaMoE gfx1250: stage1/stage2 swi…