mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 02:35:24 +08:00
883 B
883 B
| toc_depth |
|---|
| 3 |
Engine Arguments
Engine arguments control the behavior of the vLLM engine.
- For offline inference, they are part of the arguments to [LLM][vllm.LLM] class.
- For online serving, they are part of the arguments to
vllm serve.
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.
--8<-- "docs/cli/json_tip.inc.md"
EngineArgs
--8<-- "docs/argparse/engine_args.md"
AsyncEngineArgs
--8<-- "docs/argparse/async_engine_args.md"