已合并
更新 python 版本表述,保留 Python311,部分位置保留 Python310,其他旧版本表述清理 #831
徐驰创建于 4月11日
更新 python 版本表述,保留 Python311,部分位置保留 Python310,其他旧版本表述清理 #831
已合并
徐驰创建于 4月11日
徐驰
徐驰
4月11日

合入背景

MindIE-LLM 已不再支持 Python 3.7~3.10,当前仅支持 Python 3.11 及以上版本(部分保留 Python 3.10 描述)。代码仓中仍残留大量旧版本 Python 的文档描述、构建脚本配置和示例说明,需要统一清理更新,保持与实际支持的版本一致。

Fixes #435

修改内容

本次为文档和配置清理,不涉及组件间交互逻辑变更,具体修改如下:

  1. FAQ 文档 (docs/zh/faq/faq.md):将 Python 版本示例从 3.10.13 更新为 3.11,涉及环境变量配置、软链接创建、LD_PRELOAD 路径等。
  2. 用户手册-前译码混合部署 (docs/zh/user_guide/user_manual/prefill_decode_mixed_deployment.md):将 Python 环境要求从 Python3.10.x或3.11.x 收窄为 Python3.11.x,同步更新环境变量示例路径。
  3. ATB Models 示例 README (examples/atb_models/README.md):更新版本配套关系为 Python 3.11 + torch 2.9.0;移除 py310 相关的 whl 包名和安装示例;移除 pytorch_v${version}_py310.tar.gz 包条目。
  4. pyproject.toml:将 black 格式化器的 target-versionpy310 更新为 py311
  5. FindPython.cmake (src/kernels/mie_ops/csrc/cmake/modules/FindPython.cmake):将最低 Python 版本要求从 3.7 提升至 3.10;移除 cache string 中硬编码的 libpython3.7m.a 描述。
  6. 打包脚本 (src/kernels/mie_ops/csrc/scripts/package/common/sh/common_interface.sh):将支持的 Python 版本列表从 3.7 3.8 3.9 3.10 3.11 收窄为 3.10 3.11,同步更新告警提示信息。

资料变更

涉及。FAQ 文档和用户手册中的 Python 版本要求、环境变量示例路径已同步更新,与实际支持的 Python 版本保持一致。

接口变更

不涉及。

测试结果

本次为文档描述和构建配置清理,不涉及功能逻辑变更。

  • 文档内容人工审阅确认版本号和路径一致。
  • 构建脚本配置(FindPython.cmake、common_interface.sh)变更后,在目标环境(Python 3.11)下打包构建验证通过。

CheckList

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 徐驰 的贡献)
ascend-robot
ascend-robot成员
4月11日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here
You can get sig-info at here


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-Ascend/MindIE-LLM hw-zhoutianyang, 陈歆怡 (2/2) 陈歆怡 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

martinXuc, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
徐驰
徐驰
4月11日 评论:

compile

likedislike
ascend-robotascend-robot成员
4月11日 添加了label:ascend-cla/yes
ascend-robotascend-robot成员
4月11日 添加了label:needs-issue
ascend-robot
ascend-robot成员
4月11日 评论:

Linking Issue Notice

@martinXuc , the pull request must be linked to at least one issue.
If an issue has already been linked, but the needs-issue label remains, you can remove the label by commenting /check-issue .

likedislike
此处折叠了74条消息 查看更多
ascend-robotascend-robot成员
4月13日 添加了label:approvedlgtm
纪涛
纪涛成员
4月14日 评论:

/merge

likedislike
ascend-robotascend-robot成员
4月14日 添加了label:keeper_approved
ascend-robot
ascend-robot成员
4月14日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: 陈歆怡.
Reviewers who wrote a comment of /lgtm are: 陈歆怡, hw-zhoutianyang.

likedislike
ascend-robotascend-robot成员
4月14日 合入了pull request