| Files | Last commit | Last update |
|---|---|---|
master英文合入 Co-authored-by: caiwenwen<caiwenwen6@h-partners.com> # message auto-generated for no-merge-commit merge: !14969 merge master into master master英文合入 Created-by: caiwenwen Commit-by: caiwenwen Merged-by: cann-robot Description: ## 描述 商发的英文文档合入 ## 关联的Issue 关联Issue [#6488](https://gitcode.com/cann/ops-transformer/issues/6488) <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [x] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!14969 | 1 month ago | |
修复 ops-transformer QUICKSTART.md 文档扫描问题(10处) Co-authored-by: liujing987913<liujing407@h-partners.com> # message auto-generated for no-merge-commit merge: !15839 merge docs/quickstart-fix into master 修复 ops-transformer QUICKSTART.md 文档扫描问题(10处) Created-by: liujing987913 Commit-by: liujing987913 Merged-by: cann-robot Description: ## 描述 - 背景:AIDD/文档质量扫描发现 ops-transformer 仓 docs/QUICKSTART.md 文档问题 10 处 - 修改分类:代码块语言标签 2(bash→output 回显块)、行内代码标记 1、参数名/括号 1、路径 1、标点 2、术语大小写 3(Kernel/Tensor/Host+Vector) - 涉及文件:docs/QUICKSTART.md(1 个文件,10 处) - 验证:git diff 确认为纯文本修改,无代码内容误改;已人工核对 ## 关联的Issue https://gitcode.com/cann/ops-transformer/issues/7473 ## 测试 ## 文档更新 本次 PR 更新 ops-transformer docs/QUICKSTART.md,修正代码块语言标签/标点/术语/行内代码/路径类问题 10 处,详见 diff。 ## 类型标签 - 文档更新 See merge request: cann/ops-transformer!15839 | 17 days ago | |
docs: 更新 Gather SIMT 迁移示例的接口用法 Co-authored-by: zzzzzzyf_<zhouyunfei10@huawei.com> # message auto-generated for no-merge-commit merge: !15794 merge docs/simt-migration-7093 into master docs: 更新 Gather SIMT 迁移示例的接口用法 Created-by: zzzzzzyf_ Commit-by: zzzzzzyf_ Merged-by: cann-robot Description: ## 描述 更新跨平台迁移指南中 Gather 示例的 SIMT 接口,改用 threadIdx.x、blockDim.x 和 asc_uintdiv,同步更新线程数限定符。补充混合编程下快除参数的类型和预计算说明,并明确 yIndex 与循环索引的关系。 ## 关联的Issue Fixes #7093 https://gitcode.com/cann/ops-transformer/issues/7093 ## 测试 对照 Ascend C 官方文档核对 API 用法,git diff --check 通过。文档片段未独立编译。 ## 文档更新 更新跨平台迁移指南的 Gather SIMT 示例。 ## 类型标签 - [x] 📝 文档更新 See merge request: cann/ops-transformer!15794 | 18 days ago | |
docs(gmm): 补充 GMMFR、Swiglu 与 InplaceAdd 转置融合指南 Co-authored-by: zhoushaolong<zhoushaolong3@huawei.com> # message auto-generated for no-merge-commit merge: !15168 merge docs/gmmfr-gmmsq-transpose-fusion-pass into master docs(gmm): 补充 GMMFR、Swiglu 与 InplaceAdd 转置融合指南 Created-by: zhoushaolong Commit-by: zhoushaolong Merged-by: cann-robot Description: ## 描述 补充三个既有 GMM 转置融合 Pass 的用户指南与模式配图,便于了解可融合结构、约束和适用型号;本 PR 不新增或修改融合 Pass 实现。 1. 新增 GroupedMatmulFinalizeRoutingTransposeFusionPass.md 2. 新增 GroupedMatmulSwigluQuantTransposeFusionPass.md 3. 新增 QuantGroupedMatmulInplaceAddTransposeFusionPass.md ## 关联的Issue 关联 Issue #7064:https://gitcode.com/cann/ops-transformer/issues/7064 ## 测试 不涉及 ## 文档更新 新增以下指南及 docs/zh/figures/ 中对应配图: - gmm/grouped_matmul_finalize_routing/docs/GroupedMatmulFinalizeRoutingTransposeFusionPass.md - gmm/grouped_matmul_swiglu_quant_v2/docs/GroupedMatmulSwigluQuantTransposeFusionPass.md - gmm/quant_grouped_matmul_inplace_add/docs/QuantGroupedMatmulInplaceAddTransposeFusionPass.md ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [x] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!15168 | 25 days ago | |
fix: 修复基础依赖安装及 Python 测试依赖冲突 Co-authored-by: zzzzzzyf_<zhouyunfei10@huawei.com> # message auto-generated for no-merge-commit merge: !15845 merge fix/install-deps-20261112 into master fix: 修复基础依赖安装及 Python 测试依赖冲突 Created-by: zzzzzzyf_ Commit-by: zzzzzzyf_ Merged-by: cann-robot Description: ## 描述 按安装文档准备环境时,缺少 pkg-config 会导致 googletest 检查失败;分步安装 Python 依赖时,未约束的 ml-dtypes 版本可能与 numpy<2.0 冲突。 - 安装脚本使用 pkg-config 检测 googletest;缺失时允许跳过 googletest,选择安装时自动安装该工具,Debian 安装前刷新软件源索引。基础依赖列表补充该工具。 - 已有 NumPy 时,脚本提示用户在仓库根目录的虚拟环境中执行 pip3 install -r requirements.txt;该提示不会自动修复已有版本。 - 安装脚本及根目录、测试依赖清单统一约束 NumPy 和 ml-dtypes,避免依次安装依赖时选中与 numpy<2.0 冲突的 ml-dtypes 版本。 ## 关联的Issue - 关联 Issue #7480(基础依赖安装及 Python 版本约束) - 参考已关闭的 #6160(NumPy 依赖约束) ## 测试 - git diff --check 通过。 - bash -n install_deps.sh 通过。 - 使用模拟包管理器测试 Debian、RHEL、openEuler 和 macOS:缺失 pkg-config 时跳过或选择安装 googletest、已安装时跳过重复安装,以及安装后仍不可用的失败分支。 - 在 AArch64 服务器使用模拟包管理器验证上述跳过、安装、重复及失败路径,以及已安装 NumPy 时的手动安装提示。 - 在服务器 Python 3.11 AArch64 隔离环境按顺序实际安装两份依赖清单,得到 TensorFlow 2.20.0、NumPy 1.26.4 和 ml-dtypes 0.5.4,pip check 通过。 - 在 Ubuntu AArch64 服务器上以用户/挂载命名空间和 fakeroot 构建 Debian 13.7 隔离环境,使用先前提交 ffe641713 的脚本三次执行完整入口均返回 0,验证真实安装 pkg-config、安装 googletest 和重复执行。隔离环境使用 Python 3.13.5、GCC 14.2.0;未在 RPM/macOS 或原始 Ascend 910C/A3 环境验证。 - 对当前提交 1278dfe320,在用户/挂载命名空间和 fakeroot 构建的 Debian 13.7 AArch64 隔离环境中三次执行完整脚本均返回 0:缺少 pkg-config 时选择跳过不调用 apt;选择安装时真实执行 apt update、安装 pkg-config 和 googletest 并编译;再次运行不重复安装。隔离环境为 Python 3.13.5、GCC 14.2.0,未使用 NPU;与原始反馈环境不同。 - 隔离环境预装 NumPy 2.2.4 时,脚本因 NumPy 可导入而跳过 Python 依赖安装,没有将其降至 2.0 以下;此存量环境路径仍不满足新增约束。 ## 文档更新 更新基础依赖列表。 ## 类型标签 - [x] 🐛 Bug修复 - [x] 🔧 配置变更 - [x] 📝 文档更新 See merge request: cann/ops-transformer!15845 | 17 days ago | |
chore: replace gitcode.com links with atomgit.com Co-authored-by: qzzzy1<qiziyu2@huawei.com> # message auto-generated for no-merge-commit merge: !12664 merge master into master chore: replace gitcode.com links with atomgit.com Created-by: qzzzy1 Commit-by: qzzzy1 Merged-by: cann-robot Description: ## 描述 transformer仓gitcode.com改成atomgit.com ## 关联的Issue 关联Issue 5667 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [x] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!12664 | 2 months ago | |
[Docs] 修正 Ascend 950 支持列表中的 MlaProlog 系列 ACLNN 标记 Co-authored-by: KaranocaVe<karanocave@qq.com> # message auto-generated for no-merge-commit merge: !14347 merge fix/2026-10-17-round230-ascend950-mla-prolog-opapi-02 into master [Docs] 修正 Ascend 950 支持列表中的 MlaProlog 系列 ACLNN 标记 Created-by: KaranocaVe Commit-by: KaranocaVe Merged-by: cann-robot Description: # [Docs] 修正 Ascend 950 支持列表中的 MlaProlog 系列 ACLNN 标记 Ascend 950 算子列表将 MlaProlog 和 MlaPrologV2 的 ACLNN 调用列标为支持,但对应接口文档及实现均明确拒绝 Ascend 950 调用。将这两行的 ACLNN 标记改为不支持,保留 GE 图模式和 kernel 状态。 文档改动通过文件级格式与合规检查。 关联 Issue: https://gitcode.com/cann/ops-transformer/issues/6468 See merge request: cann/ops-transformer!14347 | 28 days ago | |
feat(attention): 新增 quant_sparse_lightning_indexer 及其 metadata 算子 Co-authored-by: cann-robot<cann@cann.team> # message auto-generated for no-merge-commit merge: !15751 merge revert-mr-15479-1794389759943-auto into master feat(attention): 新增 quant_sparse_lightning_indexer 及其 metadata 算子 Created-by: cann-robot Commit-by: cann-robot Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!15751 | 19 days ago | |
1、适配最新版本的cann和dsl包 Co-authored-by: weixin_60944835<cuixuening@huawei.com> # message auto-generated for no-merge-commit merge: !15397 merge master into master 1、适配最新版本的cann和dsl包 Created-by: weixin_60944835 Commit-by: weixin_60944835 Merged-by: cann-robot Description: ## 描述 适配 ops-transformer 仓库中的 Flash KDA Grad,支持指定的 CANN 9.3.0 及配套 CANNBotDSL/OpKit: - 适配新版 DSL API:将 reinterpret 改为 from_tensor,将 permute、convert 改为 Tensor 方法,并调整相关导入。 - 保留原有布局、物理步长、字节偏移和同步逻辑,不修改计算公式及精度阈值。 - 增加 Torch Extension 接口,暴露 flash_kda_grad 和 flash_kda_grad_metadata,并提供 Meta/FakeTensor 支持。 - 将算子源码目录由 op_kernel 调整为 op_dsl,同步更新导入及打包路径。 ## 关联的Issue 暂无。 ## 测试 使用用户提供的 2026-11-05 CANN 9.3.0 安装包及其配套 CANNBotDSL/OpKit,在 x86_64 Ascend 环境验证: - Host 单元测试:646 项通过,3 项跳过。 - 复用已有输入和 golden 的 STC 测试:100 条全部通过。 - STC101–130 共30条 recompute 用例全部通过,新生成的输入和 golden 保存至 /home/c0947324/TEST/data。 - 30条新数据均通过文件完整性检查和 TTK 原生读取器装载检查。 - 目录调整后,源码导入及打包收集检查通过,五个算子模块内容哈希保持一致。 精度比较采用原生 TTK cross_check L2。 本次未完成完整 AOT 变体及 aarch64 实机验收。 ## 文档更新 - 更新 Flash KDA Grad README 和 TTK 使用说明。 - 新增 torchapi_flash_kda_grad.md,说明 Torch 接口、参数、输出及使用边界。 - 更新 Torch API 目录和接口列表。 ## 类型标签 - [x] 🐛 Bug修复 - [x] ✨ 新特性 - [ ] ⚡ 性能优化 - [x] ♻️ 重构 - [x] 🧪 测试 - [x] 📦 构建/CI - [ ] 🔧 配置变更 - [x] 📝 文档更新 - [x] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!15397 | 18 days ago | |
docs: 修正算子接口文档中的表述问题 Co-authored-by: zzzzzzyf_<zhouyunfei10@huawei.com> # message auto-generated for no-merge-commit merge: !15771 merge fix/liujing-docs-20261112 into master docs: 修正算子接口文档中的表述问题 Created-by: zzzzzzyf_ Commit-by: zzzzzzyf_ Merged-by: cann-robot Description: ## 描述 修正算子文档中的接口参数名、公式符号、示例变量、文字和排版问题,并核对相关中英文文档。 - #7410:对照接口实现修正 MlaPrologV3WeightNz 的参数和可选输出说明,同步中英文文档。 - #7413:对照接口和参考实现修正 NormRopeConcat 的公式、布局说明及中英文文档。 - #7425:修正稀疏索引说明和公式中的数学标记。 - #7434:修正中间变量拼写。原有公式中 sharedExpertX 与 expertScales 的计算关系还需算子侧确认。 - 同步相关英文文档的参数名、公式、示例和术语,修正 Combine V3 英文公式,并规范中英文描述。 同步 master 后,#7429、#7430、#7435 对应问题已由上游 PR #15715 修复,保留上游修改。 按门禁反馈回退了三个缺少 UT 的算子文档改动,并同步 sparse_lightning_indexer 的中英文 README。 ## 关联的Issue [#7379](https://gitcode.com/cann/ops-transformer/issues/7379)、[#7380](https://gitcode.com/cann/ops-transformer/issues/7380)、[#7381](https://gitcode.com/cann/ops-transformer/issues/7381)、[#7382](https://gitcode.com/cann/ops-transformer/issues/7382)、[#7383](https://gitcode.com/cann/ops-transformer/issues/7383)、[#7384](https://gitcode.com/cann/ops-transformer/issues/7384) [#7385](https://gitcode.com/cann/ops-transformer/issues/7385)、[#7386](https://gitcode.com/cann/ops-transformer/issues/7386)、[#7388](https://gitcode.com/cann/ops-transformer/issues/7388)、[#7389](https://gitcode.com/cann/ops-transformer/issues/7389)、[#7391](https://gitcode.com/cann/ops-transformer/issues/7391)、[#7392](https://gitcode.com/cann/ops-transformer/issues/7392) [#7393](https://gitcode.com/cann/ops-transformer/issues/7393)、[#7394](https://gitcode.com/cann/ops-transformer/issues/7394)、[#7395](https://gitcode.com/cann/ops-transformer/issues/7395)、[#7396](https://gitcode.com/cann/ops-transformer/issues/7396)、[#7397](https://gitcode.com/cann/ops-transformer/issues/7397)、[#7398](https://gitcode.com/cann/ops-transformer/issues/7398) [#7399](https://gitcode.com/cann/ops-transformer/issues/7399)、[#7400](https://gitcode.com/cann/ops-transformer/issues/7400)、[#7402](https://gitcode.com/cann/ops-transformer/issues/7402)、[#7403](https://gitcode.com/cann/ops-transformer/issues/7403)、[#7404](https://gitcode.com/cann/ops-transformer/issues/7404)、[#7405](https://gitcode.com/cann/ops-transformer/issues/7405) [#7406](https://gitcode.com/cann/ops-transformer/issues/7406)、[#7407](https://gitcode.com/cann/ops-transformer/issues/7407)、[#7408](https://gitcode.com/cann/ops-transformer/issues/7408)、[#7409](https://gitcode.com/cann/ops-transformer/issues/7409)、[#7410](https://gitcode.com/cann/ops-transformer/issues/7410)、[#7411](https://gitcode.com/cann/ops-transformer/issues/7411) [#7412](https://gitcode.com/cann/ops-transformer/issues/7412)、[#7413](https://gitcode.com/cann/ops-transformer/issues/7413)、[#7414](https://gitcode.com/cann/ops-transformer/issues/7414)、[#7415](https://gitcode.com/cann/ops-transformer/issues/7415)、[#7416](https://gitcode.com/cann/ops-transformer/issues/7416)、[#7417](https://gitcode.com/cann/ops-transformer/issues/7417) [#7419](https://gitcode.com/cann/ops-transformer/issues/7419)、[#7420](https://gitcode.com/cann/ops-transformer/issues/7420)、[#7421](https://gitcode.com/cann/ops-transformer/issues/7421)、[#7422](https://gitcode.com/cann/ops-transformer/issues/7422)、[#7423](https://gitcode.com/cann/ops-transformer/issues/7423)、[#7424](https://gitcode.com/cann/ops-transformer/issues/7424) [#7425](https://gitcode.com/cann/ops-transformer/issues/7425)、[#7426](https://gitcode.com/cann/ops-transformer/issues/7426)、[#7427](https://gitcode.com/cann/ops-transformer/issues/7427)、[#7428](https://gitcode.com/cann/ops-transformer/issues/7428)、[#7429](https://gitcode.com/cann/ops-transformer/issues/7429)、[#7430](https://gitcode.com/cann/ops-transformer/issues/7430) [#7431](https://gitcode.com/cann/ops-transformer/issues/7431)、[#7432](https://gitcode.com/cann/ops-transformer/issues/7432)、[#7434](https://gitcode.com/cann/ops-transformer/issues/7434)、[#7435](https://gitcode.com/cann/ops-transformer/issues/7435)、[#7437](https://gitcode.com/cann/ops-transformer/issues/7437)、[#7438](https://gitcode.com/cann/ops-transformer/issues/7438) [#7439](https://gitcode.com/cann/ops-transformer/issues/7439)、[#7440](https://gitcode.com/cann/ops-transformer/issues/7440) ## 测试 - 对照接口定义、代码或参考实现逐项复核问题及相关中英文表述。 - 100 个修改的 Markdown 文件通过差异空白检查,并检查代码围栏和 HTML 表格标签的平衡变化。 - 修改行中的 7 个本地相对链接均可找到目标。 - 未运行完整 pre-commit、算子编译或 NPU 测试。 ## 文档更新 修正相关算子 API、Torch API 文档和算子列表。 ## 类型标签 - [x] 📝 文档更新 See merge request: cann/ops-transformer!15771 | 18 days ago | |
feat(attention): 新增 quant_sparse_lightning_indexer 及其 metadata 算子 Co-authored-by: cann-robot<cann@cann.team> # message auto-generated for no-merge-commit merge: !15751 merge revert-mr-15479-1794389759943-auto into master feat(attention): 新增 quant_sparse_lightning_indexer 及其 metadata 算子 Created-by: cann-robot Commit-by: cann-robot Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> <!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。--> ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [ ] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!15751 | 19 days ago | |
fix aidd问题合入1112 Co-authored-by: caiwenwen<caiwenwen6@h-partners.com> # message auto-generated for no-merge-commit merge: !15836 merge master into master fix aidd问题合入1112 Created-by: caiwenwen Commit-by: caiwenwen Merged-by: cann-robot Description: ## 描述 aidd修改问题,修改约178个问题 ## 关联的Issue https://gitcode.com/cann/ops-transformer/issues/7362 ## 测试 <!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] 🐛 Bug修复 - [ ] ✨ 新特性 - [ ] ⚡ 性能优化 - [ ] ♻️ 重构 - [ ] 🧪 测试 - [ ] 📦 构建/CI - [ ] 🔧 配置变更 - [x] 📝 文档更新 - [ ] ⬆️ 依赖升级 - [ ] 🔒 安全修复 - [ ] 🧹 代码清理 - [ ] ❓ 其他,请描述: See merge request: cann/ops-transformer!15836 | 17 days ago |
| Files | Last commit | Last update |
|---|---|---|
| 1 month ago | ||
| 17 days ago | ||
| 18 days ago | ||
| 25 days ago | ||
| 17 days ago | ||
| 2 months ago | ||
| 28 days ago | ||
| 19 days ago | ||
| 18 days ago | ||
| 18 days ago | ||
| 19 days ago | ||
| 17 days ago |