[all-commits] [llvm/llvm-project] f86d1f: Remove ML inlining model artifacts.

Jacob Hegna via All-commits all-commits at lists.llvm.org
Mon Jun 21 10:38:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f86d1f99b3e9c4819ee0a7b6b785b1ea5feb1627
      https://github.com/llvm/llvm-project/commit/f86d1f99b3e9c4819ee0a7b6b785b1ea5feb1627
  Author: Jacob Hegna <jacobhegna at google.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M llvm/cmake/modules/TensorFlowCompile.cmake
    M llvm/lib/Analysis/CMakeLists.txt
    A llvm/lib/Analysis/models/generate_mock_model.py
    R llvm/lib/Analysis/models/inliner/README.txt
    R llvm/lib/Analysis/models/inliner/output_spec.json
    R llvm/lib/Analysis/models/inliner/saved_model.pbtxt
    R llvm/lib/Analysis/models/inliner/variables/variables.data-00000-of-00001
    R llvm/lib/Analysis/models/inliner/variables/variables.index
    A llvm/lib/Analysis/models/inlining/config.py
    M llvm/test/Transforms/Inline/ML/bounds-checks-rewards.ll
    M llvm/test/Transforms/Inline/ML/development-training-log.ll
    M llvm/test/Transforms/Inline/ML/ml-test-development-mode.ll

  Log Message:
  -----------
  Remove ML inlining model artifacts.

They are not conducive to being stored in git. Instead, we autogenerate
mock model artifacts for use in tests. Production models can be
specified with the cmake flag LLVM_INLINER_MODEL_PATH.

LLVM_INLINER_MODEL_PATH has two sentinel values:
 - download, which will download the most recent compatible model.
 - autogenerate, which will autogenerate a "fake" model for testing the
 model uptake infrastructure.

Differential Revision: https://reviews.llvm.org/D104251




More information about the All-commits mailing list