Commit 231e8300 authored by helloyongyang's avatar helloyongyang
Browse files

fix ci

parent 62f4464d
...@@ -96,7 +96,7 @@ autodoc_mock_imports = [ ...@@ -96,7 +96,7 @@ autodoc_mock_imports = [
"psutil", "psutil",
"prometheus_client", "prometheus_client",
"sentencepiece", "sentencepiece",
"lightllm" "numpy", "lightllmnumpy",
"tqdm", "tqdm",
"tensorizer", "tensorizer",
] ]
...@@ -104,9 +104,7 @@ autodoc_mock_imports = [ ...@@ -104,9 +104,7 @@ autodoc_mock_imports = [
for mock_target in autodoc_mock_imports: for mock_target in autodoc_mock_imports:
if mock_target in sys.modules: if mock_target in sys.modules:
logger.info( logger.info(
"Potentially problematic mock target (%s) found; " "Potentially problematic mock target (%s) found; autodoc_mock_imports cannot mock modules that have already been loaded into sys.modules when the sphinx build starts.",
"autodoc_mock_imports cannot mock modules that have already "
"been loaded into sys.modules when the sphinx build starts.",
mock_target, mock_target,
) )
......
...@@ -96,7 +96,7 @@ autodoc_mock_imports = [ ...@@ -96,7 +96,7 @@ autodoc_mock_imports = [
"psutil", "psutil",
"prometheus_client", "prometheus_client",
"sentencepiece", "sentencepiece",
"lightllm" "numpy", "lightllmnumpy",
"tqdm", "tqdm",
"tensorizer", "tensorizer",
] ]
...@@ -104,9 +104,7 @@ autodoc_mock_imports = [ ...@@ -104,9 +104,7 @@ autodoc_mock_imports = [
for mock_target in autodoc_mock_imports: for mock_target in autodoc_mock_imports:
if mock_target in sys.modules: if mock_target in sys.modules:
logger.info( logger.info(
"Potentially problematic mock target (%s) found; " "Potentially problematic mock target (%s) found; autodoc_mock_imports cannot mock modules that have already been loaded into sys.modules when the sphinx build starts.",
"autodoc_mock_imports cannot mock modules that have already "
"been loaded into sys.modules when the sphinx build starts.",
mock_target, mock_target,
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment