| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
docs: add batch consistency and determinism intro Co-authored-by: LiuZonggu<liuzonggu1@huawei.com> # message auto-generated for no-merge-commit merge: !100 merge docs/batch-consistency-determinism into master docs: add batch consistency and determinism intro Created-by: LiuZonggu Commit-by: LiuZonggu Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> 1. **Add feature introduction documents (Chinese and English)** - docs/zh/context/determinism_compute.md / docs/en/context/determinism_compute.md: introduce the background, notes, and usage of deterministic computation (for aclnn APIs, enable via aclrtSetSysParamOpt with ACL_OPT_DETERMINISTIC=1; for PyTorch APIs, enable via torch.use_deterministic_algorithms). - docs/zh/context/batch_consistency.md / docs/en/context/batch_consistency.md: introduce the background, notes (including version constraints: TorchNPU >= 26.2.0, CANN >= 9.2.0), and usage of Batch consistency (for aclnn APIs, enable via ACL_OPT_DETERMINISTIC=3; for PyTorch APIs, enable via torch_npu.npu.set_deterministic_level). 2. **Update the Basic Operator Concepts index**: add "Deterministic Computation" and "Batch Consistency" entries to docs/{zh,en}/context/basic_concept.md. 3. **Simplify the determinism note on the aclnn API list pages**: replace the long inline "determinism introduction" block in docs/{zh,en}/op_api_list.md with a [!NOTE] callout that directs readers to the Basic Operator Concepts page to learn about deterministic algorithms, Batch consistency, and common quantization modes. 4. **Add a badge row to the READMEs (Chinese and English)**: community operator list, project docs, license, contributing guide, and SIG badges. 5. **Update the English quick install guide**: replace the outdated WebIDE platform link (org/cann/discussions/54) with the [CANNLab guide](https://gitcode.com/cann/cann-learning-hub/blob/master/docs/CANNLab_env_experience_guide.md). ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> Related to https://gitcode.com/cann/ops-ras/issues/33 https://gitcode.com/cann/ops-ras/issues/34 ## 测试 <!--描述进行了哪些测试来验证你的改动。--> Verified all added/modified Markdown internal links and relative paths; all resolve correctly. ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> - Added: docs/zh/context/determinism_compute.md, docs/zh/context/batch_consistency.md, docs/en/context/determinism_compute.md, docs/en/context/batch_consistency.md - Modified: README.md, README_en.md, docs/zh/context/basic_concept.md, docs/en/context/basic_concept.md, docs/zh/op_api_list.md, docs/en/op_api_list.md, docs/en/install/quick_install.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-ras!100 | 1 个月前 | |
[L1] docs: 修复 op_debug_prof 中英文文档的 Simulator 链接失效(含中文锚点) Co-authored-by: eieiei<3901796952@qq.com> # message auto-generated for no-merge-commit merge: !112 merge fix-op-debug-prof-links into master [L1] docs: 修复 op_debug_prof 中英文文档的 Simulator 链接失效(含中文锚点) Created-by: wsnidie1 Commit-by: eieiei Merged-by: cann-robot Description: 关联 Issue: #42 ### Describe the current behavior / 问题描述 (Mandatory / 必填) docs/zh/debug/op_debug_prof.md 与 docs/en/debug/op_debug_prof.md 中指向 CANN Simulator 的 3 处链接失效: | # | 位置 | master 原文 | 问题 | |---|---|---|---| | 1 | docs/en/debug/op_debug_prof.md:170 | [CANN Simulator](./cann_simulator.md) | 文件名不存在(实际为 cann_sim.md) | | 2 | docs/en/debug/op_debug_prof.md:190 | ](./cann_simulator.md#simulation-result-analysis-instructions) | 同一文件名错(锚点本身正确) | | 3 | docs/zh/debug/op_debug_prof.md:187 | ](./cann_sim.md#仿真结果解析) | 锚点与标题 # 仿真结果解析说明 不匹配 | ### Steps to reproduce / 重现步骤 无需编译环境,静态可核对: 1. ls docs/en/debug/ docs/zh/debug/ —— 目录下只有 cann_sim.md,不存在 cann_simulator.md; 2. 点击文档中 3 处 Simulator 链接 → 404 / 锚点不跳转。 ### Describe the expected behavior / 预期结果 三处链接均可正常跳转:英文侧两处指向 ./cann_sim.md,中文侧锚点补全为 #仿真结果解析说明。 ### 根因原因 (Root Cause) 文档重命名(cann_simulator.md → cann_sim.md)与中文标题增补(「仿真结果解析」→「仿真结果解析说明」)时未同步更新引用处。 ### 修复方案 (Solution) - docs/en/debug/op_debug_prof.md L170/L190:./cann_simulator.md → ./cann_sim.md(锚点不变); - docs/zh/debug/op_debug_prof.md L187:锚点 #仿真结果解析 → #仿真结果解析说明。 ### 影响范围 纯文档链接修正(+3/−3),不影响任何代码与功能。 See merge request: cann/ops-ras!112 | 10 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 10 天前 |