Inference Endpoints offers a secure production solution to easily deploy any Transformers, Sentence-Transformers and Diffusers models from the Hub on dedicated and autoscaling infrastructure managed by Hugging Face.
A Hugging Face Endpoint is built from a Hugging Face Model Repository.
Hugging Face Endpoints supports all of the Transformers and Sentence-Transformers tasks and can support custom tasks.
The customization can be done through a handler.py file in your model repository on the Hugging Face Hub.
Automatic Scale-to-Zero: You can configure your Endpoint to scale to zero GPUs/CPUs after a certain amount of time. Scaled-to-zero Endpoints are not billed anymore.
(restarting the Endpoint requires the model to be re-loaded into memory)
Endpoint Security Level: he standard security level is Protected, which requires an authorized HF token for accessing the Endpoint.
Public Endpoints are accessible by anyone without token authentification.
Create a new Dedicated Endpoint
Deploying Endpoint
After successful endpoint creation, the inference endpoint is initialized as Fig 2.
The Endpoint has Initializing, Running, and Scaled to Zero status.