Haven't used ii yet?
Ask Trustburn

Questions about ii

Based on reviews, listing data and website checks · updated 22 days ago

What is ii?

ii is a small, fast C++20 neural-network inference engine and command-line runner that processes models on CPU, GPU, and NPU across Linux, Windows, and macOS. It exposes a single interface that drives a built-in pure-C++ engine alongside TensorFlow Lite, TensorRT, and ONNX Runtime/DirectML backends, allowing users to select the backend at runtime. The software loads ONNX models out of the box without external SDKs and supports object detection with built-in YOLOv8 decoding and non-maximum suppression. It also handles image-to-image tasks such as super-resolution, low-light enhancement, and denoising, and performs live inference on camera feeds using V4L2 on Linux and Media Foundation on Windows.

How does the built-in engine handle external dependencies?

The built-in engine has zero external dependencies, meaning it compiles on any platform with just a C++20 compiler and runs ONNX models out of the box. Users can build and infer in one cmake invocation without needing additional SDKs to get started. This approach allows the same binary to cover CPU, GPU, and NPU, with the same source building on Linux, Windows, and macOS.

How does a user run an ONNX model on an image?

Users can run an ONNX model on an image out of the box by pointing ii at a model and an image, where it preprocesses, runs inference, and gives the result. The process involves a single interface that drives a built-in pure-C++ engine and every major accelerator, so the same models run the same way on a laptop, a workstation GPU, or a tiny embedded board.

What specific object detection and image-to-image features are included?

The software includes built-in YOLOv8 decoding and non-maximum suppression for object detection, with COCO-80 labels by default or the ability to supply a custom class list using the --classes flag. It also supports image-to-image models for super-resolution, low-light enhancement, and denoising, showing results on screen or saving them to PNG with optional tiling and seam feathering for small-input models.

How does ii handle live video capture and inference?

For live video, ii supports camera capture via V4L2 on Linux and Media Foundation on Windows, with on-the-fly inference and a zero-copy on-screen window plus an FPS / jitter overlay. This allows users to capture video and perform real-time inference directly within the application.

What benchmarking and quantization features are available?

Benchmarking capabilities include warmup + timed runs, CPU-vs-delegate comparison, and cross-model comparison such as float32 vs INT8 or one backend against another, with CSV telemetry export. The system also supports quantization-aware INT8, UInt8, Float16, and Float32 tensors, reading the scale and zero-point directly from the model so quantized graphs just work.

How is the engine structured for embedding into other applications?

Everything but the CLI compiles into one static library, ii_core, which users can link and depend on the narrow ii::Engine interface. This design ensures no backend SDK headers leak in, making it easy to embed the engine into larger applications.

How does the system manage different backends at build and runtime?

A single binary can carry any combination of backends, with only the built-in engine on by default since it needs no SDK. Users can choose at build time and dispatch at runtime, allowing the project to build and run out of the box immediately.

How does ii ensure consistency across different hardware platforms?

The same binary covers CPU, GPU, and NPU, and the same source builds on Linux, Windows, and macOS. This allows users to start with nothing and scale up to vendor acceleration with just one flag, ensuring consistent performance across different hardware.

How does a user switch between different backends during execution?

Users can pick what they build and choose at runtime with the --backend flag, as all backends sit behind a single ii::Engine. This flexibility allows for seamless switching between TensorFlow Lite, TensorRT, ONNX Runtime / DirectML, and the built-in pure-C++ engine.

What licensing and core value propositions does ii offer?

The software is MIT licensed and is described as a complete, no-fuss path from a model file to a result, including detection, image-to-image, live video, and benchmarking. Identical results are achieved across every backend, providing a unified experience for developers.

What is the primary interface design philosophy of ii?

The project features a single interface that drives a built-in pure-C++ engine and every major accelerator, ensuring that the same models run the same way regardless of the underlying hardware. This narrow interface simplifies the development process for neural network inference.

What are the key characteristics of the built-in engine?

The built-in engine is described as self-contained pure-C++20 graph executor that loads ONNX directly and builds on every platform, making it ideal for embedded systems. It requires no external SDK and is the default backend when starting.

What is the overall mission and design goal of ii?

The website states that ii is a small, fast, backend-agnostic C++20 neural-network inference engine and CLI runner. It is designed to run neural networks anywhere, simply, with a focus on simplicity and speed.

What is the official website of ii?

The official website of ii is iirun.dev.

Based on reviews, listing data and the company's website. Verify anything important with the company directly.

No reviews

Be the first to review

Write a review

Questions & Answers

Trustburn Team Trustburn asked:

Which hardware components, like GPU or NPU, should be available on your system before starting inference?

Trustburn Team suggests a starter question on new profiles — the business hasn’t answered yet.

News & Press

No news yet. This is where the business shares its own updates and press.

Photos

No photos yet. Photos shared by reviewers will show up here.

Widgets

Boost your business trust by displaying widget on your website — its a simple way to convert your visitors into customers.

Embed code

<script src="https://trustburn.com/widgets/index.js"></script>
<div class="trustburn-widget" data-trustburn-protocol="https:" data-trustburn-domain="trustburn.com" data-trustburn-widget="score" data-company-path="iirun-dev" data-lang="en"></div>
More widgets

About ii

ii is a small, fast C++20 neural-network inference engine and command-line runner that processes models on CPU, GPU, and NPU across Linux, Windows, and macOS. It exposes a single interface that drives a built-in pure-C++ engine alongside TensorFlow Lite, TensorRT, and ONNX Runtime/DirectML backends, allowing users to select the backend at runtime. The software loads ONNX models out of the box without external SDKs and supports object detection with built-in YOLOv8 decoding and non-maximum suppression. It also handles image-to-image tasks such as super-resolution, low-light enhancement, and denoising, and performs live inference on camera feeds (V4L2 on Linux, Media Foundation on Windows). The project is MIT licensed and distributed as a buildable C++20 codebase.

Website
iirun.dev