-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #161 from facebookresearch/eval-policy
[leaderboard] Move leaderboard utility modules into compiler_gym namespace
- Loading branch information
Showing
18 changed files
with
256 additions
and
121 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright (c) Facebook, Inc. and its affiliates. | ||
# | ||
# This source code is licensed under the MIT license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
load("@rules_python//python:defs.bzl", "py_library") | ||
|
||
py_library( | ||
name = "leaderboard", | ||
srcs = ["__init__.py"], | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
":llvm_instcount", | ||
], | ||
) | ||
|
||
py_library( | ||
name = "llvm_instcount", | ||
srcs = ["llvm_instcount.py"], | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"//compiler_gym:compiler_env_state", | ||
"//compiler_gym/bin:validate", | ||
"//compiler_gym/envs", | ||
"//compiler_gym/util", | ||
], | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright (c) Facebook, Inc. and its affiliates. | ||
# | ||
# This source code is licensed under the MIT license found in the | ||
# LICENSE file in the root directory of this source tree. | ||
"""This package contains modules that can be used for preparing leaderboard | ||
submissions. | ||
We provide `leaderboards | ||
<https://github.com/facebookresearch/CompilerGym#leaderboards>`_ to track the | ||
performance of user-submitted algorithms on compiler optimization tasks. The | ||
goal of the leaderboards is to provide a venue for researchers to promote their | ||
work, and to provide a common framework for evaluating and comparing different | ||
approaches. We accept submissions to the leaderboards through pull requests, see | ||
`here | ||
<https://facebookresearch.github.io/CompilerGym/contributing.html#leaderboard-submissions>`_ | ||
for instructions. | ||
""" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
compiler_gym.leaderboard | ||
======================== | ||
|
||
.. automodule:: compiler_gym.leaderboard | ||
|
||
LLVM Instruction Count | ||
---------------------- | ||
|
||
.. automodule:: compiler_gym.leaderboard.llvm_instcount | ||
:members: |
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
Oops, something went wrong.