commit | 43f516e2a6a90c5093b709d3b1b41c594a7e0bae | [log] [tgz] |
---|---|---|
author | Scott Todd <scotttodd@google.com> | Thu Jan 12 08:31:01 2023 -0800 |
committer | GitHub <noreply@github.com> | Thu Jan 12 08:31:01 2023 -0800 |
tree | cdafc561197baa5c5eb4623f0bddf9ed4aac3aff | |
parent | b35d4a37e855571af360e109419ede60001a7115 [diff] |
Roll forward stateful loop_emscripten changes. (#11801) This is a roll forward of https://github.com/iree-org/iree/pull/11507 Successful CI run: https://github.com/iree-org/iree/actions/runs/3897710708/jobs/6655737094 --- I had been testing locally with [`experimental/web/testing/build_tests.sh`](https://github.com/iree-org/iree/blob/main/experimental/web/testing/build_tests.sh), which sets `-DCMAKE_BUILD_TYPE=RelWithDebInfo`. The CI uses [`build_tools/cmake/build_runtime_emscripten.sh`](https://github.com/iree-org/iree/blob/main/build_tools/cmake/build_runtime_emscripten.sh), which leaves the build type unset and defaults to `Release`. Release builds were failing with `SyntaxError: Unexpected token (1:72626)` in `/emsdk/upstream/emscripten/tools/acorn-optimizer.js:1852` with this code:  While `for (const [key, value] of Object.entries(object1))` is the recommended way to iterate through an object's enumerable string-keyed property key-value pairs ([source](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries)), Emscripten does not appear to support that newer syntax out of the box.
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.