elodin-iree

Executes IREE-compiled VMFB modules in Rust via FFI bindings.

538|39|Updated Feb 26, 2024
One-click install
npx skills add https://github.com/elodin-sys/elodin --skill elodin-iree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elodin-iree
Source: https://github.com/elodin-sys/elodin/tree/main/.cursor/skills/elodin-iree
Command: npx skills add https://github.com/elodin-sys/elodin --skill elodin-iree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables the execution of compiled machine learning models within Rust simulations, providing a high-performance, Python-free runtime for critical simulation loops.

Core Features & Use Cases

  • IREE Runtime Integration: Provides safe Rust bindings for the IREE C API.
  • VMFB Module Execution: Loads and executes compiled IREE VMFB modules directly from Rust.
  • Backend Selection: Facilitates switching between IREE and JAX backends for simulations.
  • Use Case: Integrate complex physics or control system models compiled via IREE into a real-time flight simulation, ensuring deterministic and fast execution without Python overhead.

Quick Start

Use the elodin-iree skill to load and execute the 'model.vmfb' file with the 'module.my_function' function.

Frequently Asked Questions about elodin-iree

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run IREE-compiled VMFB modules in a Rust simulation?

To run IREE-compiled VMFB modules in Rust, use FFI bindings to manage IREE runtime instances, devices, and sessions for loading modules and processing buffer views.

Can I execute machine learning models in Rust without a Python runtime?

Yes, you can execute compiled machine learning models in Rust without Python by loading and running IREE-compiled VMFB modules directly via safe FFI bindings.

How do I switch between IREE and JAX backends for simulation execution?

You can switch between IREE and JAX backends for simulation execution by using the backend selection feature to route runtime calls to the desired execution environment.

Does elodin-iree support real-time flight simulation workloads?

Yes, elodin-iree supports real-time flight simulation by integrating complex physics models compiled via IREE, ensuring deterministic and fast execution without Python overhead.

What is the best way to load and execute a compiled model function in Rust?

The best way to execute a compiled model function in Rust is to initialize an IREE runtime session and invoke the specific module function from your loaded VMFB file.