serving-llms-vllm
Serves LLMs with high throughput using vLLM's PagedAttention and continuous batching. Use when deploying production LLM APIs, optimizing inference latency/throughput, or serving models with limited GPU memory. Supports OpenAI-compatible endpoints, quantization (GPTQ/AWQ/FP8), and tensor parallelism.
Security Assessment
Detected risks:
About serving-llms-vllm
The serving-llms-vllm skill enables high-performance deployment of large language models (LLMs) using vLLM, a serving engine designed for production-scale inference. It addresses common challenges in LLM deployment such as limited GPU memory, low throughput, and high latency. By leveraging vLLM’s PagedAttention mechanism, which uses a block-based KV cache, and continuous batching, which dynamically mixes prefill and decode requests, this skill significantly increases throughput compared to standard transformer-based serving approaches. It is intended for teams deploying LLM-powered APIs that require reliability, scalability, and efficient hardware utilization.
Key capabilities include support for OpenAI-compatible HTTP endpoints, enabling seamless integration with existing OpenAI SDK-based applications. The skill supports multiple quantization methods such as GPTQ, AWQ, and FP8 to reduce memory usage and improve performance, as well as tensor parallelism for serving large models (e.g., 30B–70B parameters) across multiple GPUs. It also provides production-oriented features such as configurable GPU memory utilization, prefix caching, Prometheus-compatible metrics exposure, and Docker-based deployment. Offline batch inference is supported through the Python API, allowing efficient processing of large prompt datasets without server overhead.
Typical use cases include deploying chat or completion APIs, optimizing inference latency and throughput for customer-facing applications, and running large-scale batch processing jobs. This skill is suitable for machine learning engineers, MLOps practitioners, and backend developers responsible for operating LLM services in production environments. It is particularly valuable when serving large models under GPU memory constraints or when high request concurrency and observability are required.
FAQ
How do I start serving a model with this skill?
Install vLLM using pip, then start the OpenAI-compatible server with the `vllm serve <model-name>` command. You can configure GPU memory utilization, maximum model length, quantization, tensor parallelism, and metrics via command-line options.
Is the server compatible with the OpenAI SDK?
Yes. The server exposes OpenAI-compatible endpoints, allowing you to use the official OpenAI Python SDK by pointing the base URL to the local vLLM server.
What hardware configurations are supported?
Single-GPU setups are suitable for smaller models (e.g., 7B–13B). Larger models (e.g., 30B–70B) can be served using tensor parallelism across multiple GPUs. GPU memory utilization can be configured to optimize resource usage.
Does this skill support model quantization?
Yes. Quantization methods such as GPTQ, AWQ, and FP8 are supported to reduce memory footprint and improve performance when serving large models.
How can I monitor performance in production?
Enable metrics exposure when starting the server. vLLM provides Prometheus-compatible metrics, including time to first token, number of running requests, and GPU cache usage percentage.
Install serving-llms-vllm
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
zechenzhangAGI/AI-research-SKILLs