#7171st of 109 in Model serving
michaelfeil/infinity
Rust server for embeddings, reranking and classification over a REST API
- Stars
- 3k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- C++
2,748 on 26 Apr 20262,992 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Infinity v3 is a native Rust server that runs models through LibTorch and exposes embeddings, reranking, classification, token classification, SPLADE sparse embeddings and typed decisions over REST endpoints. It runs a full model replica on each visible CUDA GPU and picks pooling from checkpoint metadata. The older Python server (v2) lives in the same repo as a separate package.
Who it is for: Engineers self-hosting embedding and reranking APIs on NVIDIA GPUs
Strengths
- Embeddings, rerank, classify, token classification and SPLADE endpoints in one server
- Uses all visible CUDA GPUs by default, one full replica per GPU
- Pooling is chosen automatically from checkpoint metadata
- Interactive API docs at /docs and a /health readiness check
Weaknesses
- v3 license is custom source-available (Infinity Restricted MIT), not plain MIT
- Documented setup needs an NVIDIA GPU with SM80 (Ampere) or newer
- Each GPU must fit the full model, including all experts for MoE checkpoints
- Support depends on architecture and trained task head, so not every checkpoint works
What it needs
- GPU required
- Needs NVIDIA Container Toolkit, LibTorch
- Models: sentence-transformers checkpoints, dense text and multimodal embeddings, late-interaction token vectors, rerankers, sequence and token classifiers
- port 8000
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- Running infinity cli with click >8.2.1 fails with TypeError: Secondary flag is not valid for non-boolean flag ↗ (opens in a new tab)1 reactions · closed 8 Nov 2026Fixed by fix(python): upgrade Typer and allow HTTPX 0.28 ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Model serving
See all 109| Rank | Project | Score |
|---|---|---|
| #69 | Text Embeddings InferenceRust server for embedding, re-ranking and sequence classification models | 65 out of 100 |
| #70 | openlakeRust storage engine with S3 API and KV cache offload for vLLM | 65 out of 100 |
| #72 | mtplxMTP speculative-decoding inference server and Mac app for Apple Silicon | 65 out of 100 |
| #73 | sglang-omniMulti-stage serving runtime for omni, speech, TTS and ASR models | 65 out of 100 |
| #74 | bentomlPython library for turning model inference code into batched REST APIs | 63 out of 100 |