CompilerGym v0.2.3
This release brings in deprecating changes to the core env.step() routine, and lays the groundwork for enabling new types of compiler optimizations to be exposed through CompilerGym. Many thanks to code contributors: @mostafaelhoushi, @sogartar, @KyleHerndon, @uduse, @parthchadha, and @xtremey!
Highlights of this release include:
- Added a new
TextSizeInBytesobservation space for LLVM (#575).
- Added a new PPO leaderboard entry (#580). Thanks @xtremey!
- Fixed a bug in which temporary directories created by the LLVM environment were not cleaned up (#592).
- [Backend] The function
createAndRunCompilerGymServicenow returns an int, which is the exit return code (#592). - Improvements to the examples documentation (#548) and FAQ (#586)
Deprecations and breaking changes:
CompilerEnv.stepno longer accepts a list of actions (#627). A new method,CompilerEnv.multistepprovides this functionality. This is to provide compatibility with environments whose action spaces are lists. To update your code, replace any calls toenv.step()which take a list of actions to useenv.multistep(). Thanks @sogartar!- The arguments
observationsandrewardstostep()have been renamedobservation_spacesandreward_spaces, respectively (#627). Reward.idhas been renamedReward.name(#565, #612). Thanks @parthchadha!
- The backend protocol buffer schema has been updated to natively support more types of observation and action, and to support nested spaces (#531). Thanks @sogartar!
Full Changelog: https://github.com/facebookresearch/CompilerGym/compare/v0.2.2...v0.2.3