trymirai/uzu

A high-performance inference engine for AI models

What it solves

uzu is a high-performance inference engine designed to let developers deploy AI models directly within their applications. It eliminates the need for external API calls for local models, which removes inference costs, ensures full data privacy, and removes network latency.

How it works

It provides a high-level API that abstracts the complexity of model downloading and inference configuration. The engine supports multiple languages (Rust, Python, Swift, and TypeScript) and is optimized for Apple devices by utilizing unified memory. It allows for both local model execution and integration with cloud models (like OpenAI) through a unified interface.

Who it’s for

Software developers building applications for desktop or mobile (specifically iOS and macOS) who want to integrate local AI capabilities without managing complex infrastructure.

Highlights

  • Multi-language support: Bindings for Rust, Python, Swift, and TypeScript.
  • Apple Silicon Optimization: Specifically leverages unified memory on Apple devices.
  • Unified API: A single interface for managing both local and cloud-based AI models.
  • Automatic Management: Handles model downloading and configuration automatically.
  • Traceable Computations: Ensures correctness by allowing computations to be traced against source-of-truth implementations.

Related

  • Project
  • Project
  • Project
  • Project
  • Project