Loading tutorials
LLM(...) and llm.chat(...) from the offline inference chapter. It also assumes you know that a model produces a probability distribution over the next token at each decode step. Here you will learn which SamplingParams fields control that step, which defaults c5 min readLLM offline and call vllm serve, as covered in the previous chapters. It also assumes you know the messages format of chat APIs. Here you will learn what a chat template is and where vLLM applies it. You will also see the errors that appear when the template is5 min readvllm serve, know what the KV cache is, and have read the earlier chapters on PagedAttention and continuous batching. It covers the three settings that decide how many requests a vLLM instance can serve at once: gpu_memory_utilization, max_model_len, and `max_nu5 min readvllm serve, and that you know what gpu_memory_utilization and max_model_len do. It also assumes you know that the KV cache is the GPU memory vLLM uses to hold attention state for running requests. Here you will learn what quantization changes, h4 min readvllm serve, and that you know what the KV cache is and how gpu_memory_utilization and max_model_len affect it. You also need a basic idea of what a GPU interconnect is (PCIe, NVLink). By the end you should be able to decide when a model needs se5 min readvllm serve, call it with the OpenAI client, and read the KV cache and PagedAttention chapters. You should know that prefill computes key and value tensors for every prompt token, and that vLLM stores them in fixed6 min readvllm serve and call it with the OpenAI client. It also assumes you know what the KV cache, prefill, decode, and continuous batching are from earlier chapters. You do not need prior Prometheus experience, but the basic idea helps: a service exposes numbers over HT4 min readvllm serve and call it with the OpenAI client, as covered earlier. It also assumes you have read the chapters on memory tuning and monitoring. Here you will measure how fast a server is and learn how to read the numbers.5 min readvllm serve and memory tuning, and have an NVIDIA GPU host.4 min readvllm serve, call it with the OpenAI client, and set gpu_memory_utilization and max_model_len. It also assumes you know what fine-tuning is. You do not need to have trained an adapter yourself.4 min readvllm serve. You should also be comfortable with the Python LLM class and with reading /metrics output.5 min read