[Bugfix][Docs] Update list of mock imports (#7493)
This commit is contained in:
parent
ea49e6a3c8
commit
dd164d72f3
@ -36,6 +36,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- pip install -r requirements-docs.txt
|
- pip install -r requirements-docs.txt
|
||||||
- SPHINXOPTS=\"-W\" make html
|
- SPHINXOPTS=\"-W\" make html
|
||||||
|
# Check API reference (if it fails, you may have missing mock imports)
|
||||||
|
- grep \"sig sig-object py\" build/html/dev/sampling_params.html
|
||||||
|
|
||||||
- label: Async Engine, Inputs, Utils, Worker Test # 15min
|
- label: Async Engine, Inputs, Utils, Worker Test # 15min
|
||||||
fast_check: true
|
fast_check: true
|
||||||
|
@ -97,13 +97,13 @@ def setup(app):
|
|||||||
# Mock out external dependencies here, otherwise the autodoc pages may be blank.
|
# Mock out external dependencies here, otherwise the autodoc pages may be blank.
|
||||||
autodoc_mock_imports = [
|
autodoc_mock_imports = [
|
||||||
"aiohttp",
|
"aiohttp",
|
||||||
|
"compressed_tensors",
|
||||||
"cpuinfo",
|
"cpuinfo",
|
||||||
"torch",
|
"torch",
|
||||||
"transformers",
|
"transformers",
|
||||||
"psutil",
|
"psutil",
|
||||||
"prometheus_client",
|
"prometheus_client",
|
||||||
"sentencepiece",
|
"sentencepiece",
|
||||||
"vllm.cuda_utils",
|
|
||||||
"vllm._C",
|
"vllm._C",
|
||||||
"PIL",
|
"PIL",
|
||||||
"numpy",
|
"numpy",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user