Skip to content

Commit

Permalink
Fix autodoc directives (vllm-project#4272)
Browse files Browse the repository at this point in the history
Co-authored-by: Harry Mellor <[email protected]>
  • Loading branch information
2 people authored and alexeykondrat committed May 1, 2024
1 parent 70ef51b commit e002c31
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
5 changes: 2 additions & 3 deletions docs/source/dev/engine/async_llm_engine.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

AsyncLLMEngine
=================================

.. autoclass:: vllm.engine.async_llm_engine.AsyncLLMEngine
:members: generate, abort
.. autoclass:: vllm.AsyncLLMEngine
:members:
:show-inheritance:
6 changes: 3 additions & 3 deletions docs/source/dev/engine/llm_engine.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
LLMEngine
=================================

.. autoclass:: vllm.engine.llm_engine.LLMEngine
:members: add_request, abort_request, step
:show-inheritance:
.. autoclass:: vllm.LLMEngine
:members:
:show-inheritance:
3 changes: 2 additions & 1 deletion docs/source/dev/sampling_params.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Sampling Params
===============

.. automodule:: vllm.sampling_params.SamplingParams
.. autoclass:: vllm.SamplingParams
:members:

0 comments on commit e002c31

Please sign in to comment.