Merged
docs:26.2.0英文更新翻译 #583
cai-weiwei1989Add on Oct 16
docs:26.2.0英文更新翻译 #583
Merged
cai-weiwei1989Add on Oct 16
cai-weiwei1989
cai-weiwei1989Collaborators
Oct 16

PR 合入模板

注:经过自检不涉及的可标注“不涉及”或直接打勾,特殊情况请文字备注。不符合规范的 PR 不允许合入,请(后备)commit 注意。


1. 修改描述

  • 修改原因: 26.2.0英文更新翻译
  • 修改内容:
    26.2.0英文更新翻译

2. 功能验证


3. 分支合并要求


3. 代码检视

  • 要求:

    • 合入代码超过 200 行,需三人以上会议检视。
    • 检视密度≥1个/100行。
    • 检视缺陷密度未达要求需提供说明。
    • 大于 1000 行代码原则上不允许合入,需进行备案。
  • 检视意见数:____ 条 (请填写本次检视的意见总数,用于commit合入前审视)


4. 安全自检

Python、C++

C++


5. 变更知会


likedislike
Pull Request has been successfully merged by ascend-robot.
(Thank you for cai-weiwei1989's contribution.)
cai-weiwei1989cai-weiwei1989Collaborators
Oct 16 Created pull request, commit d64696ef
cai-weiwei1989cai-weiwei1989Collaborators
Oct 16 Associated milestone: MindStudio 26.2.0
atomgit-bot
atomgit-bot
Oct 16 Comments:

变更摘要

本 PR 为 26.2.0 版本的英文文档更新与翻译同步,覆盖仓库 README_EN.md、安装指南、用户指南、开发指南、最佳实践案例及 misc 下多个工具的英文说明。核心是统一术语与命名(如 msProf 与命令写作 msprof、FAQ 调整为 FAQs、Suggestions for Tool Improvements 调整为 Suggestions for Tool Improvement)、重构产品支持范围表示方式(表格改为 npu 注释块标记),并同步刷新源码安装、命令行参数、Profile 数据文件/DB 表等文档内容,同时新增最佳实践案例索引并删除一批案例文件。

主要改动

  • 产品支持范围改用 npu 注释块标记:在 docs/en/user_guide/extended_functions.md、msprof_parsing_instruct.md、profile_data_file_references_db.md、docs/en/development_guide/...Feature Analysis and Design Specifications.md 中,将原有「Product/Supported」表格替换为 <!-- npu="950" id1 --> 形式的注释块(含 950PR&950DT、A3、910b、310b、310p、910),并据此表达各产品支持或不支持。
  • 源码安装与构建流程更新:docs/en/install_guide/msprof_install_guide.md 移除 SQLite3 依赖与 build/build.sh --mode 说明,改为基于 devcontainer/标准镜像环境,使用 python3 build.py 构建(产物在 artifacts/)、python3 build.py test 运行单元测试;克隆分支更新为 26.2.0。development_guide.md 同步新增 devcontainer 方式(Method 1)与 VS Code 任务说明。
  • 新增最佳实践索引并精简案例集:新增 docs/en/best_practices/README.md 作为案例索引入口;删除 async_dual_launch_failure.md、batch_request_length_imbalance.md、dp_load_imbalance.md、ep_load_imbalance.md、framework_dispatch_desync.md、kv_block_shortage.md、kvcache_transfer_performance.md、prefix_cache_miss.md、request_wait_latency.md、scheduler_high_latency.md、sampler_high_latency.md、model_performance_slo_degradation.md 等大批案例文件;保留案例统一重命名标题并重排小节编号(如 ## 1. Background)。
  • 命令行语法与参数文档变更:extended_functions.md 中 msprof.py import 语法由 python3 msprof.py import -dir <dir> 更新为 python3 msprof.py import -dir <dir> [--cluster];msprof_parsing_instruct.md 将 --model-id、--iteration-id 的必填标记由「No」改为「Optional」,并重写 --export/--query/--parse/--analyze 参数表描述。
  • Profile DB 表结构文档调整:profile_data_file_references_db.md 新增 CPU_FREQ 表(timestampNs、cpuId、freq),TASK_PMU_INFO 表新增 timestampNs 字段并限定支持产品为 Atlas 200I/500 A2 与 Atlas A2,同时更新 ENUM_MODULE 等枚举值(如 SLOG→UNKNOWN、新增 ASCENDDK、PYPTO 等)。
  • 术语与链接统一:README_EN.md 更新典型用例/FAQ 链接路径(指向 docs/en/best_practices/README.md、FAQ→FAQs),CANN 下载链接改为 https://www.hiascend.com/cann/download;SECURITY.md 新增 devcontainer 安全提示并将 strace、gil_tracer 由代码格式改为普通文本;misc/function_monitor、misc/gil_tracer、misc/host_analyzer 的英文说明同步更新链接与表述。
likedislike
Incorrect?
AtlasAccount
AtlasAccountCollaborators
Oct 16 Comments:
atomgit-bot
atomgit-bot
Oct 16 Comments:

代码审查

✅ 未发现问题

likedislike
Incorrect?
51 messages are collapsed here。 See more
ascend-robotascend-robotCollaborators
Oct 19 Added label: approved
xzm123
xzm123Collaborators
Oct 19 Comments:

/lgtm

likedislike
ascend-robotascend-robotCollaborators
Oct 19 Added label: lgtm
ascend-robotascend-robotCollaborators
Oct 19 Closed associated issue
ascend-robotascend-robotCollaborators
Oct 19 Merged pull request