1443 Commits

Author SHA1 Message Date
Chris Jiang
8b8bf5e1c1
[Refactor] Replace roipoint_pool3d op of MLU backend with mlu-ops (#2875) 2023-08-28 15:49:38 +08:00
qirun-uiuc
099ee24dba
[Refactor] Replace bbox_overlaps op of MLU backend with mlu-ops (#2879) 2023-08-28 15:44:17 +08:00
qirun-uiuc
99cb8535c8
[Refactor] Replace focal_loss_sigmoid op of MLU backend with mlu-ops (#2855) 2023-08-28 15:42:15 +08:00
CokeDong
ee93530acc
Adapt new dipu device (#2905) 2023-08-22 12:32:52 +08:00
Chris Jiang
c5233598a5
[Fix] Fix MLU code format (#2887) 2023-08-07 15:21:22 +08:00
youkaichao
9036241eac
[Enhancement] Change the order of condition to make fx wok (#2883) 2023-08-03 17:29:07 +08:00
youkaichao
f64d485843
rename fast_conv_bn_eval to efficient_conv_bn_eval (#2884) 2023-08-03 16:48:32 +08:00
Chris Jiang
ad7284e891
[Enhancement] Add torch mluops check before calling mluOpsxxx interface (#2871) 2023-08-03 16:37:43 +08:00
qipengh
86a38aa3f0
[Feature] Support modulated_deform_conv and deform_conv with cambricon MLU backend (#2823) 2023-07-27 16:28:42 +08:00
MrShadowY
987d34b0cf
[Feature] Add the support of BoxIouRotated op for ascend device (#2842)
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-07-19 10:36:26 +08:00
sherie
0a2f60ba01
[Fix] Fix roi_align npu bug (#2862) 2023-07-10 11:03:48 +08:00
long11111111
43c5c76f9b
[Feature] Add support of points_in_polyogns for Ascend device (#2848) 2023-07-06 15:34:51 +08:00
Danielmic
d28aa8a9cc
[Feature] Add the implementation of diff_iou_rotated with mlu-ops (#2840) 2023-06-30 15:18:39 +08:00
Danielmic
10c8b9e78b
[Feature] Add the implementation of dynamic_scatter with mlu-ops (#2847) 2023-06-29 17:13:57 +08:00
Zaida Zhou
af0aaddf89
Install wheel package in CI to support bdist_wheel command (#2851) 2023-06-29 16:46:21 +08:00
xiabo123
4f51a937dc
Fix the support for ROCm (#2827) 2023-06-21 17:15:22 +08:00
CokeDong
99a8d05766
[Enhancement] support dipu_mock_cuda=False in dipu for mmcv ext ops with cpu fallback (#2839)
* Support cuda_mock

* Fix

* Support roi_align

* Fix lint

* Support bbox
2023-06-20 17:22:11 +08:00
Zaida Zhou
fc038a386a
Bump version to 2.0.1 (#2831) v2.0.1 2023-06-16 21:57:42 +08:00
youkaichao
3df6414efa
[Enhance] Add ConvModule.turn_on_fast_conv_bn_eval to reduce repetitive code and dynamically bind conv during forward (#2835) 2023-06-16 12:43:53 +08:00
Yinlei Sun
8d87bf44ca
[Fix] Fix deform_conv ops on Ascend NPU (#2832) 2023-06-15 16:47:01 +08:00
wateryzephyr
e322848e3a
Correct mmengine version requirement (#2816) 2023-06-14 14:35:07 +08:00
Zaida Zhou
566f5fe91f
Drop the outdated torch versions in CI (#2830) 2023-06-14 14:29:44 +08:00
youkaichao
36003b7617
[Feature] Add fast_conv_bn_eval option in ConvModule for fast validation and training in Eval mode (#2807) 2023-06-13 23:13:01 +08:00
i-aki-y
f01d301eb6
[Docs] Fix a typo in RandomResize docstring (#2829) 2023-06-13 17:40:50 +08:00
CokeDong
9b1209fadb
[Feature] Support mmcv ext with DIOPI impl (#2790) 2023-06-13 17:14:49 +08:00
liuhw
558742c9cb
Revert "[FIx] Fix arf op's write conflict when num_orientations is not 1 (#2824)" (#2825) 2023-06-10 23:13:26 +08:00
sherie
36e6b19b78
[Docs] Add npu build.md and update roi_pool_npu adpater (#2812) 2023-06-09 10:35:41 +08:00
liuhw
c9627e867f
[FIx] Fix arf op's write conflict when num_orientations is not 1 (#2824) 2023-06-09 10:34:23 +08:00
liuhw
50d1fffb54
[Fix] Keep the shape of iou op's parameter 2 smaller than parameter 1 (#2821) 2023-06-09 10:30:56 +08:00
duzekun
f7382417d0
[Refactor] Simplify the logic of sparse_conv (#2802) 2023-06-01 14:16:20 +08:00
tudejiang79
ba8aa76458
[Refactor] Repalce the implementation of roi_align_rotated with mlu-ops (#2808) 2023-06-01 00:56:49 +08:00
tudejiang79
d2aecbe494
[Feature] Add the support for rotated_feature_align with MLU (#2809) 2023-06-01 00:55:20 +08:00
liuduanhui
92b3e861a4
[Refactor] Replace the implementation of psa_mask with mlu-ops. (#2810) 2023-06-01 00:51:06 +08:00
qipengh
2611b9900f
[Refactor] Replace carafe op of MLU backend with mlu-ops (#2817) 2023-06-01 00:50:04 +08:00
xiabo123
7ff7095ca7
[Fix] Fix the support for ROCm (#2811) 2023-05-31 12:47:46 +08:00
jason_w
3269278ed0
[Fix] Fix type hint in geometric (#2799) 2023-05-22 11:06:56 +08:00
bdf
0c23eb0215
Sync main with mmcv1.x branch (#2800) 2023-05-19 15:40:12 +08:00
Mashiro
59c1418e45
[Enhancement] Make build_xxx_layer allow accepting a class type (#2782) 2023-05-11 17:51:13 +08:00
Zaida Zhou
b4dee63ce1
[FIx] Build CUDA ops in CI (#2794) 2023-05-10 20:30:19 +08:00
Ezra-Yu
387b63b307
[Enhance] Raise a error if fails to read image (#2791)
* add assert

* Update mmcv/transforms/loading.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* update comments

---------

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-05-10 20:11:15 +08:00
liuhw
9a5685a995
[Feature] Add the support of arf op for ascend device (#2792) 2023-05-10 17:07:17 +08:00
Zaida Zhou
107f184386
[Fix] ops can not be built in github action (#2783)
* Fix CI

* Fix CI

* revert comments

* print cl

* use latest

* install wheel

* install wheel

* fix

* Update .github/workflows/pr_stage_test.yml
2023-05-10 16:01:00 +08:00
Zaida Zhou
89a264527e
Enhance issue templates (#2776) 2023-04-23 10:55:16 +08:00
ckirchhoff
d493a5d523
Pick changes from 1.x branch (#2738) 2023-04-20 19:27:11 +08:00
bdf
733e6ff84e
Pick MLU modifications from master (1.x) to main (2.x) (#2704)
* [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: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update docs/zh_cn/get_started/build.md

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update docs/en/get_started/build.md

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update docs/en/get_started/build.md

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* [Docs] Modify the format

---------

Co-authored-by: budefei <budefei@cambricon.com>
Co-authored-by: Zaida 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: budefei <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: budefei <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: dongchengwei <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: budefei <budefei@cambricon.com>

* [Enhance] Ignore mlu-ops files (#2691)

Co-authored-by: budefei <budefei@cambricon.com>

---------

Co-authored-by: ZShaopeng <108382403+ZShaopeng@users.noreply.github.com>
Co-authored-by: BinZheng <38182684+Wickyzheng@users.noreply.github.com>
Co-authored-by: liuduanhui <103939338+DanieeelLiu@users.noreply.github.com>
Co-authored-by: budefei <budefei@cambricon.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: duzekun <108381389+duzekunKTH@users.noreply.github.com>
Co-authored-by: dongchengwei <dongchengwei@cambricon.com>
Co-authored-by: liuyuan1-v <125547457+liuyuan1-v@users.noreply.github.com>
2023-04-19 10:42:07 +08:00
Zaida Zhou
1f161f6859
Remove .owners.yml (#2743) 2023-04-07 15:39:25 +08:00
Zaida Zhou
463eab6b5d
[Docs] Describe branch changes (#2741)
* [Docs] Describe branch changes

* fix typo

* Update English

* refine
2023-04-06 23:42:14 +08:00
Zaida Zhou
7c136e79d5
Update the supported torch and cuda versions in README (#2687)
* Update the supported torch and cuda versions in README

* update version.json

* use ubuntu-22.04

* refine
2023-04-06 19:22:57 +08:00
Zaida Zhou
c74b488917
Remove two outdated files (#2740) 2023-04-06 17:01:01 +08:00
CokeDong
4e768bf3f6
[Fix] Fix parrots CI (#2737)
* Chery pick from PR #2515 and #2684

* Fix
2023-04-06 16:27:47 +08:00