Merged
翻译 #3943
lyz0328Add on 20 days ago
翻译 #3943
Merged
lyz0328Add on 20 days ago
lyz0328
lyz0328Collaborators
20 days ago

翻译

likedislike
Pull Request has been successfully merged by ascend-robot.
(Thank you for lyz0328's contribution.)
lyz0328lyz0328Collaborators
20 days ago Created pull request, commit af7c3d09
lyz0328lyz0328Collaborators
20 days ago Associated issue: [Doc]:26.2.0需要提供英文文档
atomgit-bot
atomgit-bot
20 days ago Comments:

变更摘要

本 PR 主要是一次面向英文读者的文档国际化与文档链接治理:新增了一批 *_en.md 英文版文档(顶层说明、兼容性、贡献指南、安全声明、Docker 镜像说明、示例与测试说明、特性说明、experimental/_inductor_npu_ext 设计与使用手册等),在中英文文档间建立互链;同时统一了产品型号表述,并将中文文档中的 CANN 相关外链从 hiascend.com 重定向地址迁移到 gitcode 各仓文档路径。代码实现部分未见功能性改动。

主要改动

  • 顶层英文文档补齐: 新增 README_en.md、COMPATIBILITY_en.md、CONTRIBUTING_en.md、SECURITY_README_en.md、public_address_statement_en.md、RELEASE_en.md,覆盖版本配套表、build.sh 编译/UT/ST 用法、Converter 开发与自定义算子入图、安全加固与公共 API 声明等内容。
  • 特性与设计文档英文版: 新增 feature/inplace_op_graph_entry_en.md、feature/multi_stream_en.md、feature/single_op_output_verification_en.md、npugraph_ex/design_principles_en.md,以及 experimental/_inductor_npu_ext 下的 README_en.md、docs/manuals_en.md 和 docs/design/*_en.md(AscendC Codegen、cat 融合、精度比对工具、profiling 上报、set_device_limit 适配、静态 shape autotune、view-like 融合规则等),用于说明 torch.compile(options={"npu_backend": "ascendc"}) 后端与 npugraph_ex 各特性的设计原理与约束。
  • 中英文互链与目录说明调整: 在 README.md、docker/README.md 顶部新增「简体中文 | English」切换入口,README_en.md 反向链接 ./README.md;docs/zh/README.md 中《TorchAir》改为《TorchAir使用指南》。
  • 产品型号命名统一: 将 Ascend 950PR/Ascend 950DT、Atlas A3 训练系列产品/Atlas A3 推理系列产品、Atlas A2 训练系列产品/Atlas A2 推理系列产品 统一改为 Ascend 950PR&950DT系列产品、Atlas A3系列产品、Atlas A2系列产品,涉及 README.md、docs/zh/overview.md、super_kernel_scope.md、superkernel.md、aicore.md、infer_cases.md 及 examples/_kernel_extension_aclgraph 下两个 README.md。
  • 文档外链迁移: 将 CANN图开发、CANN环境变量参考、CANN日志参考、CANN Ascend C算子开发、CANN Ascend C API、CANN Runtime运行时API、CANN应用开发、CANN GE图引擎API、op_compiler 等引用链接改为 gitcode 仓库地址(如 cann/ge、cann/docs、cann/runtime、cann/asc-devkit、cann/asc-tools),并更新 docs/zh/overview.md 中的 TorchNPU 安装与《PyTorch原生API》链接。
likedislike
Incorrect?
atomgit-bot
atomgit-bot
20 days ago Comments:

代码审查

审查结论

  • [建议] COMPATIBILITY_en.md:38 fix: master 主线推荐的 PyTorch 版本与同文件其它表述矛盾
  • [建议] examples/_kernel_extension_aclgraph/torch_library/README_en.md:84 fix: 英文 README 中 TORCH_LIBRARY_FRAGMENT 示例的 m.def 字符串写错,代码无法编译
类型 数量
🔴 阻塞 0
🟡 建议 2

💬 仅评论

likedislike
Incorrect?
ascend-robotascend-robotCollaborators
20 days ago Added label: stat/needs-squash
65 messages are collapsed here。 See more
lyz0328lyz0328Collaborators
19 days ago Resolved final issue
ascend-robotascend-robotCollaborators
19 days ago Closed associated issue
ascend-robotascend-robotCollaborators
19 days ago Merged pull request
ascend-robot
ascend-robotCollaborators
19 days ago Comments:

Pull Request 已合并或已关闭。

If you want to solve this problem, you can click here to do it in the FAQs.

likedislike
ascend-robot
ascend-robotCollaborators
19 days ago Comments:

Pull Request 已合并或已关闭。

If you want to solve this problem, you can click here to do it in the FAQs.

likedislike