| 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 | 7 个月前 |
| 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 | 7 个月前 |
| remove simplified_key, default value is 0 Co-authored-by: cong-jiyu<congjiyu@h-partners.com> # message auto-generated for no-merge-commit merge: !4892 merge master into master remove simplified_key, default value is 0 Created-by: cong-jiyu Commit-by: cong-jiyu Merged-by: cann-robot Description: ## 描述 当simplified_key中属性只有default=0,且ascendc_config中配置了算子,那么simplified_key.ini文件可以删除,因为默认值为0. 修改了ascendc_config.json文件,将算子host/config中配置了soc,但是未在ascendc_config.json中的算子补充上去。 ## 关联的Issue [#1985](https://gitcode.com/cann/ops-nn/issues/1985) ## 测试 编译950、910bpass ## 文档更新 更新了ascendc_config.json配置了算子的simplified_key的ini文件 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!4892 | 4 个月前 |
| 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 | 4 个月前 |
| 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 | 7 个月前 |
| 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 | 7 个月前 |
| nn整仓doc Tools工具扫描问题修改0330 Co-authored-by: caiwenwen<caiwenwen6@h-partners.com> # message auto-generated for no-merge-commit merge: !3325 merge master into master nn整仓doc Tools工具扫描问题修改0330 Created-by: caiwenwen Commit-by: caiwenwen Merged-by: cann-robot Description: ## 描述 整仓文档问题修改,修改不符合markdown规范和链接。 ## 关联的Issue 关联Issue [#1783](https://gitcode.com/cann/ops-nn/issues/1783) ## 测试 更新了docs、docs、experimental、experimental/index 、experimental/matmul 、matmul 等文件 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!3325 | 6 个月前 |