commit | 89e9530b79e7946e04ccde9b0ac226a3f98dbffa | [log] [tgz] |
---|---|---|
author | Ben Vanik <benvanik@google.com> | Tue Oct 05 17:05:39 2021 -0700 |
committer | GitHub <noreply@github.com> | Tue Oct 05 17:05:39 2021 -0700 |
tree | 4ae92ab64f0e5e7998761c53b55a32fca8c5c388 | |
parent | 6af23264ad553eec9af20072efcdc1f16fa7df42 [diff] |
Adding a VM bytecode disassembler and flags for tracing to stderr. (#7261) Tracing is enabled by default in debug builds or with `-DIREE_VM_EXECUTION_TRACING_ENABLE=1` for others. A flag can then be passed to iree_vm_context_t to enable tracing for all invocations (including initializers) or passed per-invocation to trace only individual calls. `--trace_execution` was added to iree-check-* and iree-run-*, but all other tools/API usage can set `-DIREE_VM_EXECUTION_TRACING_FORCE_ENABLE=1` to force it on. Source locations can be printed per traced line too, however they are only practically usable with vm source listings as otherwise they are big multiline fused locs or call sites from python. Until some more refinement of location printing can be done they are disabled but can be turned back on with `-DIREE_VM_EXECUTION_TRACING_SRC_LOC_ENABLE=1`.
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.