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

CompilerGym v0.2.4 #686

Merged
merged 207 commits into from
May 25, 2022
Merged

CompilerGym v0.2.4 #686

merged 207 commits into from
May 25, 2022

Commits on Mar 18, 2022

  1. Merge pull request #632 from facebookresearch/stable

    CompilerGym v0.2.3
    ChrisCummins authored Mar 18, 2022
    Configuration menu
    Copy the full SHA
    e6130db View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. Configuration menu
    Copy the full SHA
    e785540 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ecf42fb View commit details
    Browse the repository at this point in the history
  3. Rename Env to CompilerEnv

    sogartar committed Mar 22, 2022
    Configuration menu
    Copy the full SHA
    4a79017 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Extend CompilerEnv interface

    sogartar committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    1e6595e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d667d7f View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

  1. Configuration menu
    Copy the full SHA
    f760d42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    621cace View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2acd700 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2022

  1. Configuration menu
    Copy the full SHA
    6cf4926 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b041d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b7f0ac0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    33a17cc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4715691 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2022

  1. Configuration menu
    Copy the full SHA
    64f3ef2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4230f9f View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Configuration menu
    Copy the full SHA
    165b385 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b9518a View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. Merge pull request #633 from sogartar/refactor-out-env-iface

    Refactor out Env interface from CompilerEnv
    ChrisCummins authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    3c21aee View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Make action spaces and action service message conversion configurable…

    … in ClientServiceCompilerEnv
    sogartar committed Mar 30, 2022
    Configuration menu
    Copy the full SHA
    c3cae40 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2022

  1. Configuration menu
    Copy the full SHA
    86e69f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08aea9a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e6345f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    58664ac View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2022

  1. Configuration menu
    Copy the full SHA
    5d420f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fff7e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06696c7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a2d063 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1da67b5 View commit details
    Browse the repository at this point in the history
  6. Add documentation and tests

    sogartar committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    d95c95a View commit details
    Browse the repository at this point in the history
  7. Merge pull request #641 from sogartar/service-msg-conv

    Make action spaces and action service message conversion configurable in ClientServiceCompilerEnv
    ChrisCummins authored Apr 2, 2022
    Configuration menu
    Copy the full SHA
    13658f7 View commit details
    Browse the repository at this point in the history
  8. Update go package install steps.

    `go get` is deprecated, replace with `go install`.
    ChrisCummins committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    c67e689 View commit details
    Browse the repository at this point in the history
  9. Pin version of click.

    ChrisCummins committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    783f8ab View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    eba52ad View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1a80f82 View commit details
    Browse the repository at this point in the history
  12. Pin back setuptools.

    ChrisCummins committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    7618154 View commit details
    Browse the repository at this point in the history
  13. Bump yamlfmt.

    ChrisCummins committed Apr 2, 2022
    Configuration menu
    Copy the full SHA
    91b7452 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    dfe7a3a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e579747 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. Fix tests

    sogartar committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    17ff38e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    395da4e View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Merge pull request #644 from sogartar/include-name-in-space-comp

    Include name in space comparison
    ChrisCummins authored Apr 6, 2022
    Configuration menu
    Copy the full SHA
    61cff50 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #647 from ChrisCummins/fix/646

    Fix pre-commit CI job
    ChrisCummins authored Apr 6, 2022
    Configuration menu
    Copy the full SHA
    7fd6232 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Merge pull request #643 from sogartar/type-id-dispatch

    Add dispatching on type_id during action and observation conversion
    ChrisCummins authored Apr 8, 2022
    Configuration menu
    Copy the full SHA
    61f460f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fdbbaae View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. Merge pull request #645 from sogartar/perm-space-seq

    Add permutation and space sequence spaces
    ChrisCummins authored Apr 13, 2022
    Configuration menu
    Copy the full SHA
    b803856 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2022

  1. Create an MLIR environment with matrix multiplication

    Co-authored-by: kyle <kyle.w.herndon@gmail.com>
    sogartar and KyleHerndon committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    d5e1dc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    264afa0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0d1287 View commit details
    Browse the repository at this point in the history
  4. Disable MLIR tests in CI

    sogartar committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    1ecb8c8 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. Configuration menu
    Copy the full SHA
    08b323e View commit details
    Browse the repository at this point in the history
  2. Update runfiles_path.py

    Update rulefiles_path.py to align cache path with c file definition.
    uduse authored Apr 18, 2022
    Configuration menu
    Copy the full SHA
    dc0a726 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. Configuration menu
    Copy the full SHA
    89b6bfa View commit details
    Browse the repository at this point in the history
  2. Merge pull request #655 from ChrisCummins/feature/news-events

    Add a "News & Events" section to README
    ChrisCummins authored Apr 19, 2022
    Configuration menu
    Copy the full SHA
    34712e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5fbf88d View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Configuration menu
    Copy the full SHA
    32872c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fa799f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04b228f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a6198bb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4062a8c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0dcc69e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0baff62 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fee91d2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    044e5c6 View commit details
    Browse the repository at this point in the history
  10. [llvm] Add a retry loop for system compiler timeouts.

    The system compiler could fail to compile a simple file within the
    time limit (30 seconds). Add a retry loop to attempt this three times
    before giving up.
    ChrisCummins committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    3815a0a View commit details
    Browse the repository at this point in the history
  11. Merge pull request #656 from uduse/patch-2

    Update runfiles_path.py
    ChrisCummins authored Apr 20, 2022
    Configuration menu
    Copy the full SHA
    038404c View commit details
    Browse the repository at this point in the history
  12. attempt for #451

    Modified the env.reset() function to add the reward_space and observation_space parameters. Modified the reset() func of the subclasses. Added a OptionalArgumentValue class in gym_type_hints.py for the default value.
    SoumyajitKarmakar authored and ChrisCummins committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    344e08d View commit details
    Browse the repository at this point in the history
  13. Added some unit tests for the new features

    Added some simple unit test to test if the modified reset() function is working as intended.
    SoumyajitKarmakar authored and ChrisCummins committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    f72c054 View commit details
    Browse the repository at this point in the history
  14. Fixed the mistakes

    SoumyajitKarmakar authored and ChrisCummins committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    594095f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9dec64d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4c69c97 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    bc23af3 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    8b9d38a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b033561 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    23fd5d0 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    68a78df View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Configuration menu
    Copy the full SHA
    67fb8ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5812027 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #658 from ChrisCummins/fix/657

    CI hardening patchset
    ChrisCummins authored Apr 21, 2022
    Configuration menu
    Copy the full SHA
    18da6d9 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #659 from ChrisCummins/feature/451

    Add reward_space and observation_space parameters to env.reset()
    ChrisCummins authored Apr 21, 2022
    Configuration menu
    Copy the full SHA
    01c42f0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d4dd586 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2c97d51 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7f44d65 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b2539f3 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #661 from ChrisCummins/feature/exec-logging

    Improve the exec logging message.
    ChrisCummins authored Apr 21, 2022
    Configuration menu
    Copy the full SHA
    15bbfd5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ab1e1d0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4793bed View commit details
    Browse the repository at this point in the history
  12. Merge pull request #663 from ChrisCummins/feature/exec-logging

    Fix Py < 3.8 compatibility for shlex.join()
    ChrisCummins authored Apr 21, 2022
    Configuration menu
    Copy the full SHA
    66bea84 View commit details
    Browse the repository at this point in the history
  13. [core] Add docstrings for new reset() args.

    This adds docstrings to cover the new reward_space and
    observation_space arguments to reset().
    
    Fixes #451.
    ChrisCummins committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    1515b43 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f30a042 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a69805e View commit details
    Browse the repository at this point in the history
  16. Docstring improvements.

    ChrisCummins committed Apr 21, 2022
    Configuration menu
    Copy the full SHA
    b1d7b97 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e2ece90 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    c1f61c8 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. Configuration menu
    Copy the full SHA
    8bf9a74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc60bcb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7db7e83 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    515625f View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2022

  1. Configuration menu
    Copy the full SHA
    8160bda View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Configuration menu
    Copy the full SHA
    85f74de View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Fix typos and comments

    sogartar committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    4ecad77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29cdbc6 View commit details
    Browse the repository at this point in the history
  3. In print_service_capabilities print the string representation of unsu…

    …pported action spaces
    sogartar committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    dcfddb4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0fcc286 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Configuration menu
    Copy the full SHA
    34a1e5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca4c45b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #664 from ChrisCummins/fix/macos-build

    Bump absl and gRPC dependencies
    ChrisCummins authored Apr 27, 2022
    Configuration menu
    Copy the full SHA
    f7a967f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a5c0d08 View commit details
    Browse the repository at this point in the history
  5. [examples] Fix path to clang in example services.

    Use the version of clang that is bundled with CompilerGym, since the
    user may not have a compatible version of clang in their $PATH.
    ChrisCummins committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    c6ab30f View commit details
    Browse the repository at this point in the history
  6. Merge pull request #665 from ChrisCummins/fix/example-service-clang-path

    [examples] Fix path to clang in example services.
    ChrisCummins authored Apr 27, 2022
    Configuration menu
    Copy the full SHA
    74939c5 View commit details
    Browse the repository at this point in the history
  7. Remove ConversionWrapperEnv

    sogartar committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    1d5da84 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ea9861d View commit details
    Browse the repository at this point in the history
  9. Fix casing of variables

    sogartar committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    d697716 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e65c187 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2d00327 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. Configuration menu
    Copy the full SHA
    dbddb06 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #662 from ChrisCummins/feature/reset-docstrings

    Misc fixes and improvements
    ChrisCummins authored Apr 28, 2022
    Configuration menu
    Copy the full SHA
    4f9cb82 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #668 from ChrisCummins/feature/llvm_rl-data-files

    [examples] Install *.yaml files for llvm_rl package.
    ChrisCummins authored Apr 28, 2022
    Configuration menu
    Copy the full SHA
    f3de372 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f63dcc2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f491d34 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c4713d9 View commit details
    Browse the repository at this point in the history
  7. Move reset() and constructor to base class.

    Add abstract declarations of the reset / constructor operators to the
    base CompilerEnv class so that the docstrings appear in the right
    place.
    
    This also adds an FAQ entry to further elaborate on the reason for
    needing to call env.close().
    ChrisCummins committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    20dba5e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1d3a710 View commit details
    Browse the repository at this point in the history
  9. [examples] Fix timeout not being enforced.

    Likely a symptom of #648.
    ChrisCummins committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    441bdb2 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2022

  1. Configuration menu
    Copy the full SHA
    28c28fb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #670 from ChrisCummins/feature/faq

    [docs] New FAQ questions "Where does CompilerGym store files?" and "Do I need to call env.close()?"
    ChrisCummins authored Apr 29, 2022
    Configuration menu
    Copy the full SHA
    758d661 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2022

  1. In install instructions source ~/.profile

    The CMake installation may be the first to create ~/.local/bin,
    so it would not be in PATH without logging in again.
    This change makes sure that it is added to PATH in the same shell session.
    sogartar committed May 2, 2022
    Configuration menu
    Copy the full SHA
    e6cf784 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9f8bcc View commit details
    Browse the repository at this point in the history
  3. Merge pull request #673 from sogartar/local-bin-path

    In install instructions source ~/.profile
    ChrisCummins authored May 2, 2022
    Configuration menu
    Copy the full SHA
    673fa12 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. Merge pull request #652 from facebookresearch/mlir

    Create an MLIR environment with matrix multiplication
    ChrisCummins authored May 3, 2022
    Configuration menu
    Copy the full SHA
    ac34498 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. Don't install non-existend package clang++-9

    apt-get does not complain about missing clang++-9 because it treats it as a
    regex and is able to match other packages with it. apt does not use
    regex and fails with a missing package.
    sogartar committed May 4, 2022
    Configuration menu
    Copy the full SHA
    85113f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ebc437 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f8b0af6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63f36ec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b0e69c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2ac6f59 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    56db793 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Configuration menu
    Copy the full SHA
    6c2a2af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8204bf1 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2022

  1. Configuration menu
    Copy the full SHA
    36154c7 View commit details
    Browse the repository at this point in the history
  2. CMake: fix custom target dependencies

    This fixes dependency issues where a dependency of a custom command
    on a custom target guarantees only the order of building and does
    not guarantee that the custom command would rerun every time
    when the custom target is rebuilt.
    
    The approach to fix this is for custom targets to record in the
    OUTPUTS target property their output files. Then the dependent
    custom command depends on the contents of the OUTPUTS property
    using generator expressions. This creates a file level dependencies
    that triggers rebuilds on change.
    sogartar committed May 6, 2022
    Configuration menu
    Copy the full SHA
    9f5fd38 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c25d3ad View commit details
    Browse the repository at this point in the history

Commits on May 8, 2022

  1. Merge pull request #674 from sogartar/fix-install-insturctions-and-ci

    Fix install insturctions and build/ci
    ChrisCummins authored May 8, 2022
    Configuration menu
    Copy the full SHA
    052cad7 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2022

  1. Merge pull request #675 from sogartar/fix-cmake-custom-target-depende…

    …ncies
    
    CMake: fix custom target dependencies
    ChrisCummins authored May 9, 2022
    Configuration menu
    Copy the full SHA
    63dbfac View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. Configuration menu
    Copy the full SHA
    ffa8c3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9448017 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2cfcb51 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eed88fe View commit details
    Browse the repository at this point in the history
  5. Adapt collect_info.py for CompilerGym dependencies.

    Remove most of the irrelevant CUDA / PyTorch deps.
    ChrisCummins committed May 10, 2022
    Configuration menu
    Copy the full SHA
    460ca27 View commit details
    Browse the repository at this point in the history
  6. Format collect_env.py.

    ChrisCummins committed May 10, 2022
    Configuration menu
    Copy the full SHA
    9823525 View commit details
    Browse the repository at this point in the history
  7. Format import list.

    ChrisCummins committed May 10, 2022
    Configuration menu
    Copy the full SHA
    96ee4ca View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. [core] Add a ServiceCache abstraction.

    This replaces the connection.working_dir property with a new class
    that will allow more sophisticated behaviors.
    ChrisCummins committed May 12, 2022
    Configuration menu
    Copy the full SHA
    071acb2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9f2c52 View commit details
    Browse the repository at this point in the history
  3. [llvm] Use service working directory for benchmark cache.

    This changes the per-benchmark cache to be contained within the
    working directory of the parent service, rather than in the global
    cache.
    ChrisCummins committed May 12, 2022
    Configuration menu
    Copy the full SHA
    c78aca7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3aed87e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    80489ee View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0013515 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1f408a9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4759c31 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    616b4ac View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e43ad7b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6091697 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8e7413b View commit details
    Browse the repository at this point in the history
  13. [llvm] Add API to construct a benchmark from clang invocation.

    This adds a new API for constructing a benchmark from a command line
    invocation of a compiler. For example:
    
        >>> benchmark = env.make_benchmark_from_command_line(
        ...     ["gcc", "in.c", "-DNDEBUG"]
        ... )
    
    This provides control over the build, equivalent to:
    
        >>> benchmark = env.make_benchmark(["in.c"], copts=["-NDEBUG"])
    
    The idea is to make it easier to integrate CompilerGym into an
    existing build system, as it is normally possible to dump a verbose
    log of all of the compiler invocations run during a build.
    ChrisCummins committed May 12, 2022
    Configuration menu
    Copy the full SHA
    eadcd65 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    351934f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2e8394d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    cc7fa7b View commit details
    Browse the repository at this point in the history
  17. [llvm] Add support for commandlines with objectfile inputs.

    This enables commandlines with a combination of source and objectfile
    inputs to be supported.
    ChrisCummins committed May 12, 2022
    Configuration menu
    Copy the full SHA
    f13f90b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    ddad31b View commit details
    Browse the repository at this point in the history
  19. Tiny code style fix.

    ChrisCummins committed May 12, 2022
    Configuration menu
    Copy the full SHA
    5f2e3df View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    bc88088 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    8573d81 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    72ef9b1 View commit details
    Browse the repository at this point in the history
  23. Merge pull request #666 from ChrisCummins/feature/cmake-tweaks

    Some small cmake tweaks
    ChrisCummins authored May 12, 2022
    Configuration menu
    Copy the full SHA
    e9aa1e6 View commit details
    Browse the repository at this point in the history
  24. Fix formatting.

    ChrisCummins committed May 12, 2022
    Configuration menu
    Copy the full SHA
    ed9cc0f View commit details
    Browse the repository at this point in the history
  25. Merge pull request #672 from ChrisCummins/feature/671

    [llvm] Move the per-benchmark scratch directory into the service working directory
    ChrisCummins authored May 12, 2022
    Configuration menu
    Copy the full SHA
    947b567 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    7d83233 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    483f640 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    fdc7983 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    cb15908 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    de093a2 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2022

  1. Configuration menu
    Copy the full SHA
    426f873 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2022

  1. Merge pull request #679 from ChrisCummins/feature/db-wrapper

    Add a wrapper to synchronously log environment state transitions to SQLite database
    ChrisCummins authored May 16, 2022
    Configuration menu
    Copy the full SHA
    51ff9d1 View commit details
    Browse the repository at this point in the history
  2. [wrappers] Add a Counter wrapper class.

    This adds a new `Counter` wrapper that counts the number of calls to
    operations.
    
    Example usage:
    
        >>> env = Counter(compiler_gym.make("llvm-v0"))
        >>> env.counters
        {"close": 0, "reset": 0, "step": 0, "fork": 0}
        >>> env.step(0)
        {"close": 0, "reset": 0, "step": 1, "fork": 0}
    ChrisCummins committed May 16, 2022
    Configuration menu
    Copy the full SHA
    1ba722c View commit details
    Browse the repository at this point in the history
  3. [wrappers] Add a ForkOnStep wrapper.

    This adds a new wrapper class, `ForkOnStep`, that can be used to
    backtrack by maintaining a stack of forked environments before every
    call to step().
    ChrisCummins committed May 16, 2022
    Configuration menu
    Copy the full SHA
    366f218 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

  1. Merge pull request #682 from ChrisCummins/feature/undo-wrapper

    [wrappers] Add a ForkOnStep wrapper.
    ChrisCummins authored May 17, 2022
    Configuration menu
    Copy the full SHA
    41487a6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #676 from facebookresearch/feature/bug-report-issu…

    …e-template
    
    Update bug fix issue template
    ChrisCummins authored May 17, 2022
    Configuration menu
    Copy the full SHA
    596c242 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #683 from ChrisCummins/feature/counter-wrapper

    [wrappers] Add a Counter wrapper class.
    ChrisCummins authored May 17, 2022
    Configuration menu
    Copy the full SHA
    f30ebba View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. Configuration menu
    Copy the full SHA
    b5fa476 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2022

  1. Merge pull request #577 from ChrisCummins/feature/make-env-from-clang

    [llvm] Add API to construct a benchmark from clang invocation.
    ChrisCummins authored May 20, 2022
    Configuration menu
    Copy the full SHA
    38f2076 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    488921a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43a8af8 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. resolve CI failure

    anthony0727 committed May 24, 2022
    Configuration menu
    Copy the full SHA
    c76c513 View commit details
    Browse the repository at this point in the history
  2. resolve CI failure

    anthony0727 committed May 24, 2022
    Configuration menu
    Copy the full SHA
    52ff148 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #684 from anthony0727/fix-example

    [Minor Bug] fix typo in argument & add flag
    ChrisCummins authored May 24, 2022
    Configuration menu
    Copy the full SHA
    d73e2d2 View commit details
    Browse the repository at this point in the history
  4. Update citation to CGO.

    ChrisCummins committed May 24, 2022
    Configuration menu
    Copy the full SHA
    94ee743 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #687 from ChrisCummins/citation

    Update citation to CGO.
    ChrisCummins authored May 24, 2022
    Configuration menu
    Copy the full SHA
    bb5f684 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    039b016 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1afdbb0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    04df4c0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c0f40bc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f62e787 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    40cbc78 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f29bf1a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    18ed285 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    52671fb View commit details
    Browse the repository at this point in the history
  15. Release v0.2.4

    This release adds a new compiler environment, new APIs, and a suite of backend
    improvements to improve the flexibility of CompilerGym environments. Many thanks
    to code contributors: @sogartar, @KyleHerndon, @SoumyajitKarmakar@uduse, and
    @anthony0727!
    
    Highlights of this release include:
    
    - [mlir] Began work on a new environment for matrix multiplication using MLIR
      ([#652](#652), thanks
      @KyleHerndon and @sogartar!). Note this environment is not yet included in the
      pypi package and must be [compiled from
      source](https://github.com/facebookresearch/CompilerGym/blob/development/INSTALL.md#building-from-source-with-cmake).
    - [llvm] Added a new `env.benchmark_from_clang_invocation()` method ([#577](#577)) that can be used for constructing LLVM environment automatically from C/C++ compiler invocations. This makes it much easier to integrate CompilerGym with your existing build scripts.
    - Added three new wrapper classes: `Counter`, that provides op counts for
      analysis ([#683](#683));
      `SynchronousSqliteLogger`, that provides logging of environment interactions
      to a relational database
      ([#679](#679)), and
      `ForkOnStep` that provides an `undo()` operation
      ([#682](#682)).
    - Added `reward_space` and `observation_space` parameters to `env.reset()`
      ([#659](#659), thanks
      @SoumyajitKarmakar!)
    
    This release includes a number of improvements to the backend APIs that make it
    easier to write new CompilerGym environments:
    
    - Refactored the backend to make `CompilerEnv` an abstract interface, and
      `ClientServiceCompilerEnv` the concrete implementation of this interface. This
      enables new environments to be implemented without using gRPC
      ([#633](#633), thanks
      @sogartar!).
    - Extended the support for different types of action and observation spaces
      ([#641](#641),
      [#643](#643), thanks
      @sogartar!), including new `Permutation` and `SpaceSequence` spaces
      ([#645](#645), thanks
      @sogartar!)..
    - Added a new `disk/` subdirectory to compiler service's working directories,
      which is symlinked to an on-disk location for devices which support in-memory
      working directories. This fixes a bug with leftover temporary directories from
      LLVM ([#672](#672)).
    
    This release also includes numerous bug fixes and improvements, many of which
    were reported or fixed by the community. For example, fixing a bug in cache file
    locations ([#656](#656),
    thanks @uduse!), and a missing flag definition in example code
    ([#684](#684), thanks
    @anthony0727!).
    
    **Full Changelog**:
    v0.2.3...v0.2.4
    
    This release brings in deprecating changes to the core `env.step()` routine, and
    lays the groundwork for enabling new types of compiler optimizations to be
    exposed through CompilerGym. Many thanks to code contributors: @mostafaelhoushi,
    @sogartar, @KyleHerndon, @uduse, @parthchadha, and @xtremey!
    
    Highlights of this release include:
    
    - Added a new `TextSizeInBytes` observation space for LLVM
      ([#575](#575)).
    * Added a new PPO leaderboard entry
      ([#580](#580). Thanks
      @xtremey!
    - Fixed a bug in which temporary directories created by the LLVM environment
      were not cleaned up
      ([#592](#592)).
    - **[Backend]** The function `createAndRunCompilerGymService` now returns an
      int, which is the exit return code
      ([#592](#592)).
    - Improvements to the examples documentation
      ([#548](#548)) and FAQ
      ([#586](#586))
    
    Deprecations and breaking changes:
    
    - `CompilerEnv.step` no longer accepts a list of actions
      ([#627](#627)). A new
      method, `CompilerEnv.multistep` provides this functionality. This is to
      provide compatibility with environments whose action spaces are lists. To
      update your code, replace any calls to `env.step()` which take a list of
      actions to use `env.multistep()`. Thanks @sogartar!
    - The arguments `observations` and `rewards` to `step()` have been renamed
      `observation_spaces` and `reward_spaces`, respectively
      ([#627](#627)).
    - `Reward.id` has been renamed `Reward.name`
      ([#565](#565),
      [#612](#612)). Thanks
      @parthchadha!
    * The backend protocol buffer schema has been updated to natively support more
      types of observation and action, and to support nested spaces
      ([#531](#531)). Thanks
      @sogartar!
    ChrisCummins committed May 24, 2022
    Configuration menu
    Copy the full SHA
    c2c2f96 View commit details
    Browse the repository at this point in the history