MMCV Releases v2.1.0
๐ We are glad to announce that we are providing the mmcv pre-built packages for PyTorch 2.1.0 starting from MMCV v2.1.0.
pip install -U openmim
mim install mmcv
Features
- Add the implementation of dynamic_scatter with mlu-ops by @Danielmic in #2847
- Add the implementation of diff_iou_rotated with mlu-ops by @Danielmic in #2840
- Add the support of points_in_polyogns for Ascend device by @long11111111 in #2848
- Add the support of BoxIouRotated op for ascend device by @MrShadowY in #2842
- Support modulated_deform_conv and deform_conv with cambricon MLU backend by @qipengh in #2823
- Add the support for group_points ops with Ascend by @673958639 in #2935
- Support torch_npu 2.1 by @momo609 in #2909
- Adapt new dipu device by @CokeDong in #2905
- Use PyTorch WARP_SHFL_DOWN macro for half support by @zstreet87 in #2843
Enhancements
- Support
dipu_mock_cuda=False
indipu
for mmcv ext ops with cpu fallback by @CokeDong in #2839 - Add torch mluops check before calling mluOpsxxx interface by @ClowDragon in #2871
- Change the order of condition to make fx wok by @youkaichao in #2883
- Rename fast_conv_bn_eval to efficient_conv_bn_eval by @youkaichao in #2884
- Replace focal_loss_sigmoid op of MLU backend with mlu-ops by @qirun-uiuc in #2855
- Replace bbox_overlaps op of MLU backend with mlu-ops by @qirun-uiuc in #2879
- Replace roipoint_pool3d op of MLU backend with mlu-ops by @ClowDragon in #2875
- Replace tin_shift op of MLU backend with mlu-ops by @ClowDragon in #2910
- Use unified interface in Ascend kernel by @momo609 in #2945
Bug Fixes
- Fix roi_align npu bug by @momo609 in #2862
- Fix format error in roi_align_rotated by @ClowDragon in #2887
- Fix data race risk of
cache_randomness
by @HarborYuan in #2927 - Update mlu-ops version by @ClowDragon in #2921
- Fix setup.py for torch_npu v2.1 by @momo609 in #2928
- Fix the support for nms_rotated in Ascend by @momo609 in #2931
- Fix modulated_deform_conv.py for torch_npu v2.1 by @6Vvv in #2941
- Temporarily disable mps ops for torch2.1.0 by @grimoire in #2958
- Update c++17 in setup.py by @grimoire in #2865
- Adapt to rocm by @xiabo123 in #2827
Others
- Install wheel package in CI to support bdist_wheel command by @zhouzaida in #2851
- Add torch2.1.0 checking in CI by @zhouzaida in #2955
- Bump version to 2.1.0 by @zhouzaida in #2959
New Contributors
- @673958639 made their first contribution in #2935
- @6Vvv made their first contribution in #2941
Full Changelog: v2.0.1...v2.1.0