vllm/docs/serving/engine_args.md
Harry Mellor a1fe24d961
Migrate docs from Sphinx to MkDocs (#18145)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
2025-05-23 02:09:53 -07:00

1.0 KiB

title
Engine Arguments

{ #engine-args }

Engine arguments control the behavior of the vLLM engine.

  • For [offline inference][offline-inference], they are part of the arguments to [LLM][vllm.LLM] class.
  • For [online serving][openai-compatible-server], they are part of the arguments to vllm serve.

You can look at [EngineArgs][vllm.engine.arg_utils.EngineArgs] and [AsyncEngineArgs][vllm.engine.arg_utils.AsyncEngineArgs] to see the available engine arguments.

However, these classes are a combination of the configuration classes defined in [vllm.config][]. Therefore, we would recommend you read about them there where they are best documented.

For offline inference you will have access to these configuration classes and for online serving you can cross-reference the configs with vllm serve --help, which has its arguments grouped by config.

!!! note Additional arguments are available to the [AsyncLLMEngine][vllm.engine.async_llm_engine.AsyncLLMEngine] which is used for online serving. These can be found by running vllm serve --help