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

Release v0.1.9 #289

Merged
merged 8 commits into from
Jun 4, 2021
Merged

Release v0.1.9 #289

merged 8 commits into from
Jun 4, 2021

Conversation

ChrisCummins
Copy link
Contributor

This release of CompilerGym focuses on backend extensibility and adds a bunch of new features to make it easier to add support for new compilers:

  • Adds a new CompilationSession class encapsulates a single incremental compilation session (#261).
  • Adds a common runtime for CompilerGym services that takes a CompilationSession subclass and handles all the RPC wrangling for you (#270).
  • Ports the LLVM service and example services to the new runtime (#277). This provides a net performance win with fewer lines of code.

Other highlights of this release include:

  • [Core API] Adds a new compiler_gym.wrappers module that makes it easy to apply modular transformations to CompilerGym environments without modifying the environment code (#272).
  • [Core API] Adds a new Datasets.random_benchmark() method for selecting a uniform random benchmark from one or more datasets (#247).
  • [Core API] Adds a new compiler_gym.make() function, equivalent to gym.make() (#257).
  • [LLVM] Adds a new IrSha1 observation space that uses a fast, service-side C++ implementation to compute a checksum of the environment state (#267).
  • [LLVM] Adds 12 new C programs from the CHStone benchmark suite (#284).
  • [LLVM] Adds the anghabench-v1 dataset and deprecated anghabench-v0 (#242).
  • Numerous bug fixes and improvements.

ChrisCummins and others added 8 commits June 3, 2021 18:02
This release of CompilerGym focuses on **backend extensibility** and
adds a bunch of new features to make it easier to add support for new
compilers:

- Adds a new `CompilationSession` class encapsulates a single
incremental compilation session.

- Adds a common runtime for CompilerGym services that takes a
`CompilationSession` subclass and handles all the RPC wrangling for
you.

- Ports the LLVM service and example services to the new runtime. This
provides a net performance win with fewer lines of code.

Other highlights of this release include:

- [Core API] Adds a new `compiler_gym.wrappers` module that makes it
easy to apply modular transformations to CompilerGym environments
without modifying the environment code.

- [Core API] Adds a new `Datasets.random_benchmark()` method for
selecting a uniform random benchmark from one or more datasets.

- [Core API] Adds a new `compiler_gym.make()` function, equivalent to
`gym.make()`.

- [LLVM] Adds a new `IrSha1` observation space that uses a fast,
service-side C++ implementation to compute a checksum of the
environment state.

- [LLVM] Adds 12 new C programs from the CHStone benchmark suite.

- [LLVM] Adds the `anghabench-v1` dataset and deprecated
`anghabench-v0`.

- Numerous bug fixes and improvements.
@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 Jun 3, 2021
@codecov-commenter
Copy link

codecov-commenter commented Jun 4, 2021

Codecov Report

Merging #289 (ba182a4) into development (e53ad52) will increase coverage by 18.72%.
The diff coverage is 78.29%.

Impacted file tree graph

@@               Coverage Diff                @@
##           development     #289       +/-   ##
================================================
+ Coverage        63.73%   82.45%   +18.72%     
================================================
  Files               77       87       +10     
  Lines             5565     4760      -805     
================================================
+ Hits              3547     3925      +378     
+ Misses            2018      835     -1183     
Impacted Files Coverage Δ
compiler_gym/bin/manual_env.py 80.79% <0.00%> (ø)
compiler_gym/service/proto/__init__.py 100.00% <ø> (ø)
compiler_gym/spaces/__init__.py 100.00% <ø> (ø)
compiler_gym/spaces/named_discrete.py 94.73% <ø> (ø)
...er_gym/third_party/inst2vec/inst2vec_preprocess.py 74.23% <ø> (+58.34%) ⬆️
compiler_gym/third_party/inst2vec/rgx_utils.py 86.53% <ø> (+20.82%) ⬆️
...mpiler_gym/service/runtime/compiler_gym_service.py 22.00% <22.00%> (ø)
compiler_gym/third_party/llvm/__init__.py 96.15% <50.00%> (+0.15%) ⬆️
compiler_gym/service/compilation_session.py 64.70% <64.70%> (ø)
compiler_gym/service/connection.py 74.02% <70.83%> (-0.89%) ⬇️
... and 58 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e53ad52...ba182a4. Read the comment docs.

@ChrisCummins ChrisCummins merged commit ecd1b62 into development Jun 4, 2021
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.

3 participants