Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CompilerGym v0.2.3 #632

Merged
merged 9 commits into from
Mar 18, 2022
Merged

CompilerGym v0.2.3 #632

merged 9 commits into from
Mar 18, 2022

Conversation

ChrisCummins
Copy link
Contributor

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 TextSizeInBytes observation space for LLVM (#575).
  • Fixed a bug in which temporary directories created by the LLVM environment were not cleaned up (#592).
  • [Backend] The function createAndRunCompilerGymService now returns an int, which is the exit return code (#592).
  • Improvements to the examples documentation (#548) and FAQ (#586)

Deprecations and breaking changes:

  • CompilerEnv.step no longer accepts a list of actions (#627). A new method, CompilerEnv.multistep provides this functionality. This is to provide compatibility with environments whose action spaces are lists. To update your code, replace any calls to env.step() which take a list of actions to use env.multistep(). Thanks @sogartar!
  • The arguments observations and rewards to step() have been renamed observation_spaces and reward_spaces, respectively (#627).
  • Reward.id has been renamed Reward.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: v0.2.2...v0.2.3

EC2 Default User and others added 9 commits March 14, 2022 16:47
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 TextSizeInBytes observation space for LLVM.

- Added a new PPO leaderboard entry

- Fixed a bug in which temporary directories created by the LLVM environment
  were not cleaned up.

- The function createAndRunCompilerGymService() now returns an int, which is the
  exit return code.

- Improvements to the examples documentation and FAQ.

Deprecations and breaking changes:

- CompilerEnv.step no longer accepts a list of actions. A new method,
  CompilerEnv.multistep provides this functionality. This is to provide
  compatibility with environments whose action spaces are lists. To update your
  code, replace any calls to env.step() which take a list of actions to use
  env.multistep().

- The arguments observations and rewards to step() have been renamed
  observation_spaces and reward_spaces, respectively.

- Reward.id has been renamed Reward.name.

- The backend protocol buffer schema has been updated to natively support more
  types of observation and action, and to support nested spaces.
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 18, 2022
@ChrisCummins ChrisCummins merged commit e6130db into development Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants