xorbitsai/inference

Swap GPT for any LLM by changing a single line of code. Xinference lets you run open-source, speech, and multimodal models on cloud, on-prem, or your laptop — all through one unified, production-ready inference API.

What it solves

Xinference simplifies the deployment and serving of large-scale AI models. It removes the complexity of managing infrastructure for language, speech recognition, and multimodal models, allowing users to deploy state-of-the-art open-source models with a single command.

How it works

Xinference acts as a model serving library that provides a unified interface for various inference engines (such as vLLM, GGML, and TensorRT). It supports heterogeneous hardware utilization, enabling models to run across GPUs and CPUs. It also offers distributed deployment to spread inference tasks across multiple machines or devices.

Who it’s for

Researchers, developers, and data scientists who need to serve AI models for experimentation or production without managing complex backend infrastructure.

Highlights

  • Multi-modal support: Serves LLMs, image generation, text embedding, and audio models.
  • OpenAI-compatible: Provides a RESTful API that is compatible with OpenAI, including support for Function Calling.
  • Hardware flexibility: Intelligently utilizes GPUs, CPUs, and Metal (Apple Silicon) via GGML.
  • Enterprise-ready: Supports multi-node cluster deployment and integrates with tools like LangChain, LlamaIndex, and Dify.
  • Performance optimizations: Includes auto-batching for higher throughput and continuous batching via Xllamacpp.

Related

  • Project
  • Project
  • Project
  • Project
  • Project