Reproduce “Fast Cross-Operator Optimization of Attention Dataflow” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Haodong Chang, Hailiang Hu, Zhenrui Wang, Yu Gong, Rongjian Liang, Zhexiang Tang, Bo Yuan, Jiang Hu
MMEE, a framework for cross-operator dataflow optimization, systematically explores attention workloads to identify energy-efficient and low-latency mappings for AI accelerators. It achieves up to 343x faster optimization speed while reducing energy by 50% and latency by 69% compared to state-of-the-art methods.
Key insights
- A comprehensive decision space, including flexible buffer management and recomputation, is crucial for unlocking significant energy and latency reductions in attention dataflow.
- An entirely analytical and branch-free performance model drastically accelerates the evaluation of dataflow candidates, making exhaustive search feasible for complex workloads.
- Decoupling the decision space and leveraging matrix-based evaluation, combined with effective symbolic pruning, enables both rapid optimization and a guarantee of optimality.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.