mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-13 12:34:57 +08:00
[Docs] Fix Unmocked Imports (#3275)
This commit is contained in:
parent
1ece1ae829
commit
99c3cfb83c
@ -72,8 +72,15 @@ html_theme_options = {
|
|||||||
|
|
||||||
# Mock out external dependencies here.
|
# Mock out external dependencies here.
|
||||||
autodoc_mock_imports = [
|
autodoc_mock_imports = [
|
||||||
"torch", "transformers", "psutil", "prometheus_client", "sentencepiece",
|
"torch",
|
||||||
"vllm.cuda_utils", "vllm._C"
|
"transformers",
|
||||||
|
"psutil",
|
||||||
|
"prometheus_client",
|
||||||
|
"sentencepiece",
|
||||||
|
"vllm.cuda_utils",
|
||||||
|
"vllm._C",
|
||||||
|
"numpy",
|
||||||
|
"tqdm",
|
||||||
]
|
]
|
||||||
|
|
||||||
for mock_target in autodoc_mock_imports:
|
for mock_target in autodoc_mock_imports:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user