CompilerGym is a library providing easy-to-use reinforcement learning environments for compiler tasks. It allows machine learning researchers to tackle important optimization problems in compilers without needing extensive compiler knowledge. Its main goal is to serve as a catalyst for enhancing compiler efficiency using machine learning. CompilerGym features various environments including LLVM and GCC, and supports both Python and C++ APIs for development. The library is designed to simplify experimentation for AI researchers and contributes to improving compiler performance by exposing optimization processes.
• allows control over compiler decision processes
• facilitates ai research in compiler optimization
• easy-to-use python and c++ apis
• supports llvm, gcc, and custom environments
• reinforcement learning environments for compilers
CompilerGym lets you control the decisions that a compiler makes when optimizing a program. You can manage optimization pass selections, flag settings for compilers, and control optimization processes.
No, while CompilerGym is structured around a gym interface popular in reinforcement learning, you can use any technique such as genetic algorithms or supervised learning.
CompilerGym uses specific directories for caching datasets and storing user data. Check the documentation for environment variable settings to customize storage.
First create a minimal reproducible example and check the logging output. You can also enable verbose logging for more detailed debug information.
Please file an issue on the GitHub issue tracker.
Average Rating: 0.0
5 Stars:
0 Ratings
4 Stars:
0 Ratings
3 Stars:
0 Ratings
2 Stars:
0 Ratings
1 Star:
0 Ratings
No ratings available.
A federated AI framework that integrates decentralized data sources for AI development.
View Details