dphnAI/sonar
Large-scale LLM inference engine
What it solves
Sonar is a high-performance inference engine designed to serve Hugging Face-compatible language and multimodal models in production environments. It addresses the challenges of memory management and throughput efficiency when deploying large models at scale.
How it works
Based on vLLM, Sonar implements several advanced memory and compute optimizations. It uses continuous batching and paged KV-cache management to maximize GPU memory utilization. To further increase speed, it uses speculative decoding (via methods like EAGLE and MTP) and optimized kernels. It supports distributed serving across multiple nodes without requiring a Ray cluster, and allows for prefill/decode disaggregation through KV connectors like NIXL.
Who it’s for
It is intended for developers and ML engineers who need to deploy production-grade AI models with high throughput and low latency, supporting a wide range of hardware platforms including NVIDIA, AMD, Apple silicon, and Google TPU.
Highlights
- High-throughput serving: Uses continuous batching and paged KV-cache management.
- Broad hardware support: Compatible with NVIDIA CUDA, AMD ROCm, Apple silicon (Metal), and Google TPU.
- Distributed serving: Supports tensor, pipeline, data, and expert parallelism across multiple nodes.
- Advanced decoding: Implements speculative decoding and supports quantized weights and FP8 KV cache.
- Multimodal support: Capable of serving image, audio, and video models. -le API Compatibility: Provides OpenAI, Anthropic, and Kobold APIs.
Related
- Project
- Project
- Project
- Project
- Project