Skip to content

anira-project/backends

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anira-backends

Prebuilt inference-engine binaries for anira. Each backend is built from source (or repackaged from an upstream prebuilt) and published as GitHub release archives that anira's CMake downloads at configure time.

Backends

Backend C API Upstream lib name License
TFLite TfLite* tensorflow/lite tensorflowlite_c Apache-2.0
LiteRT LiteRt* google-ai-edge/LiteRT LiteRt Apache-2.0
ONNXRuntime microsoft/onnxruntime onnxruntime MIT
LibTorch pytorch/pytorch torch BSD-3

TFLite and LiteRT are two C APIs for the same runtime (LiteRT is the rebranded TensorFlow Lite): TfLite* is the mature legacy API; LiteRt* is LiteRT's newer native API. Pick one.

This repo is licensed Apache-2.0; the published binaries follow their upstream licenses (above).

Support matrix

What ships per target — shared and/or static:

Target TFLite LiteRT ONNXRuntime LibTorch
macOS x86_64 shared · static shared · static shared · static shared
macOS arm64 shared · static shared · static shared · static shared
macOS universal shared · static shared · static shared · static shared
Linux x86_64 shared · static shared · static shared · static shared
Linux aarch64 shared · static shared · static shared · static shared
Windows x86_64 shared · static ¹ shared · static ¹ shared · static ¹ shared
Windows arm64 shared · static ¹ shared · static ¹ shared · static ¹ shared
Android (arm64-v8a + x86_64) shared · static shared · static shared · static
iOS (xcframework) static static static
WASM (Emscripten) static ²

macOS shared dylibs are Developer ID code-signed (Hardened Runtime, timestamped); the consuming app re-signs/notarizes on embed.

¹ Windows static also ships a Debug variant.

² Emscripten static archive — build flags and consumer requirements in engines/onnxruntime.

= not provided.

Per-backend build details (e.g. LiteRT's LiteRt* vs TfLite* API split, Windows-arm64 from-source toolchain, Android static) live in each engine's README under engines/<backend>/.

Releases

Backends are versioned independently but released together, keyed to the anira version: tag v2.1.1 builds every backend at its pinned engines/<backend>/VERSION and publishes all archives to a single release v2.1.1.

Sponsor

Funded by the German Federal Ministry of Research, Technology and Space (BMFTR)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors