MMCV Releases v1.7.2
π We are glad to announce that we are providing the mmcv-full pre-built packages for PyTorch 2.1.0 and 2.0.0 starting from MMCV v1.7.2.
pip install -U openmim
mim install mmcv-full
Features
- Support DCNv1 on Ascend device by @MiniTIckW in #2480
- Support PSAMask op for Ascend device by @DaGaiBa in #2487
- Support Voxelization with cambricon MLU device by @ZShaopeng in #2500
- Add Ascend support for RoIPool op by @momo609 in #2483
- Add MLU support for DCN by @mengpenghui in #2540
- Add support for Ascend devices with gather_points by @zcc-zjut in #2555
- Add ops bbox_overlaps by @enemy1205 in #2477
- Support ball_query with cambricon MLU backend and mlu-ops library. by @DanieeelLiu in #2520
- Add support for Ascend devices with nms_rotated by @ckirchhoff2021 in #2550
- Add Ascend support for RoIPoolGrad op by @xinlianglalala in #2569
- Add bbox_overlaps npu adapter by @dflhw in #2580
- ms_deform_attn performance optimization by @Wickyzheng in #2616
- Add the support of voxelization op for ascend device by @dflhw in #2613
- Make voxelization operator support the mlu290 platform. by @mahxn0 in #2652
- Add Ascend support for RoIAlign op by @momo609 in #2638
- Add MLU support for Sparse Convolution op by @duzekunKTH in #2589
- Add the support of arf op for ascend device by @dflhw in #2789
*Sync replace by @defei-coder in #2750 - Add the implementation of diff_iou_rotated with mlu-ops by @Danielmic in #2852
- Add the implementation of dynamic_scatter with mlu-ops (#2847) by @Danielmic in #2853
- Add support of points_in_polyogns for Ascend device by @long11111111 in #2864
- Add the support of BoxIouRotated op for ascend device by @MrShadowY in #2854
- Replace the implementation of deform_roi_pool with mlu-ops by @defei-coder in #2598
- Add torch_npu optimizer by @luomaoling in #2753
- Add missing contiguous calls for nms_rotated by @allanzelener in #2547
- Support NmsRotated with cambricon MLU backend by @liuyuan1-v in #2643
- Add the implementation of box_iou_rotated with mlu-ops. by @ZhangLearning in #2703
- Modify adaptation of bbox_overlaps op for ascend device by @dflhw in #2697
- Support torch_npu v2.1 by @momo609 in #2943
- DvcliveLoggerHook: use
by_epoch
for determining when to log. by @daavoo in #2149 - Support MultiScaleDeformableAttention with AMP by @nijkah in **#2541
Enhancements
- Replace the implementation of three_nn with mlu-ops by @DanieeelLiu in #2719
- Repalce the implementation of roiaware_pool3d with mlu-ops. by @ZhangLearning in #2699
- Refactor the issue templates by @zhouzaida in #2585
- Remove unused files by @zhouzaida in #2586
- The argument scale of fused_bias_leakyrelu should be greater than 0 by @jayggh in #2623
- Replace carafe op of MLU backend with mlu-ops by @qipengh in #2818
- Replace the implementation of psa_mask with mlu-ops. by @DanieeelLiu in #2756
- Repalce the implementation of rotated_feature_align with ml⦠by @tudejiang79 in #2659
- Repalce the implementation of roi_align_rotated with mlu-ops by @tudejiang79 in #2657
- Simplify the logic of sparse_conv by @duzekunKTH in #2683
- Replace bbox_overlaps op of MLU backend with mlu-ops by @qirun-uiuc in #2880
- Replace focal_loss_sigmoid op of MLU backend with mlu-ops by @qirun-uiuc in #2877
- Replace roipoint_pool3d op of MLU backend with mlu-ops by @ClowDragon in #2876
- Replace tin_shift op of MLU backend with mlu-ops by @ClowDragon in #2911
- Add torch mluops check before call mluOpsxxx interface by @ClowDragon in #2874
- Refine the implementation of NMS op in Ascend device by @momo609 in #2658
- Optimize the performace of ms_deform_attn for MLU device by @Wickyzheng in #2510
- Update parrots image by @CokeDong in #2522
- Add AMP support for MLU_DCNv2 by @mengpenghui in #2548
- Use official isort by @triple-Mu in #2574
- Increase the dtype limit to maintain consistency with the gpu. by @momo609 in #2724
- Add a comment for the use of masked_conv on Ascend device by @zcc9707 in #2689
- Ignore mlu-ops files by @defei-coder in #2691
- Delete yapf verify by @zhouzaida in #2944
- Add a default value for MMCV_MLU_ARGS by @defei-coder in #2688
Bug Fixes
- Fix a typo in runner/hooks/evaluation.py by @jamiechoi1995 in #2523
- Fix c++/cuda lint failed by @HAOCHENYE in #2528
- Fix CI failed caused by 'Python.h' not found by @ice-tong in #2530
- Fix a dilation bug of MLU-DCNv2 and add limitation of torchvision by @mengpenghui in #2519
- Check the version of torchvision in init of DCN by @mengpenghui in #2556
- Fix typo in docstring by @HAOCHENYE in #2549
- Fix the parameter error of DeformableRoiPool in Ascend device by @dflhw in #2546
- Upgrade the version of isort to fix lint error by @zhouzaida in #2572
- Fix tensor descriptor setting in MLU ball_query. by @DanieeelLiu in #2579
- Fix a typo in the docstring of MSDeformAttn by @nijkah in #2599
- Fix the paper link error in the docstring by @BainOuO in #2618
- Prevent divide-by-zero error on Ascend device for bbox_overlaps by @dflhw in #2644
- Fix boxes.scalar_type in nms_npu by @momo609 in #2731
- Fix torch 1.8 adpater npu bug by @momo609 in #2970
- Fix npu optim by @luomaoling in #2766
- Keep the shape value of ascend iou op's parameter 2 smaller than parameter 1 by @dflhw in #2820
- Fix arf op's write conflict when num_orientations is not 1 by @dflhw in #2822
- Revert "[Fix] Fix arf op's write conflict when num_orientations is not 1" by @dflhw in #2826
- Fix deform_conv ops on Ascend NPU by @Ginray in #2805
- fix format error in roi_align_rotated by @ClowDragon in #2886
- Update mlu-ops version by @ClowDragon in #2922
- nms_rotated_npu accept angle parameter by @18251968697 in #2670
- Move voxel_size to the device where points are by @dflhw in #2681
- Fix parrots bbox_overlaps by @CokeDong in #2684
Others
- Refine the docstring of EvalHook by @Yan-Daojiang in #2576
- Steps to compile mmcv-full on MLU machine by @defei-coder in #2571
- Remove .owners.yml by @zhouzaida in #2712
- Build macos wheel for torch2.0.0 by @zhouzaida in #3008
- Bump version to v1.7.2 by @zhouzaida in #3007
- Update version info by @zhouzaida in #2981
- Replace the ubuntu-18.04 with 22.04 in CI by @zhouzaida in #2793
New Contributors
- @MiniTIckW made their first contribution in #2480
- @Wickyzheng made their first contribution in #2510
- @DaGaiBa made their first contribution in #2487
- @ice-tong made their first contribution in #2530
- @enemy1205 made their first contribution in #2477
- @Yan-Daojiang made their first contribution in #2576
- @allanzelener made their first contribution in #2547
- @xinlianglalala made their first contribution in #2569
- @BainOuO made their first contribution in #2618
- @zcc9707 made their first contribution in #2689
- @luomaoling made their first contribution in #2753
Full Changelog: v1.7.1...v1.7.2