"tests/kernels/test_blocksparse_attention.py" did not exist on "75471386de62eef044568bf4425b63d410fde11f"
engine_args.md 883 Bytes
Newer Older
1
2
3
4
---
toc_depth: 3
---

5
# Engine Arguments
6
7
8

Engine arguments control the behavior of the vLLM engine.

9
10
- For [offline inference](../serving/offline_inference.md), they are part of the arguments to [LLM][vllm.LLM] class.
- For [online serving](../serving/openai_compatible_server.md), they are part of the arguments to `vllm serve`.
11

12
13
The engine argument classes, [EngineArgs][vllm.engine.arg_utils.EngineArgs] and [AsyncEngineArgs][vllm.engine.arg_utils.AsyncEngineArgs], are a combination of the configuration classes defined in [vllm.config][]. Therefore, if you are interested in developer documentation, we recommend looking at these configuration classes as they are the source of truth for types, defaults and docstrings.

14
--8<-- "docs/cli/json_tip.inc.md"
15

16
## `EngineArgs`
17

18
--8<-- "docs/argparse/engine_args.md"
19

20
## `AsyncEngineArgs`
21

22
--8<-- "docs/argparse/async_engine_args.md"