Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

CompilerGym: Robust, Performant Compiler Optimization Environments for AI Research (2109.08267v2)

Published 17 Sep 2021 in cs.PL, cs.AI, cs.LG, and cs.PF

Abstract: Interest in applying AI techniques to compiler optimizations is increasing rapidly, but compiler research has a high entry barrier. Unlike in other domains, compiler and AI researchers do not have access to the datasets and frameworks that enable fast iteration and development of ideas, and getting started requires a significant engineering investment. What is needed is an easy, reusable experimental infrastructure for real world compiler optimization tasks that can serve as a common benchmark for comparing techniques, and as a platform to accelerate progress in the field. We introduce CompilerGym, a set of environments for real world compiler optimization tasks, and a toolkit for exposing new optimization tasks to compiler researchers. CompilerGym enables anyone to experiment on production compiler optimization problems through an easy-to-use package, regardless of their experience with compilers. We build upon the popular OpenAI Gym interface enabling researchers to interact with compilers using Python and a familiar API. We describe the CompilerGym architecture and implementation, characterize the optimization spaces and computational efficiencies of three included compiler environments, and provide extensive empirical evaluations. Compared to prior works, CompilerGym offers larger datasets and optimization spaces, is 27x more computationally efficient, is fault-tolerant, and capable of detecting reproducibility bugs in the underlying compilers. In making it easy for anyone to experiment with compilers - irrespective of their background - we aim to accelerate progress in the AI and compiler research domains.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (12)
  1. Chris Cummins (23 papers)
  2. Bram Wasti (6 papers)
  3. Jiadong Guo (10 papers)
  4. Brandon Cui (8 papers)
  5. Jason Ansel (5 papers)
  6. Sahir Gomez (1 paper)
  7. Somya Jain (6 papers)
  8. Jia Liu (369 papers)
  9. Olivier Teytaud (45 papers)
  10. Benoit Steiner (17 papers)
  11. Yuandong Tian (128 papers)
  12. Hugh Leather (23 papers)
Citations (62)

Summary

We haven't generated a summary for this paper yet.