Text Embeddings Inference
ML inferencetext-embeddings-inference
Hugging Face server for embedding, reranker and sequence-classification models.
- Provider
- default
- Kind
- ML inference
- Category
- Compute
- Also known as
- TEI
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| accelerator | enum | none | gpu | asic | no | none | ▸ gpu |
| acceleratorModel | enum | nvidia-h100 | nvidia-h200 | nvidia-b200 | nvidia-l4 | nvidia-a100 | amd-mi300x | aws-trainium | aws-inferentia | google-tpu | intel-gaudi | groq-lpu | cerebras-wse | no | — | inherited |
| apiKeyRequired | boolean | — | no | false | inherited |
| autoTruncate | boolean | — | no | true | inherited |
| embeddingSyncMinutes | integer | — | no | — | inherited |
| inputs | enum | live | historical | both | no | live | ▸ live |
| instances | integer | — | no | — | inherited |
| managed | boolean | — | no | false | ▸ false |
| maxBatchTokens | integer | — | no | 16384 | inherited |
| maxConcurrentRequests | integer | — | no | 512 | inherited |
| port | integer | — | no | 3000 | inherited |
| snapshotToObjectStore | boolean | — | no | false | inherited |
| training | enum | batch | online | no | batch | ▸ batch |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
stateful-node-without-zone-redundancy
A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.
- — all of these hold:
- — the node's `stateless` is false
- — the node sits inside exactly 1 availability-zone group
- — this does not hold:
- — the node sits inside at least one cell group
nodes:
- { id: "text-embeddings-inference", component: "text-embeddings-inference" }SageMaker endpointsagemaker-endpointAzure ML endpointazure-ml-endpointWorkers AIcloudflare-workers-aiAnyscale Endpointsanyscale-endpointsBananabanana-devBasetenbasetenBeambeam-cloudBentoMLbentomlHugging Face Inference Endpointshuggingface-inferenceInfinityinfinity-embeddingsJanjanKServekservellama.cpp serverllama-cpp-serverllm-dllm-dLM Studiolm-studioLMDeploylmdeployLocalAIlocalaiGeneric ML inferenceml-inferenceMLC LLMmlc-llmModalmodalMystic AImystic-aiNVIDIA NIM (self-hosted)nvidia-nimOctoAIoctoaiOllamaollamaRay Serveray-serveSeldon Coreseldon-coreSGLangsglangTensorFlow Servingtensorflow-servingTensorRT-LLMtensorrt-llmText Generation Inferencetext-generation-inferenceTorchServetorchserveNVIDIA TritontritonvLLMvllmXinferencexinferenceVertex AI endpointvertex-ai-endpointOCI Data Science Model Deploymentoci-data-science-model-deploymentOCI Generative AI Dedicated AI Clusteroci-generative-ai-cluster
# yaml-language-server: $schema=../../schema/component.schema.json # Text Embeddings Inference (TEI): Hugging Face's server for embedding, reranker and sequence-classification models. # Per "CLI arguments", the router listens on 0.0.0.0:3000, allows 512 concurrent requests and 16384 batch tokens, # truncates over-long inputs by default, and answers every request until --api-key is set. schemaVersion: "1" type: "component" id: "text-embeddings-inference" kind: "ml-inference" provider: "default" docs: "https://huggingface.co/docs/text-embeddings-inference/en/cli_arguments" aliases: ["TEI"] defaults: training: "batch" inputs: "live" accelerator: "gpu" managed: false properties: port: type: "integer" default: 3000 maxConcurrentRequests: type: "integer" default: 512 maxBatchTokens: type: "integer" default: 16384 apiKeyRequired: type: "boolean" default: false autoTruncate: type: "boolean" default: true