[Core] Support image processor (#4197)
This commit is contained in:
@@ -90,6 +90,7 @@ autodoc_mock_imports = [
|
||||
"sentencepiece",
|
||||
"vllm.cuda_utils",
|
||||
"vllm._C",
|
||||
"PIL",
|
||||
"numpy",
|
||||
"tqdm",
|
||||
"tensorizer",
|
||||
@@ -116,12 +117,13 @@ class MockedClassDocumenter(autodoc.ClassDocumenter):
|
||||
autodoc.ClassDocumenter = MockedClassDocumenter
|
||||
|
||||
intersphinx_mapping = {
|
||||
'python': ('https://docs.python.org/3', None),
|
||||
'typing_extensions':
|
||||
('https://typing-extensions.readthedocs.io/en/latest', None),
|
||||
'numpy': ('https://numpy.org/doc/stable', None),
|
||||
'torch': ('https://pytorch.org/docs/stable', None),
|
||||
'psutil': ('https://psutil.readthedocs.io/en/stable', None),
|
||||
"python": ("https://docs.python.org/3", None),
|
||||
"typing_extensions":
|
||||
("https://typing-extensions.readthedocs.io/en/latest", None),
|
||||
"pillow": ("https://pillow.readthedocs.io/en/stable", None),
|
||||
"numpy": ("https://numpy.org/doc/stable", None),
|
||||
"torch": ("https://pytorch.org/docs/stable", None),
|
||||
"psutil": ("https://psutil.readthedocs.io/en/stable", None),
|
||||
}
|
||||
|
||||
autodoc_preserve_defaults = True
|
||||
|
||||
Reference in New Issue
Block a user