Overview of Infinity
mainInfinity is a high-throughput, low-latency REST API designed for serving various machine learning models, including:
- Text-embeddings
- Reranking models
- CLIP, CLAP, and ColPali (multi-modal models)
Key features include:
- HuggingFace Integration: Deploy any embedding, reranking, CLIP, or sentence-transformer model from HuggingFace.
- High-Performance Backends: Built on PyTorch,
optimum(ONNX/TensorRT), andCTranslate2. It utilizes FlashAttention and supports multiple accelerators including NVIDIA CUDA, AMD ROCM, CPU, AWS INF2, and Apple MPS. - Orchestration: Supports multi-modal and multi-model setups, allowing you to mix and match multiple models within a single instance.
- OpenAI Compatibility: The API is OpenAPI aligned to OpenAI's API specifications, making it easy to integrate with existing tools.