Skip to content

Commit

Permalink
[Docs] Fix Unmocked Imports (vllm-project#3275)
Browse files Browse the repository at this point in the history
  • Loading branch information
ywang96 authored Mar 8, 2024
1 parent 1ece1ae commit 99c3cfb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,15 @@

# Mock out external dependencies here.
autodoc_mock_imports = [
"torch", "transformers", "psutil", "prometheus_client", "sentencepiece",
"vllm.cuda_utils", "vllm._C"
"torch",
"transformers",
"psutil",
"prometheus_client",
"sentencepiece",
"vllm.cuda_utils",
"vllm._C",
"numpy",
"tqdm",
]

for mock_target in autodoc_mock_imports:
Expand Down

0 comments on commit 99c3cfb

Please sign in to comment.