1. 14 Dec, 2022 1 commit
    • jayggh's avatar
      [Feature] Add NPU adapter for Deformable RoIPool (#2481) · 46eb9ec5
      jayggh authored
      * add npu adapter for deformroipool
      
      * cleancode
      
      * Update deform_roi_pool.cpp
      
      * Update deform_roi_pool.cpp
      
      * Update deform_roi_pool.cpp
      
      * Update deform_roi_pool.cpp
      
      * Update deform_roi_pool.cpp
      
      * Update deform_roi_pool.cpp
      
      * Update deform_roi_pool.cpp
      46eb9ec5
  2. 13 Dec, 2022 1 commit
    • jayggh's avatar
      [Feature] Add FusedBiasLeakyRelu npu adapter (#2474) · 4c51afce
      jayggh authored
      
      
      * init npu
      
      * add npu extension and focal loss adapter
      
      * clean code
      
      * clean code
      
      * clean code
      
      * clean code
      
      * fix autocast bugs on npu (#2273)
      
      fix autocast bugs on npu (#2273)
      
      * code format
      
      * code format
      
      * code format
      
      * bug fix
      
      * pytorch_npu_helper.hpp clean code
      
      * Npu dev (#2306)
      
      * fix autocast bugs on npu
      * using scatter_kwargs in mmcv.device.scatter_gather
      
      * raise ImportError when compile with npu
      
      * add npu test case (#2307)
      
      * add npu test case
      
      * Update focal_loss.py
      
      * add comment
      
      * clean lint
      
      * update dtype assert
      
      * update DDP forward and comment
      
      * fix bug
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * sigmoidfocalloss npu adapter bug fix
      
      * BugFix: modify softmaxFocalLoss adapter
      
      * BugFix: remove equal sign in the code
      
      * add npu install information in README
      
      * add modulatedDeformConv npu adapter
      
      * init npu
      
      * add npu extension and focal loss adapter
      
      * clean code
      
      * clean code
      
      * clean code
      
      * add modulatedDeformConv npu adapter
      
      * merge master branch 20221103
      
      * Add masked_ Conv2d operator in NPU
      
      * add nms_npu
      
      * fix bug
      
      * fix code check
      
      * fix code check
      
      * fix code check
      
      * Masked_conv2d NPU
      
      * Masked_conv2d NPU
      
      * Masked_conv2d NPU
      
      * remove npu-install-info in README.md
      
      * annotate the clang-format in pre-commit-config-zh-ch.yaml
      
      * Clean code: fix the clean code problem in masked_conv2d and modulated_deform_conv
      
      * Create fused_bias_leakyrelu_npu.cpp
      
      Add NPU adapter for fused_bias_leaky_relu operator
      
      * Update fused_bias_leakyrelu_npu.cpp
      
      * Update fused_bias_leakyrelu_npu.cpp
      
      * Update ops.md
      
      * Update ops.md
      
      * Update fused_bias_leakyrelu_npu.cpp
      
      * Update fused_bias_leakyrelu_npu.cpp
      
      * Update test_fused_bias_leakyrelu.py
      
      * Update fused_bias_leakyrelu.py
      
      * Update test_fused_bias_leakyrelu.py
      
      * Update fused_bias_leakyrelu.py
      
      * Update test_fused_bias_leakyrelu.py
      
      * Update ops.md
      
      * amend for CI
      
      * bugfix
      
      * amend ops.md
      
      * Update test_fused_bias_leakyrelu.py
      
      * clean code
      
      * bugfix
      
      * clean code
      
      * Update fused_bias_leakyrelu_npu.cpp
      
      * Update fused_bias_leakyrelu_npu.cpp
      Co-authored-by: default avatarwangjiangben <wangjiangben_hw@126.com>
      Co-authored-by: default avatarckirchhoff <515629648@qq.com>
      Co-authored-by: default avatarwangjiangben-hw <111729245+wangjiangben-hw@users.noreply.github.com>
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      Co-authored-by: default avatarzcc-zjut <zcczxy2019@163.com>
      Co-authored-by: default avatarwangxiaoxin_sherie <wangxiaoxin7@huawei.com>
      Co-authored-by: default avatarmomo609 <963372609@qq.com>
      4c51afce
  3. 07 Dec, 2022 1 commit
  4. 04 Dec, 2022 1 commit
  5. 17 Nov, 2022 1 commit
  6. 16 Nov, 2022 1 commit
    • ZShaopeng's avatar
      [Feature] Support MultiScaleDeformableAttn with cambricon MLU backend (#2396) · 12442667
      ZShaopeng authored
      
      
      * [Feature] Support MsDeformAttnForward with cambricon MLU backend
      
      * [Feature] Support MsDeformAttnForward with cambricon MLU backend
      
      * [Feature] Support MsDeformAttnForward with cambricon MLU backend
      
      * [Feature] Support MsDeformAttnForward with cambricon MLU backend
      
      * [Feature] Support MsDeformAttnForward with cambricon MLU backend
      
      * [Feature] Support MsDeformAttnForward with cambricon MLU backend
      
      * [Feature] Support ms with cambricon MLU backend
      
      * [Feature] Support msdeformattn_1104 with cambricon MLU backend
      
      * [Feature] Support ms with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn_1108 with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn_1108 with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn_1108 with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * Revert "[Feature] Support MsDeformAttn with cambricon MLU backend"
      
      This reverts commit 27963cccc86d240852a40a2c1510147a3e9f269f.
      
      * [Feature] Support MsdeformAttn with cambricon MLU backend
      
      * [Feature] Support MsDeformAttn with cambricon MLU backend
      
      * [Feature] Support MsdeformAttn with cambricon MLU backend
      Co-authored-by: default avatarzhangshaopeng <wicky-zheng@outlook.com>
      Co-authored-by: default avatarwicky-zheng <root@notebook-mmcv-290m8-torch1-6-y0yv66-notebook-0.notebook-mmcv-290m8-torch1-6-y0yv66.ns-ad8b689a0ecd41fcb4469c803dcd539d.svc.cluster.local>
      12442667
  7. 03 Nov, 2022 1 commit
  8. 28 Oct, 2022 1 commit
    • Yue Zhou's avatar
      [Feature] Add box_iou_quadri & nms_quadri (#2277) · a4f304a5
      Yue Zhou authored
      * update
      
      * update
      
      * fix link
      
      * fix bug
      
      * update nms_quadri
      
      * fix lint
      
      * Update test_nms_quadri.py
      
      * Update box_iou_quadri.py
      
      * fix bug
      
      * Update test_nms_quadri.py
      
      * Update box_iou_rotated_utils.hpp
      
      * Update box_iou_quadri.py
      
      * Update mmcv/ops/nms.py
      a4f304a5
  9. 24 Oct, 2022 1 commit
  10. 08 Sep, 2022 1 commit
    • ZShaopeng's avatar
      [Feature] Support RoipointPool3d with cambricon MLU backend (#2247) · 83bedf5a
      ZShaopeng authored
      * [Feature] Support RoipointPool3d with cambricon MLU backend
      
      * [Feature] Support RoipointPool3d with cambricon MLU backend
      
      * [Feature] Support RoipointPool3d with cambricon MLU backend
      
      * [Feature] Support RoipointPool3d with cambricon MLU backend
      
      * [Feature] Support RoipointPool3d with cambricon MLU backend
      83bedf5a
  11. 28 Aug, 2022 1 commit
  12. 23 Aug, 2022 1 commit
  13. 21 Aug, 2022 1 commit
  14. 19 Aug, 2022 1 commit
  15. 23 Jul, 2022 1 commit
  16. 22 Jul, 2022 1 commit
  17. 29 Jun, 2022 1 commit
  18. 15 Jun, 2022 1 commit
  19. 08 Jun, 2022 1 commit
  20. 25 May, 2022 1 commit
  21. 15 Apr, 2022 1 commit
    • Danila Rukhovich's avatar
      [Enhance] Differentiable rotated IoU (#1854) · aee596d5
      Danila Rukhovich authored
      * diff_iou_rotated is working
      
      * add test; fix lint
      
      * fix lint for test
      
      * disable cpu build
      
      * refactor files structure
      
      * fix comments
      
      * remove extra .repeat()
      
      * add comment
      
      * fix j-1 bug; update doc
      
      * fix clang lint
      
      * update docstrings
      
      * fix comments
      
      * fix comments
      aee596d5
  22. 18 Feb, 2022 1 commit
    • Wenhao Wu's avatar
      [Feature] Add spconv ops from mmdet3d (#1581) · c1de4c9b
      Wenhao Wu authored
      
      
      * add ops (spconv) of mmdet3d
      
      * fix typo
      
      * refactor code
      
      * resolve comments in #1452
      
      * fix compile error
      
      * fix bugs
      
      * fix bug
      
      * transform from 'types.h' to 'extension.h'
      
      * fix bug
      
      * transform from 'types.h' to 'extension.h' in parrots
      
      * add extension.h in pybind.cpp
      
      * add unittest
      
      * Recover code
      
      * (1) Remove prettyprint.h
      (2) Switch `T` to `scalar_t`
      (3) Remove useless lines
      (4) Refine example in docstring of sparse_modules.py
      
      * (1) rename from `cu.h` to `cuh`
      (2) remove useless files
      (3) move cpu files to `pytorch/cpu`
      
      * reorganize files
      
      * Add docstring for sparse_functional.py
      
      * use dispatcher
      
      * remove template
      
      * use dispatch in cuda ops
      
      * resolve Segmentation fault
      
      * remove useless files
      
      * fix lint
      
      * fix lint
      
      * fix lint
      
      * fix unittest in test_build_layers.py
      
      * add tensorview into include_dirs when compiling
      
      * recover all deleted files
      
      * fix lint and comments
      
      * recover setup.py
      
      * replace tv::GPU as tv::TorchGPU & support device guard
      
      * fix lint
      Co-authored-by: default avatarhdc <hudingchang.vendor@sensetime.com>
      Co-authored-by: default avatargrimoire <yaoqian@sensetime.com>
      c1de4c9b
  23. 10 Jan, 2022 3 commits
  24. 24 Dec, 2021 1 commit
  25. 23 Dec, 2021 2 commits
  26. 15 Dec, 2021 1 commit
  27. 23 Oct, 2021 1 commit
  28. 21 Oct, 2021 2 commits
  29. 15 Oct, 2021 2 commits
  30. 14 Oct, 2021 3 commits
  31. 13 Oct, 2021 1 commit
    • dingchang's avatar
      [Feature] Add fps op from mmdet3d (#1337) · 63a6cbe9
      dingchang authored
      * add ops (furthest point sample) in mmdet3d
      
      * refactor code
      
      * refactor code
      
      * fix typo
      
      * fix typo
      
      * fix typo
      
      * refactor code
      
      * fix typo
      
      * define DIVUP in common_cuda_helper.hpp
      63a6cbe9
  32. 23 Sep, 2021 2 commits