Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
dd164d72
Unverified
Commit
dd164d72
authored
Aug 14, 2024
by
Cyrus Leung
Committed by
GitHub
Aug 13, 2024
Browse files
[Bugfix][Docs] Update list of mock imports (#7493)
parent
ea49e6a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.buildkite/test-pipeline.yaml
.buildkite/test-pipeline.yaml
+2
-0
docs/source/conf.py
docs/source/conf.py
+1
-1
No files found.
.buildkite/test-pipeline.yaml
View file @
dd164d72
...
@@ -36,6 +36,8 @@ steps:
...
@@ -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
...
...
docs/source/conf.py
View file @
dd164d72
...
@@ -97,13 +97,13 @@ def setup(app):
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment