Overview of Text Embeddings Inference (TEI)
mainText Embeddings Inference (TEI) is a toolkit for efficient deployment and serving of open-source text embeddings models. It is optimized for high-performance extraction of popular models such as FlagEmbedding, Ember, GTE, and E5.
Key Capabilities:
- Streamlined Deployment: No model graph compilation required.
- Efficient Resource Utilization: Small Docker images and rapid boot times suitable for serverless architectures.
- Dynamic Batching: Uses token-based dynamic batching to optimize resource utilization.
- Optimized Inference: Leverages Flash Attention, Candle, and cuBLASLt via optimized transformers code.
- Fast Loading: Uses Safetensors weights for faster boot times.
- Production Features: Supports Open Telemetry for distributed tracing and exports Prometheus metrics.