Skip to main content
Creates an Inference Endpoint from a model hosted by Hugging Face. The target model must be part of the vLLM supported models list.

Usage

Arguments

Flags

Examples

Gated Models

Keep in mind that some models are “Gated”, meaning that you need to go through a process of agreeing to their license agreement, privacy policy, or similar before you can use them. You can visit the model’s page on the Hugging Face Hub to see if it is marked as “Gated”. Gated models can be identified by a special indicator symbol. If the model is “Gated”, you will find the necessary information on how to proceed. Mistral-7B-v0.1 model page on Hugging Face Hub: Before being granted access If you have already gone through the process, you will find a badge on the model’s page indicating that you have access to the model. Mistral-7B-v0.1 model page on Hugging Face Hub: After being granted access
Make sure you go through the process using the same Hugging Face account that owns the Access Token stored in the Secret passed to the --hf-token-secret flag.
Learn more about deploying an Inference Endpoint from a Private or Gated model in the Creating an Inference Endpoint: Private Model quickstart guide.