IREE runtime - Run machine learning models screenshot 1
V

Publisher

vsekai

IREE runtime - Run machine learning models

Tools
IREE MachineLearning GDExtension Tensorflow Vulkan Metal Performance Integration

IREE runtime in Godot through GDExtension, a mission to run machine learning model (e.g. Tensorflow lite) natively in Godot.

IREE.gd

IREE.gd logo

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 update --init
cd ./thirdparty/iree
git submodule init third_party/
git submodule deinit third_party/llvm-project # Deinitialize `llvm-project` since we don't want to compile the compiler.
cd ../../ # Go back the the project root
git submodule update --recursive
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.