IREE runtime - Run machine learning models
by V-Sekai
IREE.gd
IREE runtime in Godot through GDExtension, a mission to run a machine learning model (e.g. Tensorflow lite) natively in Godot.
Authored by Richie Kho and its contributors.
Supported Platforms
Platform | HAL Backend used |
---|---|
Apple products (macOS, IOS) | metal |
Desktops (Windows, Linux, *BSD, Android) | vulkan |
The rest | vmvx |
Documentation and samples
The documentation is hosted using Github page.
The sample project is in sample
directory.
Build from source
We'll use Git and CMake to build this project.
git clone https://github.com/iree-gd/iree.gd.git # clone this repo
cd iree.gd
git submodule init thirdparty # initialize all the thirdparty
git submodule deinit thirdparty/iree/third_party/llvm-project # Deinitialize LLVM, as we are not compiling the compiler.
git submodule update --recursive # Pull submodule content, this will take a while.
mkdir build
cd build
cmake ..
cmake --build .
If you would like to compile LLVM from the source, you'll need to set the IREE_BUILD_BUNDLED_LLVM
CMake option to ON
when generating build files with CMake and also initialize the llvm-project
submodule under the thirdparty/iree/third_party/llvm-project
.
After compilation, the library will be in build/lib
directory.
If the COPY_LIBS_TO_SAMPLE
CMake option is ON
, the library will also be installed into the sample.
Download
Support
If you need help or have questions about this plugin, please contact the author.
Contact Author