commit | 42b983c77595cec64426c6c595aece7f474d8aa3 | [log] [tgz] |
---|---|---|
author | Ben Vanik <ben.vanik@gmail.com> | Tue Aug 15 21:31:09 2023 -0700 |
committer | GitHub <noreply@github.com> | Wed Aug 16 04:31:09 2023 +0000 |
tree | f34f46ffc278d77accca7619d0f1999ed5a0273e | |
parent | f022d29ad6d9c9ba793e08e529c0472a6b43af12 [diff] |
Removing initial_data from iree_hal_allocator_allocate_buffer. (#14674) I didn't really like this when I added it and this reverts it back to the original behavior of requiring users to allocate and then transfer whatever they want in their buffers. All implementations besides local CPU and WebGPU were staging via the extremely inefficient and blocking synchronous transfer path and we don't want to encourage that - users must make the decision as to whether they want to synchronously transfer (in which case it's just an iree_hal_device_transfer_* call) or asynchronously transfer from files or queue copies. This likely breaks WebGPU but we can fix that with better solutions - the existing approach worked a bit but ran down code paths that were dangerously close to blocking and it didn't account for a lot of buffer types. Progress on https://github.com/openxla/iree/issues/14607. Fixes https://github.com/openxla/iree/issues/14605.
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.