-
Notifications
You must be signed in to change notification settings - Fork 130
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.2.2 #545
Merged
Merged
Release v0.2.2 #545
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Makefile] Run `pip uninstall` before `pip install`.
Release v0.2.1
The files compiler_gym/envs/llvm/service/passes/*.py are used to generate files that are used during the compiler_gym build. Don't use fully-qualified module paths to emphasize this. Issue #488.
[llvm] Don't use fully-qualified module imports for codegen scripts.
[docs] Add a favicon for CompilerGym documentation site.
This is a temporary commit to force the CI's build cache to clean as it has become corrupted.
[ci] Add a step to empty the build cache.
[github] Add a label to all Issue templates.
[examples] Don't pin typing-extensions version.
Removes the legacy dataset scripts and APIs that have been deprecated since v0.1.8. Please use the new dataset API: https://compilergym.com/compiler_gym/datasets.html#datasets The following has been removed: - The `compiler_gym.bin.datasets` script. - The properties: `CompilerEnv.available_datasets`, and `CompilerEnv.benchmarks`. - The `CompilerEnv.require_dataset()`, `CompilerEnv.require_datasets()`, `CompilerEnv.register_dataset()`, and `CompilerEnv.get_benchmark_validation_callback()` methods.
[Makefile] Build docs from source dir to prevent import error.
Add a new benchmark URI parser and support for all 20 datasets to cBench
Remove deprecated datasets APIs and scripts.
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
Jan 19, 2022
[llvm] Add a table of accepted file types to make_benchmark().
This adds support for `deepcopy(env)`, which has identical semantics to `env.fork()`. Shallow copies are explicitly disallowed as environments cannot share state. Fixes #351.
[docs] Add docstring for compiler_gym.wrappers module.
Codecov Report
@@ Coverage Diff @@
## stable #545 +/- ##
==========================================
+ Coverage 86.53% 87.91% +1.38%
==========================================
Files 113 113
Lines 6393 6486 +93
==========================================
+ Hits 5532 5702 +170
+ Misses 861 784 -77
Continue to review full report at Codecov.
|
ChrisCummins
force-pushed
the
release/v0.2.2
branch
from
January 19, 2022 14:44
fd791a3
to
304e6a4
Compare
ChrisCummins
force-pushed
the
release/v0.2.2
branch
from
January 19, 2022 20:00
304e6a4
to
f9e4b85
Compare
[wrappers] Add a new wrapper to validate benchmark semantics on step().
Amongst the highlights of this release are support for building with CMake and a new compiler environment based on loop unrolling. Many thanks to @sogartar, @mostafaelhoushi, @KyleHerndon, and @yqtianust for code contributions! - Added support for building CompilerGym from source on Linux using **CMake**. The new build system coexists with the bazel build and enables customization over the CMake configuration used to build the LLVM environment. See INSTALL.md for details. Credit: @sogartar, @KyleHerndon. - Added an environment for loop optimizations in LLVM. This new example environment provides control over loop unrolling factors and demonstrates how to build a standalone LLVM binary using the new CMake build system. Credit: @mostafaelhoushi. - Added a new BenchmarkUri class and API for parsing URIs. This enables benchmarks to have optional parameters that can be used by the backend services to modify their behavior. - [llvm] Enabled runtime reward to be calculated on systems where /dev/shm does not permit executables. - [llvm] Added a new benchmark://mibench-v1 dataset and deprecated benchmark://mibench-v0. If you are using mibench-v0, please update to the new version. - [llvm] Enabled all 20 of the cBench runtime datasets to be used by the benchmark://cbench-v1 dataset. - Added support for building CompilerGym from source on macOS Monterey. - Made the site_data_base argument of the Dataset class constructor optional. - Removed the legacy dataset scripts and APIs that were deprecated in v0.1.8. Please use the new dataset API. The following has been removed: - The compiler_gym.bin.datasets script. - The properties: CompilerEnv.available_datasets, and CompilerEnv.benchmarks. - The CompilerEnv.require_dataset(), CompilerEnv.require_datasets(), CompilerEnv.register_dataset(), and CompilerEnv.get_benchmark_validation_callback() methods. - Numerous other bug fixes and improvements.
ChrisCummins
force-pushed
the
release/v0.2.2
branch
from
January 20, 2022 14:19
f9e4b85
to
e52d74c
Compare
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Amongst the highlights of this release are support for building with CMake and a new compiler environment based on loop unrolling. Many thanks to @sogartar, @mostafaelhoushi, @KyleHerndon, and @yqtianust for code contributions!
BenchmarkUri
class and API for parsing URIs (#525). This enables benchmarks to have optional parameters that can be used by the backend services to modify their behavior./dev/shm
does not permit executables (#510).benchmark://mibench-v1
dataset and deprecatedbenchmark://mibench-v0
(#511). If you are usingmibench-v0
, please update to the new version.benchmark://cbench-v1
dataset (#525).site_data_base
argument of theDataset
class constructor optional (#518).compiler_gym.bin.datasets
script.CompilerEnv.available_datasets
, andCompilerEnv.benchmarks
.CompilerEnv.require_dataset()
,CompilerEnv.require_datasets()
,CompilerEnv.register_dataset()
, andCompilerEnv.get_benchmark_validation_callback()
methods.Full Change Log: v0.2.1...v0.2.2