safetensors checkpoints—compatible with Hugging Face transformers—for many model types. You can find the complete list of supported models on the Supported Models page. If your model is not on the list, please contact support.
Passing Launch Options
Launch options are passed as arguments after the image name in yourdocker run command:
[LAUNCH_OPTIONS] with the options described in Launch Options. Running the command above starts a Docker container that exposes an HTTP endpoint for handling inference requests.
Multi-GPU Serving
Friendli Container supports tensor parallelism and pipeline parallelism for multi-GPU inference.Tensor Parallelism
Use tensor parallelism when serving large models that exceed the memory capacity of a single GPU. It distributes parts of the model’s weights across multiple GPUs. To use tensor parallelism with Friendli Container:- Specify multiple GPUs for
$GPU_ENUMERATION(e.g., ‘“device=0,1,2,3”’). - Use
--num-devices(or-d) option to specify the tensor parallelism degree (e.g.,--num-devices 4).
Examples
- Deploying Models on a Single GPU
- Deploying Models on Multi-GPU
This is an example running Llama-3.1-8B-Instruct with a single GPU.