Glossary

What is vLLM?

In Turkish: vLLM · Topic: Hardware and infrastructure

An open-source inference library built to run large language models on servers with less memory and higher throughput. It lets the same hardware serve more users at once.

How does it work?

While a model generates a reply, it keeps intermediate results for earlier tokens, known as the KV cache, in GPU memory. Traditional approaches reserve large contiguous blocks for this cache up front, so a lot of memory goes unused. vLLM's PagedAttention splits the cache into small blocks, much like paging in an operating system, and allocates them only as needed. Continuous batching also lets a new request take the place of a finished one right away, so the GPU rarely sits idle.

Why does it matter?

Serving a model to millions of users can cost as much as training it. Inference efficiency means answering more requests on the same GPUs and lowering the cost per request. Because vLLM is open source, it is a common choice for companies hosting their own models.

Example

A company running an open-weight language model on its own servers can expose its chat assistant through vLLM and serve more employees at the same time on the same GPUs.

FAQ

Is vLLM an AI model?

No. vLLM is serving software that runs existing models, not a model itself. It can be used with many open models.

What is PagedAttention?

It is a technique for managing the language model's cache of earlier tokens in small blocks. This wastes less GPU memory and allows more requests to be processed at once.

All terms