| add forward deformable_offsets Co-authored-by: demon_coffee<lice4@huawei.com> # message auto-generated for no-merge-commit merge: !1504 merge deformable_offsets into master add forward deformable_offsets Created-by: demon_coffee Commit-by: demon_coffee Merged-by: cann-robot Description: ## 描述 nn仓新增deformable_offsets算子实现 ## 关联的Issue #https://gitcode.com/cann/ops-nn/issues/799 ## 测试 deformable_offsets算子UT通过,examples执行通过 ## 文档更新 新增了deformable_offsets算子README ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!1504 | 6 个月前 |
| add forward deformable_offsets Co-authored-by: demon_coffee<lice4@huawei.com> # message auto-generated for no-merge-commit merge: !1504 merge deformable_offsets into master add forward deformable_offsets Created-by: demon_coffee Commit-by: demon_coffee Merged-by: cann-robot Description: ## 描述 nn仓新增deformable_offsets算子实现 ## 关联的Issue #https://gitcode.com/cann/ops-nn/issues/799 ## 测试 deformable_offsets算子UT通过,examples执行通过 ## 文档更新 新增了deformable_offsets算子README ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!1504 | 6 个月前 |
| adapt new ErrMsg Interface Co-authored-by: 张磊<zhanglei121@huawei.com> # message auto-generated for no-merge-commit merge: !5052 merge master into master adapt new ErrMsg Interface Created-by: zl_hw Commit-by: 张磊 Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!5052 | 3 个月前 |
| simt算子风格改为c风格 Co-authored-by: chenfeng61<chenfeng61@huawei.com> # message auto-generated for no-merge-commit merge: !4243 merge simt_zg into master simt算子风格改为c风格 Created-by: chenfeng61 Commit-by: chenfeng61 Merged-by: cann-robot Description: ## 描述 将 arch35 下 conv/loss 算子 kernel 中的 SIMT API 从旧的c++风格改为c风格 ### 改动范围 涉及 8 个算子, 11 个 kernel 文件: | 算子 | 文件 | |------|------| | deformable_offsets | conv/deformable_offsets/op_kernel/arch35/deformable_offsets.h | | deformable_offsets_grad | conv/deformable_offsets_grad/op_kernel/arch35/deformable_offsets_grad.h | | ctc_loss_v2 | loss/ctc_loss_v2/op_kernel/arch35/ctc_loss_v2_base.h | | ctc_loss_v2 | loss/ctc_loss_v2/op_kernel/arch35/ctc_loss_v2_fp16.h | | ctc_loss_v2 | loss/ctc_loss_v2/op_kernel/arch35/ctc_loss_v2_fp32.h | | ctc_loss_v2_grad | loss/ctc_loss_v2_grad/op_kernel/arch35/ctc_loss_v2_grad.h | | nll_loss | loss/nll_loss/op_kernel/arch35/nll_loss_mix.h | | nll_loss | loss/nll_loss/op_kernel/arch35/nll_loss_simt.h | | nll_loss_grad | loss/nll_loss_grad/op_kernel/arch35/nll_loss_grad.h | | sparse_softmax_cross_entropy_with_logits | loss/sparse_softmax_cross_entropy_with_logits/op_kernel/arch35/..._full_load.h | | sparse_softmax_cross_entropy_with_logits | loss/sparse_softmax_cross_entropy_with_logits/op_kernel/arch35/..._split_r.h | ### API 映射关系 | 旧 API (Simt::) | 新 API | |---|---| | Simt::GetThreadIdx() / Simt::GetThreadIdx<0>() | threadIdx.x | | Simt::GetThreadIdx<1>() | threadIdx.y | | Simt::GetThreadNum() / Simt::GetThreadNum<0>() | blockDim.x | | Simt::GetThreadNum<1>() | blockDim.y | | Simt::GetBlockIdx() | blockIdx.x | | Simt::GetBlockNum() | gridDim.x | | Simt::ThreadBarrier() | asc_syncthreads() | | Simt::VF_CALL<...>(Simt::Dim3{...}, ...) | asc_vf_call<...>(dim3{...}, ...) | | Simt::AtomicAdd(...) | asc_atomic_add(...) | | Simt::Log1p(...) | log1pf(...) | | Simt::Exp(...) | expf(...) | | Simt::Max(...) | fmaxf(...) | ### 新增头文件依赖 cpp #include "simt_api/asc_simt.h" // asc_vf_call / asc_syncthreads / dim3 #include "simt_api/device_atomic_functions.h" // asc_atomic_add #include "simt_api/asc_fp16.h" // FP16 SIMT 支持 #include "simt_api/asc_bf16.h" // BF16 SIMT 支持 ## 关联的Issue https://gitcode.com/cann/ops-nn/issues/2670 ## 测试 - [ ] 本地编译通过验证 - [ ] 算子精度测试 ## 文档更新 无 ## 类型标签 - [ ] Bug修复 - [ ] 新特性 - [x] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述:SIMT API 迁移/重构 See merge request: cann/ops-nn!4243 | 3 个月前 |
| add forward deformable_offsets Co-authored-by: demon_coffee<lice4@huawei.com> # message auto-generated for no-merge-commit merge: !1504 merge deformable_offsets into master add forward deformable_offsets Created-by: demon_coffee Commit-by: demon_coffee Merged-by: cann-robot Description: ## 描述 nn仓新增deformable_offsets算子实现 ## 关联的Issue #https://gitcode.com/cann/ops-nn/issues/799 ## 测试 deformable_offsets算子UT通过,examples执行通过 ## 文档更新 新增了deformable_offsets算子README ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!1504 | 6 个月前 |
| add forward deformable_offsets Co-authored-by: demon_coffee<lice4@huawei.com> # message auto-generated for no-merge-commit merge: !1504 merge deformable_offsets into master add forward deformable_offsets Created-by: demon_coffee Commit-by: demon_coffee Merged-by: cann-robot Description: ## 描述 nn仓新增deformable_offsets算子实现 ## 关联的Issue #https://gitcode.com/cann/ops-nn/issues/799 ## 测试 deformable_offsets算子UT通过,examples执行通过 ## 文档更新 新增了deformable_offsets算子README ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!1504 | 6 个月前 |
| 批量修改md中冗余空格 Co-authored-by: wuyao51511<wuyao61@h-partners.com> # message auto-generated for no-merge-commit merge: !6027 merge master into master 批量修改md中冗余空格 Created-by: wuyao51511 Commit-by: wuyao51511 Merged-by: cann-robot Description: ## 描述 文档空格问题清理 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!6027 | 2 个月前 |