openinfer-simulator 0.1.7

Host-side simulator and runtime for OpenInfer graphs.
Documentation

openinfer-simulator

Host-side simulator and runtime for OpenInfer graphs. This crate validates graph correctness, scheduling logic, and memory layouts without depending on target devices.

Key responsibilities:

  • Load .oinf model packages and resolve sizevars/tensors.
  • Execute graphs in a deterministic, inspectable simulator.
  • Provide traces and validation diagnostics for synthesis.

Build

cargo check
cargo build

Vulkan (optional):

cargo build --features vulkan

Tests

cargo test

Examples

cargo run --example mlp_regression

Model files

Graph tests and examples load .oinf model files from res/models. In the main repo (https://github.com/arsalan-anwari/openinfer), these are synced from openinfer-oinf via:

./scripts/sync_models.sh

Docs: docs.open-infer.nl