commit | 9d15f363cb7ef6ea393579ce337290eb22a24e57 | [log] [tgz] |
---|---|---|
author | Ben Vanik <ben.vanik@gmail.com> | Thu Aug 03 10:18:58 2023 -0700 |
committer | GitHub <noreply@github.com> | Thu Aug 03 10:18:58 2023 -0700 |
tree | 965ea25d84b36e106c38cd05ed13f0ffcf9ef650 | |
parent | 11276da5473a47c1269e386d46ccf6183226d97f [diff] |
Adding `--module_mode=mmap` tooling flag. (#14563) This uses the platform memory mapping support - if available - to map VMFB file contents into memory on-demand. This can skew profiling results as it introduces both high warm-up costs and high per-iteration variance as the OS is free to discard/reload pages at any time. It can be useful for very large models though that otherwise exceed available physical memory. On certain HAL targets this can avoid additional wired memory but most (GPUs) will still require fully loading the contents into memory and mapping will be less efficient but be friendlier to host resource usage. This isn't a great API but is good enough for our tools for now. I still plan on exposing proper memory objects but that'll likely happen as part of sparse residency/file queue operations in the HAL.
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.