Files
vllm-project--vllm/docs/examples/README.md
T
wehub-resource-sync 7ce4c8e27e
pre-commit / pre-run-check (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:55:37 +08:00

19 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Examples
vLLM's examples are organized into the following categories:
- **[`basic/`](../../examples/basic)** Minimal examples for offline inference and online serving.
- **[`generate/`](../../examples/generate)** Text generation examples, including multimodal models.
- **[`pooling/`](../../examples/pooling)** Examples for embedding, classification, scoring, reward, etc.
- **[`speech_to_text/`](../../examples/speech_to_text)** Speech transcription, translation and real-time audio examples.
- **[`features/`](../../examples/features)** Demonstrations of individual vLLM features: automatic prefix caching, speculative decoding, LoRA, structured outputs, prompt embedding, pause/resume, batch invariance, KV events, data parallelism, and more.
- **[`reasoning/`](../../examples/reasoning)** Examples for reasoning with vLLM.
- **[`tool_calling/`](../../examples/tool_calling)** Examples for function/tool calling with vLLM.
- **[`applications/`](../../examples/applications)** Application examples such as simpler api server, chatbots and RAG (Retrieval-Augmented Generation).
- **[`rl/`](../../examples/rl)** Reinforcement learning examples.
- **[`deployment/`](../../examples/deployment)** Examples for deploying vLLM in production.
- **[`ray_serving/`](../../examples/ray_serving)** Scalable serving using Ray.
- **[`disaggregated/`](../../examples/disaggregated)** Examples for Disaggregated P/D (Prefill/Decoding) inference, including various kv cache connectors (LMCache, Mooncake, FlexKV, P2P NCCL) and failure recovery.
- **[`scale_out/`](../../examples/scale_out)** Examples for Token In <> Token Out API Server.
- **[`observability/`](../../examples/observability)** Metrics, logging, tracing (OpenTelemetry), and dashboards (Grafana, Perses).