Deploy a foundation model straight from Hugging Face, with no files to upload first. The endpoint downloads the model from Hugging Face when its workers start. For a gated model, accept the licence on the model’s Hugging Face page first, with the same account that owns your token.
Choose the Hugging Face download
Section titled “Choose the Hugging Face download”- On Choose Framework, select a framework that loads a model, such as vLLM, and open its create form. See Choose a framework.
- In Download Type, choose Download from Huggingface. It is the default for vLLM and its family. Use it for a foundation model as published on Hugging Face.
- In HuggingFace Model, type the model ID as
organization/model-name. TIR checks the ID. - In HF Token Integration, choose your integration, which holds a Hugging Face access token with Read scope. Most frameworks ask for one. If you have none yet, make one with Create Integration, or see Create a Hugging Face integration.
- Wait while TIR checks that the token can read the model. If it cannot, TIR gives the reason. If the model’s owner must grant access, request it on Hugging Face first.
- Finish the other settings, starting with Model Cache Storage, and select Deploy Endpoint. See Create an endpoint.
Check the download
Section titled “Check the download”The endpoint starts in Deploying and becomes Running when the model is loaded. A large model can take 10 to 15 minutes or more. If it takes much longer, open Deployment Events and Worker Logs. See View logs and events.
A download usually fails for one of these reasons:
- A wrong or empty model ID.
- A token without Read scope.
- A gated model, before you accept its licence with the account that owns the token.
- A revoked token.
For help with a token or a gated model, see Troubleshooting Model Endpoints.
When the endpoint is Running, call it with a token. In requests, the model name is the Hugging Face ID.
Was this page helpful?