Skip to content

[Doc]: Newest documentation for engine arguments is significantly worse than v0.8.5 and prior #18707

@gjsmo

Description

@gjsmo

📚 The doc issue

The current documentation directs users to the developer documentation of EngineArgs, AsyncEngineArgs, vllm.config, and AsyncLLMEngine to see available engine arguments. This is considerably less useful than the previous version of the page (v0.8.5.post1 and prior, I believe), for a few reasons:

  • There are now four potential pages to look at, and it's not immediately clear which one the user needs to go to for the information they need. It seems to be vllm.config for most things, but not all?
  • The various pages are developer documentation, and reading them requires wading through all the various methods and additional jargon regarding implementation details.
  • These pages do not seem to provide a list of the possible values for many options, for instance ModelConfig.quantization. It is of course possible to click on QuantizationMethods to get the appropriate information, but again this was much easier to view in the previous version of the page.

Suggest a potential alternative/fix

The User Guide should not link to developer documentation, IMO. While it's not entirely unreasonable to expect users of vLLM to be able to read and understand this (as indeed I can understand the new documentation), it's far more work than should be necessary from a user who isn't also a developer. The User Guide should have a comprehensive list of the options available with vllm serve rather than links to developer documentation or telling people to run vllm serve --help (which isn't great for search and discoverability). Notably, the output of vllm serve --help is actually quite good, and does contain everything a user should need - perhaps a documentation page can be autogenerated from this?

Minor edit: it looks like #18264 actually did this, but then by the time #18661 was merged it was in its current form, and in the middle something odd happened with #18145 causing the git history to be a bit weird as it seems to think the file was renamed from something else. It looks like the content as of #18264 would be decent.

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions