commit | 1a0b3fd28eb72558662e191a24d9767a679c8c16 | [log] [tgz] |
---|---|---|
author | Scott Todd <scotttodd@google.com> | Tue Aug 08 08:07:57 2023 -0700 |
committer | GitHub <noreply@github.com> | Tue Aug 08 08:07:57 2023 -0700 |
tree | f4667ff3a5a9de674409411686bf85b1c1112421 | |
parent | d5c928301c138df7f63cadf74dfc83b83b5433a9 [diff] |
Add error message for InlineExecutables with unsupported variants. (#14593) Fixes https://github.com/openxla/iree/issues/14587 (cc @dcaballe ). `--iree-execution-model=inline-static` only works with `--iree-hal-target-backends=vmvx-inline`. It was crashing when other backends were used, so this adds a check and error log. Sample logs: ``` D:\dev\projects\iree (inline-error-message) λ ..\iree-build\tools\iree-compile.exe -iree-input-type=stablehlo --iree-hal-target-backends=llvm-cpu --iree-hal-target-backends=llvm-cpu --iree-llvmcpu-target-triple=x86_64-unknown-linux-gnu --iree-execution-model=inline-static ./tests/e2e/stablehlo_ops/add.mlir -o ../iree-tmp/add.vmfb ./tests/e2e/stablehlo_ops/add.mlir:0:0: error: InlineStatic execution model is not compatible with hal target 'llvm-cpu' ./tests/e2e/stablehlo_ops/add.mlir:0:0: note: see current operation: "builtin.module"() ({ ... ```
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.