text-embeddings-inference documentation

Supported models and hardware

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Supported models and hardware

We are continually expanding our support for other model types and plan to include them in future updates.

Supported embeddings models

Text Embeddings Inference currently supports Nomic, BERT, CamemBERT, XLM-RoBERTa models with absolute positions, JinaBERT model with Alibi positions and Mistral, Alibaba GTE, Qwen2 models with Rope positions, MPNet, ModernBERT, Qwen3, and Gemma3.

Below are some examples of the currently supported models:

MTEB RankModel SizeModel TypeModel ID
27.57B (Very Expensive)Qwen3Qwen/Qwen3-Embedding-8B
34.02B (Very Expensive)Qwen3Qwen/Qwen3-Embedding-4B
4509MQwen3Qwen/Qwen3-Embedding-0.6B
67.61B (Very Expensive)Qwen2Alibaba-NLP/gte-Qwen2-7B-instruct
7560MXLM-RoBERTaintfloat/multilingual-e5-large-instruct
8308MGemma3google/embeddinggemma-300m (gated)
151.78B (Expensive)Qwen2Alibaba-NLP/gte-Qwen2-1.5B-instruct
187.11B (Very Expensive)MistralSalesforce/SFR-Embedding-2_R
35568MXLM-RoBERTaSnowflake/snowflake-arctic-embed-l-v2.0
41305MAlibaba GTESnowflake/snowflake-arctic-embed-m-v2.0
52335MBERTWhereIsAI/UAE-Large-V1
58137MNomicBERTnomic-ai/nomic-embed-text-v1
79137MNomicBERTnomic-ai/nomic-embed-text-v1.5
103109MMPNetsentence-transformers/all-mpnet-base-v2
N/A475M-A305MNomicBERTnomic-ai/nomic-embed-text-v2-moe
N/A434MAlibaba GTEAlibaba-NLP/gte-large-en-v1.5
N/A396MModernBERTanswerdotai/ModernBERT-large
N/A340MQwen3voyageai/voyage-4-nano
N/A137MJinaBERTjinaai/jina-embeddings-v2-base-en
N/A137MJinaBERTjinaai/jina-embeddings-v2-base-code

To explore the list of best performing text embeddings models, visit the Massive Text Embedding Benchmark (MTEB) Leaderboard.

Supported re-rankers and sequence classification models

Text Embeddings Inference currently supports CamemBERT, and XLM-RoBERTa Sequence Classification models with absolute positions.

Below are some examples of the currently supported models:

TaskModel TypeModel ID
Re-RankingXLM-RoBERTaBAAI/bge-reranker-large
Re-RankingXLM-RoBERTaBAAI/bge-reranker-base
Re-RankingGTEAlibaba-NLP/gte-multilingual-reranker-base
Re-RankingModernBertAlibaba-NLP/gte-reranker-modernbert-base
Sentiment AnalysisRoBERTaSamLowe/roberta-base-go_emotions

Supported hardware

Text Embeddings Inference supports can be used on CPU, Turing (T4, RTX 2000 series, …), Ampere 80 (A100, A30), Ampere 86 (A10, A40, …), Ada Lovelace (RTX 4000 series, …), Hopper (H100), and Blackwell (B200, RTX 5090, DGX Spark, …) architectures. ARM64 (aarch64) is supported for both CPU-only and CUDA (Blackwell 12.1) workloads.

The library does not support CUDA compute capabilities < 7.5, which means V100, Titan V, GTX 1000 series, etc. are not supported.

To leverage your GPUs, make sure to install the NVIDIA Container Toolkit, and use NVIDIA drivers with CUDA version 12.2 or higher.

Find the appropriate Docker image for your hardware in the following table:

ArchitecturePlatformImage
CPUx86_64ghcr.io/huggingface/text-embeddings-inference:cpu-1.9
CPUaarch64ghcr.io/huggingface/text-embeddings-inference:cpu-arm64-1.9
Voltax86_64NOT SUPPORTED
Turing (T4, RTX 2000 series, …)x86_64ghcr.io/huggingface/text-embeddings-inference:turing-1.9 (experimental)
Ampere 8.0 (A100, A30)x86_64ghcr.io/huggingface/text-embeddings-inference:1.9
Ampere 8.6 (A10, A40, …)x86_64ghcr.io/huggingface/text-embeddings-inference:86-1.9
Ada Lovelace (RTX 4000 series, …)x86_64ghcr.io/huggingface/text-embeddings-inference:89-1.9
Hopper (H100)x86_64ghcr.io/huggingface/text-embeddings-inference:hopper-1.9
Blackwell 10.0 (B200, GB200, …)x86_64ghcr.io/huggingface/text-embeddings-inference:100-1.9 (experimental)
Blackwell 12.0 (GeForce RTX 50X0, …)x86_64ghcr.io/huggingface/text-embeddings-inference:120-1.9 (experimental)
Blackwell 12.1 (DGX Spark GB10, …)multighcr.io/huggingface/text-embeddings-inference:121-1.9 (experimental)

Warning: Flash Attention is turned off by default for the Turing image as it suffers from precision issues. You can turn Flash Attention v1 ON by using the USE_FLASH_ATTENTION=True environment variable.

Update on GitHub