commit | 1f3383a4ba032e3f1be6e966b0e301b3dcadfe1e | [log] [tgz] |
---|---|---|
author | bjacob <benoitjacob@google.com> | Fri Mar 04 12:45:15 2022 -0500 |
committer | GitHub <noreply@github.com> | Fri Mar 04 12:45:15 2022 -0500 |
tree | 8827e0e2a05808e5defa410145e490ff3da7520f | |
parent | 0dfa392e3b29e820618b98393c6bcd4678663ed4 [diff] |
Don't call allowUnregisteredDialects from passes (#8461) Motivation: these calls were data races, as pass code runs on multiple threads concurrently on the same MLIRContext instance. This was reported by TSan and prevented even completing a build of the tests with TSan. This just drops those allowUnregisteredDialects calls... I expected that to cause failures that I would then have to fix by adding dependent dialects, but I don't see any failure ?! As if these allowUnregisteredDialects calls were not actually necessary. There remains one call to allowUnregisteredDialects in iree/tools/iree_translate_lib.cc but it is performed on a newly constructed MLIRContext so it's not going to run afoul of the assertion being added in https://reviews.llvm.org/D112021 .
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!
See our website for more information.
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.