[CI] Ensure documentation build is checked in CI (#2842)

This commit is contained in:
Simon Mo
2024-02-12 22:53:07 -08:00
committed by GitHub
parent a4211a4dc3
commit f964493274
5 changed files with 14 additions and 1 deletions

View File

@@ -94,3 +94,5 @@ class MockedClassDocumenter(autodoc.ClassDocumenter):
autodoc.ClassDocumenter = MockedClassDocumenter
navigation_with_keys = False

View File

@@ -89,6 +89,7 @@ Documentation
:caption: Quantization
quantization/auto_awq
quantization/fp8_e5m2_kv_cache
.. toctree::
:maxdepth: 2

View File

@@ -9,6 +9,7 @@ The FP8 data format retains 2~3 mantissa bits and can convert float/fp16/bflaot1
Here is an example of how to enable this feature:
.. code-block:: python
from vllm import LLM, SamplingParams
# Sample prompts.
prompts = [