| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Co-authored-by: zhoupeng<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !5043 merge op_code_check into master [Fix] Enable trailing whitespace check, Fix trailing-whitespace errors detected by pre-commit Created-by: thickhair Commit-by: zhoupeng Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [x] issue/工单 https://gitcode.com/Ascend/op-plugin/issues/129 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 > 修改pre-commit-config.yaml,开启trailing-whitespace检查,使用pre-commit进行检查和修复 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】  # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!5043 | 3 个月前 | |
[master][Fix] Fix static check errors detected by clang-format Co-authored-by: thickhair<zp2165064878@163.com> # message auto-generated for no-merge-commit merge: !5599 merge clang-format-12 into master [master][Fix] Fix static check errors detected by clang-format Created-by: thickhair Commit-by: thickhair Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [ ] 需求 - [ ] 问题单 - [ ] issue/工单 https://gitcode.com/Ascend/op-plugin/issues/314 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 修复clang-format错误 # 【资料变更】 > 请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及” # 【接口变更】 > 请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及” # 【功能验证】  # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!5599 | 1 个月前 | |
[fix] npu_moe_token_permute_grad_v2 support symint Co-authored-by: wanlinan<wanlinan@huawei.com> # message auto-generated for no-merge-commit merge: !5830 merge master into master [fix] npu_moe_token_permute_grad_v2 support symint Created-by: wanlinan Commit-by: wanlinan Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 [[Bug]: npu_moe_token_permute反向无法trace动态shape](https://gitcode.com/Ascend/op-plugin/issues/486) - [ ] 需求 - [ ] 问题单 - [x] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 1. 将 npu_moe_token_permute_grad_v2 的以下参数改为 SymInt: text tokens_size_0: int -> SymInt num_topK: int -> SymInt 2. 删除 derivative 中的: text tokens.sym_size(0).expect_int() indices.sym_size(-1).expect_int() 3. 在 symint: section 中标记 npu_moe_token_permute_grad_v2,使代码生成器调用: cpp npu_moe_token_permute_grad_v2_symint(...) 4. 提供手写 SymInt op_api 实现,在实际 runtime 执行 kernel 时再读取具体值。 # 【资料变更】 不涉及 # 【接口变更】 不涉及 # 【功能验证】 新增测试用例,测试通过 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!5830 | 21 天前 | |
[feat] A5机器上Adam优化器增加fused模式,添加tensor_lr overload以及更正排版 Co-authored-by: efwfefe<chenjunkun2@h-partners.com> # message auto-generated for no-merge-commit merge: !5831 merge master into master [feat] A5机器上Adam优化器增加fused模式,添加tensor_lr overload以及更正排版 Created-by: efwfefe Commit-by: efwfefe Merged-by: ascend-robot Description: <!-- PR描述模板更新日期:20260203 --> # 【合入来源】 > <font color="red">**如有社区issue,请关联issue链接**</font>\ > <font color="red">**请勿携带内部流程信息(需求链接、问题单、内部issue等)**</font> - [x] 需求 - [ ] 问题单 - [ ] issue/工单 - [ ] 重构优化 - [ ] 资料更新 # 【修改方案】 添加fused_adam的tensor_lr版本overload,具体区别是tensor_lr中lr为tensor类型,同时要求lr中只有一个元素。具体实现中对lr调用item<double>()将其变为double类型,再转而调用default版本的fused_adam 其他改动:将tensor shape校验放到最前面,保证CPU和NPU行为一致;对max_exp_avg_sqs的空值校验由三元运算符变为if-else,更加整齐美观 # 【资料变更】 不涉及 # 【接口变更】 涉及,增加 _fused_adam_.tensor_lr_接口 # 【功能验证】 在原测试文件test_fused_adam.py中增加fused_adam.tensor_lr的测试,区别是lr为tensor类型,覆盖weight_decay,maximize,amsgrad等多个版本,保证功能正常 # 【CheckList】 > PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x] - [x] 代码注释完备,正确记录错误日志 - [x] 代码实现进行了返回值、空指针等校验 - [x] PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等 - [x] PR持续集成流水线(CI)执行通过,代码检查无异常 See merge request: Ascend/op-plugin!5831 | 16 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 个月前 | ||
| 1 个月前 | ||
| 21 天前 | ||
| 16 天前 |