Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CompilerGym v0.2.5 #773

Merged
merged 56 commits into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
0ed3447
Creating the Jotai benchmark.
canesche Jun 4, 2022
7f808c3
Creating the Jotai benchmark.
canesche Jun 4, 2022
cd3b124
[docs] Add Terms of Use and Privacy Policy links.
ChrisCummins Jun 9, 2022
64f4ab6
[docs] Update Copyright name.
ChrisCummins Jun 9, 2022
8d397ef
Merge pull request #701 from ChrisCummins/fix/tos
ChrisCummins Jun 9, 2022
ef83d9b
[docs] Bump the theme version for updated GA tracking.
ChrisCummins Apr 19, 2022
ed9107d
Merge pull request #710 from ChrisCummins/feature/ga-stable
ChrisCummins Jun 13, 2022
f76263a
removing test_jotai.py
canesche Jun 16, 2022
4c300eb
removing TODOs
canesche Jun 16, 2022
79e6a0b
Correction bugs and update tests
canesche Jul 19, 2022
9b19da4
update jotaibench with some correction
canesche Jul 19, 2022
d5441b1
Correction benchmark
canesche Jul 19, 2022
1deb2df
files formated with pre-commit run --all-files
canesche Jul 19, 2022
d3c6524
Merge branch 'facebookresearch:development' into jotaibench
canesche Jul 19, 2022
b83b056
Merge branch 'facebookresearch:development' into jotaibench
canesche Aug 8, 2022
97d3d7d
correction format bazel buildfier
canesche Aug 8, 2022
b0cf6cf
Updating files with CLI correction and test from jotai benchmarks.
canesche Aug 14, 2022
0370aeb
Merge branch 'facebookresearch:development' into jotaibench
canesche Aug 14, 2022
c11d53d
Merge branch 'facebookresearch:development' into jotaibench
canesche Aug 19, 2022
e66ab79
Correction link to download of benchmark and test
canesche Aug 19, 2022
a65d25c
adding darwin manifest url
canesche Aug 19, 2022
ac1b52d
[tests] Add a unit test to repro #756.
ChrisCummins Aug 22, 2022
6fa1b9b
[llvm] Fix the number of runtime observations in reward reset.
ChrisCummins Aug 22, 2022
8299a58
removing deprecated dataset in the same PR
canesche Aug 23, 2022
d406c06
[llvm] Set runtime observation count after catching exception
ChrisCummins Aug 23, 2022
a364852
[tests] Ignore deprecation warning from gym.
ChrisCummins Aug 23, 2022
f82089f
replacing jotaibench's version v1 to v0
canesche Aug 23, 2022
17348dd
[tests] Filter deprecation warnings.
ChrisCummins Oct 5, 2022
685abce
Remove use of __slots__ in classes.
ChrisCummins Oct 5, 2022
027b58d
[ci] Don't run unrolling service tests during build.
ChrisCummins Oct 5, 2022
741d745
[examples] Bump ray dependency to mitigate numpy workaround.
ChrisCummins Oct 5, 2022
1aec7cb
Merge branch 'fix/756' into release/v0.2.5
ChrisCummins Oct 5, 2022
45a4147
[tests] Remove redundant filter on deprecation warning.
ChrisCummins Oct 5, 2022
795ca79
[spaces] Prohibit empty named discrete spaces.
ChrisCummins Oct 5, 2022
3142419
Permit gym v0.21.
ChrisCummins Oct 6, 2022
ef23178
[core] Prevent benchmark attribute setting outside of constructor.
ChrisCummins Oct 12, 2022
cf039b6
Pin importlib-metadata version for python < 3.8.
ChrisCummins Oct 12, 2022
97fc5aa
[tests] Fix regex matching argument.
ChrisCummins Oct 12, 2022
0f84761
[examples] Update module path for A2C agent in ray.
ChrisCummins Oct 12, 2022
f001059
[ci] Update actions to node v16 from v12.
ChrisCummins Nov 1, 2022
142ac8e
[packaging] Use pip's requirements parser to install deps.
ChrisCummins Nov 1, 2022
2ae85a1
[examples] Fix the A2CTrainer module path.
ChrisCummins Nov 1, 2022
27865a4
[tests] Update benchmark attribute test.
ChrisCummins Nov 1, 2022
3351f9a
Add a $(TEST_TARGET) option to examples Makefile.
ChrisCummins Nov 1, 2022
3f6b286
[examples] Rename example-v0 to example-v1.
ChrisCummins Nov 1, 2022
b927a61
CompilerGym v0.2.5.
ChrisCummins Nov 1, 2022
b36af8a
Merge branch 'jotaibench' into release/v0.2.5
ChrisCummins Nov 1, 2022
160e883
Updates and fixes for jotai benchmark dataset.
ChrisCummins Nov 1, 2022
a664d33
Rename example-v1 to compiler-example-v0.
ChrisCummins Nov 1, 2022
c436418
[llvm] Fix name of dataset in test.
ChrisCummins Nov 2, 2022
a48c9f5
Drop support for Python 3.6.
ChrisCummins Nov 2, 2022
24c7c30
Add changelog for CompilerGym v0.2.5.
ChrisCummins Nov 2, 2022
3d8ae50
[docs] Remove empty link.
ChrisCummins Nov 2, 2022
9ac9284
[docs] Update sphinx dependency version.
ChrisCummins Nov 2, 2022
fd26fd5
[tests] Update environment test name.
ChrisCummins Nov 2, 2022
64bdd6c
Merge pull request #767 from facebookresearch/release/v0.2.5
ChrisCummins Nov 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Evaluate artifact name
run: |
echo "ARTIFACT=compiler_gym-$(cat VERSION)" >> $GITHUB_ENV
echo "Artifact name is $ARTIFACT"

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down Expand Up @@ -60,17 +60,17 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
python: [3.6, 3.7, 3.8, 3.9]
python: [3.7, 3.8, 3.9, '3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Evaluate artifact name
run: |
echo "ARTIFACT=compiler_gym-$(cat VERSION)" >> $GITHUB_ENV
echo "Artifact name is $ARTIFACT"

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand All @@ -94,4 +94,4 @@ jobs:
uses: ./.github/actions/install-runtime-dependencies

- name: Run the examples tests
run: make -C examples test
run: make -C examples test PYTEST_ARGS="--ignore loop_optimizations_service --ignore example_unrolling_service"
88 changes: 44 additions & 44 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand All @@ -43,9 +43,9 @@ jobs:
build-linux-cmake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -115,9 +115,9 @@ jobs:
build-mlir-env-linux-cmake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -167,9 +167,9 @@ jobs:
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -197,12 +197,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [3.6, 3.7, 3.8, 3.9, '3.10']
python: [3.7, 3.8, 3.9, '3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -236,10 +236,10 @@ jobs:
matrix:
python: ['3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -294,12 +294,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [3.6, 3.7, 3.8, 3.9, '3.10']
python: [3.7, 3.8, 3.9, '3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -328,10 +328,10 @@ jobs:
matrix:
python: [3.8, 3.9, '3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -363,12 +363,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [3.6, 3.7, 3.8, 3.9, '3.10']
python: [3.7, 3.8, 3.9, '3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -399,10 +399,10 @@ jobs:
matrix:
python: ['3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -433,10 +433,10 @@ jobs:
matrix:
python: ['3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -470,11 +470,11 @@ jobs:
sudo apt-get remove -y docker docker-engine docker.io containerd runc

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Download Python wheel
uses: actions/download-artifact@v2
Expand All @@ -500,10 +500,10 @@ jobs:
needs: build-macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -532,11 +532,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Download Python wheel
uses: actions/download-artifact@v2
Expand All @@ -562,10 +562,10 @@ jobs:
needs: build-macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -595,12 +595,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [3.6, 3.7, 3.8, 3.9, '3.10']
python: [3.7, 3.8, 3.9, '3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -632,10 +632,10 @@ jobs:
matrix:
python: ['3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

Expand All @@ -662,10 +662,10 @@ jobs:
build-asan-llvm-service:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -695,10 +695,10 @@ jobs:
runs-on: ubuntu-latest
needs: [build-linux, build-asan-llvm-service]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down Expand Up @@ -749,9 +749,9 @@ jobs:
os: [ubuntu-latest, macos-latest]
node: [17]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.10'

Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
push:
branches: [development]
pull_request:
# The branches below must be a subset of the branches above
# The branches below must be a subset of the branches above
branches: [development]
schedule:
- cron: 18 6 * * 1
Expand All @@ -40,33 +40,33 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release
#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
6 changes: 3 additions & 3 deletions .github/workflows/fuzz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ name: Release Fuzz
on:
workflow_dispatch:
schedule:
- cron: 0 9 * * 1-5 # every weekday at 9am
- cron: 0 9 * * 1-5 # every weekday at 9am

jobs:
fuzz:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Persist the bazel cache
uses: actions/cache@v2
Expand All @@ -29,7 +29,7 @@ jobs:
bazel-

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down
Loading