From c5447e60e8b620b31d34d91b678f39a886cf748a Mon Sep 17 00:00:00 2001 From: yuhan Date: Tue, 17 Jun 2025 09:58:36 +0800 Subject: [PATCH] modify ci preview platform permission and add vllm mindspore --- docs/vllm_mindspore/docs/source_en/index.rst | 1 + tools/ci_pipeline_gate_APIView/generate_pr_html.py | 7 ++++++- tools/generate_html/base_version.json | 9 +++++++++ tools/generate_html/daily.json | 9 +++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/vllm_mindspore/docs/source_en/index.rst b/docs/vllm_mindspore/docs/source_en/index.rst index 32ed9e953f..4f1f599040 100644 --- a/docs/vllm_mindspore/docs/source_en/index.rst +++ b/docs/vllm_mindspore/docs/source_en/index.rst @@ -103,6 +103,7 @@ Apache License 2.0, as found in the `LICENSE =3.9时额外依赖引入的版本过高问题 + # 修改权限 pythonlib_dir = os.path.dirname(os.path.dirname(sphinx.__file__)) + chmod_path = os.path.join(pythonlib_dir, 'sphinx') + cmd_chmod = ['sudo', 'chmod', '-R', '+w', chmod_path] + subprocess.run(cmd_chmod) + + # 屏蔽sphinx 在python>=3.9时额外依赖引入的版本过高问题 registry_target = os.path.join(pythonlib_dir, 'sphinx', 'registry.py') with open(registry_target, 'r+', encoding='utf-8') as g: registry_content = g.read() diff --git a/tools/generate_html/base_version.json b/tools/generate_html/base_version.json index cf8cd97e43..37a5565461 100644 --- a/tools/generate_html/base_version.json +++ b/tools/generate_html/base_version.json @@ -306,5 +306,14 @@ }, "repo_name": "mindformers", "theme": "theme-docs" + }, + { + "version": "master", + "label": { + "zh": "vLLM MindSpore", + "en": "vLLM MindSpore" + }, + "repo_name": "vllm_mindspore", + "theme": "theme-docs" } ] \ No newline at end of file diff --git a/tools/generate_html/daily.json b/tools/generate_html/daily.json index 7f29dfc90b..d75fe978bd 100644 --- a/tools/generate_html/daily.json +++ b/tools/generate_html/daily.json @@ -104,5 +104,14 @@ "whl_name" : "mindarmour-.*-py3-none-any.whl$", "environ" : "MA_PATH", "uninstall_name" : "mindarmour" +}, +{ + "id" : 12 , + "name" : "vllm_mindspore", + "branch" : "master", + "whl_path" : "", + "whl_name" : "", + "environ" : "", + "uninstall_name" : "" } ] \ No newline at end of file -- Gitee