commit | 9c9c74f083c1cd57467d139ca960aa68ffca766e | [log] [tgz] |
---|---|---|
author | Stella Laurenzo <laurenzo@google.com> | Wed Jun 23 18:00:07 2021 -0700 |
committer | Copybara-Service <iree-copybara-bot@google.com> | Wed Jun 23 18:01:27 2021 -0700 |
tree | c05c0c7a4bf50c02e327410b62c1f955799b3e0c | |
parent | 6e994d5435f3f6547bced0643a433670b894fa47 [diff] |
Switch Softmax and LogSoftmax ops to be expansions instead of TF->HLO legalizations. * The impetus for this was to enable a more effective dynamic shapes representation (staying high level vs doing manual shape massaging it better for code generation). * The generated HLO is equivalent in the static shapes case. * Side effect of making Softmax unranked compatible at the TF conversion level. * The lower_tf.mlir test case was not actually piping to FileCheck. This has been fixed and a lot of unrelated test fixes are included (since this file had never effectively been tested). * The tensorflow/transforms directory is pretty tortured. It feels like it should actually be half a dozen different directories. I found that there was no place to have not statically registered test passes, and tf_test_passes.td was namespaced/configured wrong for anything but saved model tests. I think I improved it and at least carved out a place for people to easily add more test passes (otherwise, no one will do proper unit testing -- which seems to be the situation that is prevalent). It's not great. This directory needs triage. Considering that the tests weren't even running before, I consider how I have it to be a minor improvement. PiperOrigin-RevId: 381153956
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.
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!
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.