@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / c53041ae3b
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 16, 19:30 UTC

[Doc] Add missing mock import to docs `conf.py` (#6834)

Harry Mellor committed Jul 27, 2024 at 05:47 UTC c53041ae3b8ded4ac4c3fc745be6bc695b9f0c78
2 files changed +3
.readthedocs.yaml
+1
@@ -10,6 +10,7 @@ build:
10
11 sphinx:
12 configuration: docs/source/conf.py
13 + fail_on_warning: true
14
15 # If using Sphinx, optionally build your docs in additional formats such as PDF
16 formats:
docs/source/conf.py
+2
@@ -94,6 +94,7 @@ def setup(app):
94
95 # Mock out external dependencies here, otherwise the autodoc pages may be blank.
96 autodoc_mock_imports = [
97 + "aiohttp",
98 "cpuinfo",
99 "torch",
100 "transformers",
@@ -141,5 +142,6 @@ intersphinx_mapping = {
142 }
143
144 autodoc_preserve_defaults = True
145 +autodoc_warningiserror = True
146
147 navigation_with_keys = False