Relicense IREE under the LLVM license (#6020)

To facilitate easy movement between IREE and upstream LLVM, we are
relicensing under the same license: the Apache 2.0 License with LLVM
Exceptions (https://llvm.org/LICENSE.txt, SPDX-License-Identifier:
Apache-2.0 WITH LLVM-exception).

In addition, we are moving to a Copyright header format that attributes
copyright to "The IREE Authors" and uses a separate AUTHORS file to
keep track of contributions. For this PR, I am just listing Google, but
I will send follow-ups to list Fraunhofer IML and Nod Labs (keeping it
separate so I can get those folks approval for the precise wording).

Note that the change to the header format is to recognize the valuable
contributions from our external collaborators and as always copyright is
retained by the author.

See the announcement at
https://groups.google.com/g/iree-discuss/c/NJohLQ5rOBg

The script I used to update (almost) all the headers is at
https://gist.github.com/GMNGeoffrey/8e85e1a088f59822ab61eff01f8d4ef6

The updates from that script are all in one commit. I recommend
reviewing the other commits separately from that one. You can also see
the raw diff from that change at
https://github.com/google/iree/commit/bdb5800ea51.diff

As part of this, I had to manually fiddle with ipynb files (actually
that was the most time-consuming aspect). I changed the format of the
license headers there to just be a block of markdown text rather than
something that was for some reason executable. Also had to manually give
the cells IDs, which hopefully will have worked.

To resolve the inevitable merge conflicts, I will likely drop the
changes from the script and rerun.

Tested:
```
$ grep -r --exclude-dir=third_party "Google LLC" . | grep -v website/site
./AUTHORS:Google LLC
```
1622 files changed
tree: 9cc85f628bf2a2eaad1e42532717e5cb7550d0d4
  1. .github/
  2. bindings/
  3. build_tools/
  4. colab/
  5. docs/
  6. experimental/
  7. integrations/
  8. iree/
  9. scripts/
  10. third_party/
  11. .bazelignore
  12. .bazelrc
  13. .bazelversion
  14. .clang-format
  15. .gitignore
  16. .gitmodules
  17. .style.yapf
  18. .yamllint.yml
  19. AUTHORS
  20. BUILD.bazel
  21. CMakeLists.txt
  22. configure_bazel.py
  23. CONTRIBUTING.md
  24. LICENSE
  25. README.md
  26. SUBMODULE_VERSIONS.txt
  27. WORKSPACE
README.md

IREE: Intermediate Representation Execution Environment

IREE (Intermediate Representation Execution Environment, pronounced as “eerie”) is an MLIR-based end-to-end compiler and runtime that lowers Machine Learning (ML) models to a unified IR that scales up to meet the needs of the datacenter and down to satisfy the constraints and special considerations of mobile and edge deployments.

See our website for project details, user guides, and instructions on building from source.

Project Status

IREE is still in its early phase. We have settled down on the overarching infrastructure and are actively improving various software components as well as project logistics. It is still quite far from ready for everyday use and is made available without any support at the moment. With that said, we welcome any kind of feedback on any communication channels!

Communication Channels

Related Project Channels

  • MLIR topic within LLVM Discourse: IREE is enabled by and heavily relies on MLIR. IREE sometimes is referred to in certain MLIR discussions. Useful if you are also interested in MLIR evolution.

Build Status

CI SystemBuild SystemPlatformArchitectureComponentStatus
KokoroBazelLinuxx86Corekokoro_status_bazel_linux_x86_core
KokoroCMake & BazelLinuxx86-swiftshaderIntegrationskokoro_status_cmake-bazel_linux_x86-swiftshader_integrations
KokoroCMake & BazelLinuxx86-turingIntegrationskokoro_status_cmake-bazel_linux_x86-turing_integrations
KokoroCMakeLinuxx86-swiftshaderCore + Bindingskokoro_status_cmake_linux_x86-swiftshader
KokoroCMakeLinuxx86-swiftshader-asanCore + Bindingskokoro_status_cmake_linux_x86-swiftshader-asan
KokoroCMakeLinuxx86-turingCore + Bindingskokoro_status_cmake_linux_x86-turing
KokoroCMakeAndroidarm64-v8aRuntime (build only)kokoro_status_cmake_android_arm64-v8a
BuildKiteCMakeAndroidarm64-v8aRuntimebuildkite-status-cmake-android-arm

Presentations and Talks

  • 2020-08-20: IREE CodeGen: MLIR Open Design Meeting Presentation (recording and slides)
  • 2020-03-18: Interactive HAL IR Walkthrough (recording)
  • 2020-01-31: End-to-end MLIR Workflow in IREE: MLIR Open Design Meeting Presentation (recording and slides)

License

IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.