You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explore ways to streamline the model import->compilation process for users #5591
Once our current flows for importing from ML frameworks are documented (#5453, #5454, #5455) , we can look into ways to make them easier to understand, more robust, require less dependencies, etc.
Some ideas:
Install the complete set of CLI tools through our python packages (for example: including iree-run-module)
Build and publish more of our python packages for all platforms (otherwise it's difficult for users on Windows to import from TF, for example)
Publish stable releases on PyPI and point people there, instead of our GitHub releases
Publish prebuilt binaries outside of python packages (or continue setting up vcpkg?)
Combine importers (TF->MLIR, TFLite->MLIR) with the compiler (MLIR->IREE .vmfb) into a single tool
Construct Colab notebooks that let you upload model files, run import+compilation, and download artifacts (for quick "does this work" checks, not production use?)
It would be great if improvements in this area affected all (or at least multiple) of our ML framework integrations.
I'm pretty convinced that any substantial changes here should start with documenting what we already have, walking through the process, then modifying our existing tools or building new ones.
"Combine importers with the compiler" is sort of accomplished with SHARK-Turbine and PJRT (both let you use IREE from a Python framework semi-transparently)
Activity
Add a Colab notebook demonstrating TensorFlow Hub import. (#5945)
ScottTodd commentedon Dec 15, 2023
Oooh, this old issue had a bunch of ideas on it. Looks like several have been added, so I'll close this.