
CompilerGym is a library of easy to use and performant reinforcement learning environments for compiler tasks. It allows ML researchers to interact with important compiler optimization problems in a language and vocabulary with which they are comfortable, and provides a toolkit for systems developers to expose new compiler tasks for ML research. We aim to act as a catalyst for making compilers faster using ML.
User Guide
Environments
Python API Reference
- compiler_gym
- compiler_gym.datasets
- compiler_gym.envs
- compiler_gym.envs.gcc
- compiler_gym.envs.llvm
- compiler_gym.leaderboard
- compiler_gym.service
- compiler_gym.service.runtime
- compiler_gym.spaces
- compiler_gym.views
- compiler_gym.wrappers
C++ API Reference