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

[llvm] Add IR2Vec as an observation space #560

Open
wants to merge 20 commits into
base: development
Choose a base branch
from

Conversation

ChrisCummins
Copy link
Contributor

@ChrisCummins ChrisCummins commented Feb 2, 2022

This adds support for IR2Vec to CompilerGym's LLVM environments.

Credit to co-author @anilavakundu!

This PR supersedes #615. Fixes #449.

@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 Feb 2, 2022
@codecov-commenter
Copy link

codecov-commenter commented Feb 2, 2022

Codecov Report

Merging #560 (adce428) into development (c5b9289) will decrease coverage by 0.34%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development     #560      +/-   ##
===============================================
- Coverage        88.75%   88.41%   -0.35%     
===============================================
  Files              115      115              
  Lines             7019     7019              
===============================================
- Hits              6230     6206      -24     
- Misses             789      813      +24     
Impacted Files Coverage Δ
compiler_gym/envs/compiler_env.py 88.39% <0.00%> (-3.96%) ⬇️
compiler_gym/views/observation.py 97.29% <0.00%> (-2.71%) ⬇️
compiler_gym/envs/llvm/datasets/cbench.py 79.42% <0.00%> (-1.09%) ⬇️
compiler_gym/service/connection.py 77.04% <0.00%> (-0.99%) ⬇️
compiler_gym/envs/gcc/service/gcc_service.py 96.70% <0.00%> (-0.37%) ⬇️
...loop_tool/service/loop_tool_compilation_session.py 90.47% <0.00%> (ø)

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 c5b9289...adce428. Read the comment docs.

@ChrisCummins ChrisCummins changed the title [WIP] Add support for IR2Vec [llvm] Add IR2Vec as an observation space Mar 17, 2022
@ChrisCummins ChrisCummins marked this pull request as ready for review March 17, 2022 18:38
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.

Add IR2Vec observation space
4 participants