Model Serving
Model serving is the deployment of a trained LLM behind an API that handles inference requests, batching, caching, and scaling to serve users in production.
What is Model Serving?
Model serving is the deployment of a trained LLM behind an API that handles inference requests, batching, caching, and scaling to serve users in production.
Model serving is the deployment of a trained LLM behind an API that handles inference requests, batching, caching, and scaling to serve users in production.
Where is it used?
vLLM, TensorRT-LLM, TGI, and Triton serve Llama/Mistral in production; OpenAI and Anthropic run custom serving stacks; `TextGenerationInference` powers HF Inference Endpoints.
How to build it
Serve Llama-3-8B with `python -m vllm.entrypoints.openai.api_server --model meta-llama/Meta-Llama-3-8B-Instruct --port 8000`, then call `POST /v1/chat/completions` with a curl request.