Merged
docs:26.2.0英文更新翻译 #583
cai-weiwei1989Add on Oct 16
docs:26.2.0英文更新翻译 #583
Merged
Merged fromcai-weiwei1989/msprof126.2.0intoAscend/msprof26.2.0
Pull Request has been successfully merged by ascend-robot.
(Thank you for cai-weiwei1989's contribution.)Oct 16 Created pull request, commit d64696ef
Oct 16 Associated milestone: MindStudio 26.2.0
atomgit-bot
Oct 16 Comments:
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的英文说明同步更新链接与表述。


Incorrect?
AtlasAccount
Oct 16 Comments:
Oct 16 Comments:
atomgit-bot
Oct 16 Comments:
Oct 16 Comments:
51 messages are collapsed here。 See more
Oct 19 Added label: approved
xzm123
Oct 19 Comments:
Oct 19 Comments:
/lgtm


Oct 19 Added label: lgtm
Oct 19 Closed associated issue
Oct 19 Merged pull request
PR 合入模板
注:经过自检不涉及的可标注“不涉及”或直接打勾,特殊情况请文字备注。不符合规范的 PR 不允许合入,请(后备)commit 注意。
1. 修改描述
26.2.0英文更新翻译
2. 功能验证
3. 分支合并要求
3. 代码检视
要求:
检视意见数:____ 条 (请填写本次检视的意见总数,用于commit合入前审视)
4. 安全自检
Python、C++
C++
5. 变更知会