The Next 700 ML-Enabled Compiler Optimizations
S. VenkataKeerthy, Siddharth Jain, Umesh Kalvakuntla et al. · ACM SIGPLAN International Conference on Compiler Construction (CC) · 2024
There is a growing interest in enhancing compiler optimizations with ML models, yet interactions between compilers and ML frameworks remain challenging. Some optimizations require tightly coupled models and compiler internals, raising issues with modularity, performance and framework independence. Practical deployment and transparency for the end-user are also important concerns. We propose ML-Compiler-Bridge to enable ML model development within a traditional Python framework while making end-to-end integration with an optimizing compiler possible and efficient. We evaluate it on both research and production use cases, for training and inference, over several optimization problems, multiple compilers and its versions, and gym infrastructures.
Cited by 4 works. doi:10.1145/3640537.3641580 Open-access PDF
Authors
- S. VenkataKeerthy
- Siddharth Jain
- Umesh Kalvakuntla
- Pranav Sai Gorantla
- Rajiv Shailesh Chitale
- Eugene Brevdo
- Albert Cohen
- Mircea Trofin
- Ramakrishna Upadrasta
References
- Proceedings of the 25th international conference on Machine learning - ICML '08
- Deep Reinforcement Learning with Double Q-Learning
- The next 700 programming languages
- A practical automatic polyhedral parallelizer and locality optimizer
- code2vec: learning distributed representations of code
- MLIR: Scaling Compiler Infrastructure for Domain Specific Computation
- Adaptive Optimizing Compilers for the 21st Century
- Milepost GCC: Machine Learning Enabled Self-tuning Compiler
- Predicting Unroll Factors Using Supervised Classification
- Machine Learning in Compiler Optimization