Skip to content

Commit

Permalink
CompilerGym v0.2.3
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ChrisCummins committed Mar 18, 2022
1 parent 6d46b78 commit 7bfc578
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ authors:
- family-names: "Leather"
given-names: "Hugh"
title: "CompilerGym"
version: 0.2.2
date-released: 2022-01-19
version: 0.2.3
date-released: 2022-03-18
url: "https://github.com/facebookresearch/CompilerGym"
preferred-citation:
type: article
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.2
0.2.3
2 changes: 1 addition & 1 deletion www/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
compiler_gym==0.2.2
compiler_gym==0.2.3
Flask==2.0.1
Flask-Cors==3.0.10

0 comments on commit 7bfc578

Please sign in to comment.