← all repositories

facebookresearch/CompilerGym

A library of reinforcement learning environments for compiler and program optimization tasks, developed by Meta/Facebook Research.

1k stars Python ML FrameworksDomain Apps
CompilerGym
Velocity · 7d
+0.5
★ / day
Trend
steady
star history

CompilerGym provides easy-to-use and performant reinforcement learning environments that frame compiler optimization problems in a way familiar to ML practitioners. It wraps compiler toolchains (LLVM, GCC, etc.) as interactive gym-style environments where agents can propose optimizations and receive feedback on metrics like instruction count, compile time, or binary size. This enables ML researchers to apply reinforcement learning, search algorithms, and other ML techniques to practical compiler optimization challenges.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.