Hugging Face Inference Endpoints
ML inferencehuggingface-inference
Managed deployment of a Hub model on dedicated autoscaling CPU or GPU replicas.
- Provider
- default
- Kind
- ML inference
- Category
- Compute
- Also known as
- Inference Providers
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| accelerator | enum | none | gpu | asic | no | none | inherited |
| 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 |
| embeddingSyncMinutes | integer | — | no | — | inherited |
| inferenceEngine | enum | tgi | vllm | custom-container | no | tgi | inherited |
| inputs | enum | live | historical | both | no | live | ▸ live |
| instances | integer | — | no | — | inherited |
| managed | boolean | — | no | false | ▸ true |
| pendingRequestsPerReplica | boolean | — | no | false | inherited |
| scaleToZero | boolean | — | no | false | inherited |
| scaleToZeroIdleMinutes | integer | — | no | 60 | inherited |
| snapshotToObjectStore | boolean | — | no | false | ▸ false |
| training | enum | batch | online | no | batch | ▸ batch |
| utilizationThresholdPercent | integer | — | no | 80 | inherited |
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: "huggingface-inference", component: "huggingface-inference" }SageMaker endpointsagemaker-endpointAzure ML endpointazure-ml-endpointWorkers AIcloudflare-workers-aiAnyscale Endpointsanyscale-endpointsBananabanana-devBasetenbasetenBeambeam-cloudBentoMLbentomlInfinityinfinity-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 Embeddings Inferencetext-embeddings-inferenceText 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 # Hugging Face Inference Endpoints: managed service that deploys a Hub model on dedicated CPU or GPU # replicas behind a private endpoint. Per "Inference Endpoints" the infrastructure is fully managed and # replicas autoscale; per "Autoscaling", scale-to-zero idles the endpoint after 1 hour of inactivity, # utilisation scaling triggers at 80% CPU or GPU and at 1.5 pending requests per replica. schemaVersion: "1" type: "component" id: "huggingface-inference" kind: "ml-inference" provider: "default" docs: "https://huggingface.co/docs/inference-endpoints/en/guides/autoscaling" aliases: ["Inference Providers"] defaults: managed: true inputs: "live" training: "batch" snapshotToObjectStore: false properties: scaleToZero: type: "boolean" default: false scaleToZeroIdleMinutes: type: "integer" default: 60 utilizationThresholdPercent: type: "integer" default: 80 pendingRequestsPerReplica: type: "boolean" default: false inferenceEngine: type: "enum" values: ["tgi", "vllm", "custom-container"] default: "tgi"