1. 19 Apr, 2023 1 commit
    • bdf's avatar
      Pick MLU modifications from master (1.x) to main (2.x) (#2704) · 733e6ff8
      bdf authored
      
      
      * [Feature] Support Voxelization with cambricon MLU device (#2500)
      
      * [Feature] Support hard_voxelize with cambricon MLU backend
      
      * [Feature](bangc-ops): add voxelization op
      
      * [Feature](bangc-ops): add voxelization op
      
      * [Feature](bangc-ops): add voxelization op
      
      * [Feature](bangc-ops): add voxelization op
      
      * [Feature](bangc-ops): add voxelization op
      
      * [Feature](bangc-ops): add voxelization op
      
      * [Feature](bangc-ops): add voxelization op
      
      * [Feature](bangc-ops): add voxelization op
      
      * [Enhance] Optimize the performace of ms_deform_attn for MLU device (#2510)
      
      * ms_opt
      
      * ms_opt
      
      * ms_opt
      
      * ms_opt
      
      * ms_opt
      
      * [Feature] ms_deform_attn performance optimization
      
      * [Feature] ms_deform_attn performance optimization
      
      * [Feature] ms_deform_attn performance optimization
      
      * [Feature] Support ball_query with cambricon MLU backend and mlu-ops library. (#2520)
      
      * [Feature] Support ball_query with cambricon MLU backend and mlu-ops library.
      
      * [Fix] update operator data layout setting.
      
      * [Fix] add cxx compile option to avoid symbol conflict.
      
      * [Fix] fix lint errors.
      
      * [Fix] update ops.md with info of ball_query support by MLU backend.
      
      * [Feature] Fix typo.
      
      * [Fix] Remove print.
      
      * [Fix] get mlu-ops from MMCV_MLU_OPS_PATH env.
      
      * [Fix] update MMCV_MLU_OPS_PATH check logic.
      
      * [Fix] update error info when failed to download mlu-ops.
      
      * [Fix] check mlu-ops version matching info in mmcv.
      
      * [Fix] revise wrong filename.
      
      * [Fix] remove f.close and re.
      
      * [Docs] Steps to compile mmcv-full on MLU machine (#2571)
      
      * [Docs] Steps to compile mmcv-full on MLU machine
      
      * [Docs] Adjust paragraph order
      
      * Update docs/zh_cn/get_started/build.md
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * Update docs/zh_cn/get_started/build.md
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * Update docs/en/get_started/build.md
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * Update docs/en/get_started/build.md
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * [Docs] Modify the format
      
      ---------
      Co-authored-by: default avatarbudefei <budefei@cambricon.com>
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      
      * [Fix] Fix tensor descriptor setting in MLU ball_query. (#2579)
      
      * [Feature] Add MLU support for Sparse Convolution op (#2589)
      
      * [Feature] Add sparse convolution MLU API
      
      * [Feature] update cpp code style
      
      * end-of-file
      
      * delete libext.a
      
      * code style
      
      * update ops.md
      
      ---------
      Co-authored-by: default avatarbudefei <budefei@cambricon.com>
      
      * [Enhancement] Replace the implementation of deform_roi_pool with mlu-ops (#2598)
      
      * [Feature] Replace the implementation of deform_roi_pool with mlu-ops
      
      * [Feature] Modify code
      
      ---------
      Co-authored-by: default avatarbudefei <budefei@cambricon.com>
      
      * [Enhancement] ms_deform_attn performance optimization (#2616)
      
      * ms_opt_v2
      
      * ms_opt_v2_1
      
      * optimize MultiScaleDeformableAttention ops for MLU
      
      * ms_opt_v2_1
      
      * [Feature] ms_deform_attn performance optimization V2
      
      * [Feature] ms_deform_attn performance optimization V2
      
      * [Feature] ms_deform_attn performance optimization V2
      
      * [Feature] ms_deform_attn performance optimization V2
      
      * [Feature] ms_deform_attn performance optimization V2
      
      * [Feature] ms_deform_attn performance optimization V2
      
      * [Feature] ms_deform_attn performance optimization V2
      
      ---------
      Co-authored-by: default avatardongchengwei <dongchengwei@cambricon.com>
      
      * [Feature] Support NmsRotated with cambricon MLU backend (#2643)
      
      * [Feature] Support NmsRotated with cambricon MLU backend
      
      * [Feature] remove foolproofs in nms_rotated_mlu.cpp
      
      * [Feature] fix lint in test_nms_rotated.py
      
      * [Feature] fix kMLU not found in nms_rotated.cpp
      
      * [Feature] modify mlu support in nms.py
      
      * [Feature] modify nms_rotated support in ops.md
      
      * [Feature] modify ops/nms.py
      
      * [Enhance] Add a default value for MMCV_MLU_ARGS (#2688)
      
      * add mlu_args
      
      * add mlu_args
      
      * Modify the code
      
      ---------
      Co-authored-by: default avatarbudefei <budefei@cambricon.com>
      
      * [Enhance] Ignore mlu-ops files (#2691)
      Co-authored-by: default avatarbudefei <budefei@cambricon.com>
      
      ---------
      Co-authored-by: default avatarZShaopeng <108382403+ZShaopeng@users.noreply.github.com>
      Co-authored-by: default avatarBinZheng <38182684+Wickyzheng@users.noreply.github.com>
      Co-authored-by: default avatarliuduanhui <103939338+DanieeelLiu@users.noreply.github.com>
      Co-authored-by: default avatarbudefei <budefei@cambricon.com>
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      Co-authored-by: default avatarduzekun <108381389+duzekunKTH@users.noreply.github.com>
      Co-authored-by: default avatardongchengwei <dongchengwei@cambricon.com>
      Co-authored-by: default avatarliuyuan1-v <125547457+liuyuan1-v@users.noreply.github.com>
      733e6ff8
  2. 09 May, 2022 1 commit
  3. 14 Apr, 2022 1 commit
  4. 24 Feb, 2022 1 commit
  5. 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