Xorbits Inference (Xinference)
Fields
engines/xinferenceNotes
COMPUTE-BOUND at batch 1 for a BERT-size encoder, for the standard structural reason: bidirectional single-pass attention over all input tokens, no KV cache, no autoregressive weight streaming, so the arithmetic is dense GEMM with high arithmetic intensity. Hardware-selection consequence is the same inversion as the rest of this slice: for the encoder half, buy FLOPS and capacity rather than HBM bandwidth. The weights of a 300M encoder are read once per batch, not once per token, so bandwidth is not the constraint; a bandwidth-rich FLOPS-poor part underperforms here relative to its LLM-decode reputation. What makes Xinference interesting in this niche is not that it computes embeddings differently but that it puts three very different compute profiles under one roof. (a) Dense bi-encoders: compute-bound and highly batch-friendly, since batching amortizes the one-time weight read across every sequence in the batch. (b) BERT-class cross-encoder rerankers: compute-bound AND candidate-count-scaled, because every (query, passage) pair is a full forward pass with no caching and no early exit, so reranking a top-100 candidate set costs roughly 100 full-length encoder passes. This makes reranking the dominant cost in most RAG pipelines per unit of work, and it is the line item most often under-budgeted. (c) Decoder-based rerankers such as Qwen3-Reranker: the one case here where a KV cache does exist, because they score by generating a token, so their profile drifts toward LLM prefill rather than pure encoder. They remain compute-bound like an encoder, but their weights are 0.6B-8B against a BERT reranker's ~300M, which reintroduces a capacity constraint that the BERT-class rerankers do not have. Architectures - can serve: dense bi-encoders across the bge/e5/gte/jina/xlm-roberta catalogues; cross-encoder rerankers including BERT-family, decoder-based (Qwen3-Reranker) and multimodal (Qwen3-VL-Reranker, jina-clip-v2, GME-Qwen2-VL); multimodal embedding via gme-Qwen2-VL. Cannot serve, or no evidence of: late-interaction ColBERT multi-vector output (no MaxSim token-wise path documented), SPLADE sparse embeddings, and any generative model beyond the LLM path. Confidence 0.75: repo existence, Apache-2.0 licence, first commit year 2023-06-14, star count and both model catalogues are verified directly from GitHub and the docs; the backend and hardware vocabulary are normalised from the README's general acceleration story rather than an encoder-specific statement, and no benchmark with methodology is quoted. ||| MAINTENANCE (dated fact, GitHub API, 2026-10-04): last commit 2026-10-04 (0.0 months before this record), latest release v3.5.0 published 2026-09-25, 171 contributors (distinct committers including anonymous), open_issues_count 33 (issues PLUS pull requests - see [[ev-github-open-issues-count-includes-pull-requests]]), not archived, 9598 stars. See [[ev-maintenance-status-is-four-dated-facts]] for how to read this fact set.
Cross-references
This record references no other records — it is a leaf. It is cited by 11.