commit | 038d2bada1dfaaee7db51b2d1d2ee6472aee970b | [log] [tgz] |
---|---|---|
author | Scott Todd <scotttodd@google.com> | Thu Aug 10 13:54:08 2023 -0700 |
committer | GitHub <noreply@github.com> | Thu Aug 10 13:54:08 2023 -0700 |
tree | e6a8788bc054d055bc57f45a49807490df0044a2 | |
parent | 1ef5acf3398ce6c673fcd74137f4ca667e215e1b [diff] |
Work around scalar support bug in webgpu compilation. (#14629) See https://github.com/openxla/iree/issues/11054#issuecomment-1670260451 - this `multiple_results.mlir` test program uses scalars, and https://github.com/openxla/iree/pull/13711 changed the code path that scalar dispatches go down. This alternate code path does not appear to have the same SPIR-V -> WGSL compatibility patches as the tensor path, so we see compilation errors with messages like `entry point 'd0' references multiple variables that use the same resource binding`. We should fix that (and add tests so it doesn't regress again), but I want to keep webgpu runtime debugging work unblocked. This modified program exhibits the same runtime-related issue as reported on https://github.com/openxla/iree/issues/13809 / https://github.com/openxla/iree/pull/14163: * The first invocation incorrectly returns ``` 2xf32=2.23 2.45 2xf32=0 0 ``` * The second invocation correctly returns ``` 2xf32=1.23 1.45 2xf32=2.23 2.45 ```
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.