Skip to content

Releases: open-mmlab/mmcv

v2.2.0

24 Apr 14:23
3a5fb4b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.2.0

MMCV Releases v1.7.2

29 Dec 15:42
4c01b02
Compare
Choose a tag to compare

πŸ˜€ 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

Enhancements

Bug Fixes

Others

New Contributors

Read more

MMCV Releases v2.1.0

17 Oct 11:30
57c4e25
Compare
Choose a tag to compare

πŸ˜€ 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

Enhancements

Bug Fixes

Others

New Contributors

Full Changelog: v2.0.1...v2.1.0

MMCV Releases v2.0.1

29 Jun 07:28
fc038a3
Compare
Choose a tag to compare

Features

  • Add fast_conv_bn_eval option in ConvModule for fast validation and training in Eval mode by @youkaichao in #2807
  • Support mmcv ext with DIOPI impl by @CokeDong in #2790
  • Add the support of arf op for ascend device by @dflhw in #2792
  • Add the support for rotated_feature_align with MLU by @tudejiang79 in #2809
  • Replace the implementation of roi_align_rotated with mlu-ops by @tudejiang79 in #2808

Enhancements

Bug Fixes

Documentations

New Contributors

Full Changelog: v2.0.0...v2.0.1

MMCV Releases V2.0.0

06 Apr 03:33
1db3967
Compare
Choose a tag to compare

Highlights

Introducing mmcv v2.0.0, we have made significant updates to the package. Training process-related modules, such as Runner, Hook, and Parallel, have been removed and are now provided by MMEngine. With this release, we have added numerous data transformations, including CenterCrop. Additionally, starting from mmcv v2.0.0, we are providing pre-built packages for PyTorch v2.0.0.

Features

  • Introduced a variety of data transformations
  • Added StyleGAN3 Ops (#2290)
  • Implemented BezierAlign CUDA op (#2393)
  • Added box_iou_quadri & nms_quadri (#2277)
  • Introduced stack ball query and stack group points ops (#2292)
  • Supported LayerScale in FFN (#2451)
  • Added C++ implementation for bbox_overlaps (#2477)

Enhancements

  • Adopted the new fileio interface from mmengine (#2468)
  • Enabled MultiScaleDeformableAttention with AMP (#2541)
  • Registered Compose to TRANSFORMS (#2600)
  • Supported value_proj_ratio in MultiScaleDeformableAttention (#2452)

Backwards Incompatible Changes

  • Removed mmcv.fileio (#2179). The new fileio interfaces can be found at mmengine.fileio
  • Removed mmcv.runner, mmcv.parallel, mmcv.engine and mmcv.device (#2216)
  • Removed all classes in mmcv.utils (eg Config and Registry) and many functions. Only a few functions related to mmcv are reserved (#2217). The new Config and Registry can be found at mmengine.registry and mmengine.config
  • Removed mmcv.onnex, mmcv.tensorrt modules, and related functions (#2225)
  • Dropped support for Python versions < 3.7 (#2525)
  • Dropped support for PyTorch versions < 1.8 and CUDA versions < 10.1
  • Renamed the package name mmcv to mmcv-lite and mmcv-full to mmcv. Also, changed the default value of the environment variable MMCV_WITH_OPS from 0 to 1 (#2235)
MMCV < 2.0 MMCV >= 2.0
pip install openmim

# Contains ops, because the highest version of mmcv-full
# is less than 2.0.0, so there is no need to add version
# restrictions
mim install mmcv-full

# do not contain ops
mim install "mmcv < 2.0.0"
pip install openmim

# Contains ops
mim install mmcv

# Ops are not included, because the starting version of
# mmcv-lite is 2.0.0, so there is no need to add version
# restrictions
mim install mmcv-lite

Bug Fixes

  • Improved compatibility of training stylegan2 (#2694)
  • Replace torch/extension.h with torch/types.h to fix compilation error on Windows (#2698)
  • Fixed torch2.0 dcn/mdcn symbolic (#2695)
  • Skipped fused_lrelu op when gcc is less than 6.0 or CUDA is less than 10.2 (#2671)
  • Skipped filtered_lrelu ut when CUDA is less than 10.2 (#2677)
  • Called operator __half explicitly (#2608)
  • Ensured fileio related interfaces maintain backward compatibility (#2539)
  • Fixed CI failure due to protobuf version (#2529)
  • Corrected _flip_keypoint result of RandomFlip (#2527)
  • Fixed Windows OS version to 2019 (#2503)
  • Resolved optimizer 'ValueError' when using PReLU activation (#2444)
  • Fixed improper assertion in RandomChoiceResize (#2450)
  • Fixed Correlation op (#2274)
  • Fixed roi align symbolic for torch>=1.13 (#2443)
  • Added swap_label_pairs in RandomFlip (#2332)
  • Fixed MPS ops for torch1.12+ (#2302)
  • Corrected calculation error of out_w in MaskedConv2dFunction (#2264)
  • Cast mask type to enable training with amp (#2220)

Documentations

  • Fixed torch2.0 dcn/mdcn symbolic (#2695)
  • Skipped fused_lrelu op when gcc is less than 6.0 or CUDA is less than 10.2 (#2671)
  • Skipped filtered_lrelu ut when CUDA is less than 10.2 (#2677)
  • Called operator __half explicitly (#2608)
  • Used official isort (#2575)
  • Ensured fileio related interfaces maintain backward compatibility (#2539)
  • Fixed CI failure due to protobuf version (#2529)
  • Corrected _flip_keypoint result of RandomFlip (#2527)
  • Fixed Windows OS version to 2019 (#2503)
  • Resolved optimizer 'ValueError' when using PReLU activation (#2444)
  • Fixed improper assertion in RandomChoiceResize (#2450)
  • Fixed Correlation op (#2274)
  • Fixed roi align symbolic for torch>=1.13 (#2443)
  • Added swap_label_pairs in RandomFlip (#2332)
  • Fixed MPS ops for torch1.12+ (#2302)
  • Corrected calculation error of out_w in MaskedConv2dFunction (#2264)
  • Cast mask type to enable training with amp (#2220)

Contributors

@HAOCHENYE @grimoire @zhouzaida @nijkah @BainOuO @enemy1205 @C1rN09 @triple-Mu @okotaku @vansinhu @Harold-lkk @KeiChiTse @xiexinch @xin-li-67 @VVsssssk @LYMDLUT @MeowZheng @yxzhao2022 @mzr1996 @ZwwWayne @YuanLiuuuuuu @ly015 @plyfager @GT9505 @zytx121 @hhaAndroid @fangyixiao18 @JingweiZhang12 @xcnick @zengyh1900

MMCV Releases v2.0.0rc4

29 Jan 09:35
eb57b3b
Compare
Choose a tag to compare
Pre-release

Features

  • Support LayerScale in FFN (#2451)
  • Add BezierAlign CUDA op (#2393)
  • Pick Ascend ops from the master branch (#2501)

Improvements

  • Support value_proj_ratio in MultiScaleDeformableAttention (#2452)
  • Use the new interface of fileio from mmengine (#2468, #2539)

Bug fixes

  • Fix optimizer 'ValueError' when using PReLU activation (#2444)
  • Fix _flip_keypoint of RandomFlip returns a wrong result (#2527)

Documentations

  • Update the supported PyTorch and CUDA versions (#2456)
  • Add convention for the order of data transforms (#2442)
  • Update qq group link (#2454)

Others

  • Fix the version of Windows OS to 2019 in CI (#2503)
  • Deprecate the support for python3.6 (#2525)
  • Fix CI failed due to the version of protobuf (#2529)

Contributors

A total of 9 developers contributed to this release.
@zhouzaida @KeiChiTse @Harold-lkk @vansin @okotaku @grimoire @HAOCHENYE @CokeDong @ckirchhoff2021

New Contributors

Full Changelog: v2.0.0rc3...v2.0.0rc4

MMCV Releases v1.7.1

03 Jan 02:38
7a13f99
Compare
Choose a tag to compare

Features

  • Support RoiawarePool3d, MultiScaleDeformableAttn, ModulatedDeformConv2d and NMS with cambricon MLU backend (#2359, #2396, #2411, #2401)
  • Add Ascend npu adapter for FusedBiasLeakyRelu, DeformableRoIPool and NMS (#2474, #2481, #2387)
  • Support receptive field search of CNN models (#2056)

Bug fixes

  • Create Tensor with new_* method to support AMP (#2389)
  • Fix DCN TensorRT plugin (#2408)
  • Fix the bug when the input mask is not '0-1-tensor' in masked_conv (#2423)
  • Fix UT caused by the new version of packaging (#2482)
  • Change the block size to 1024 during compilation (#2460)
  • Fix skip_layer for RF-Next (#2489)

Documentations

  • Update supported pytorch versions (#2382)
  • Add code style guide (#2406)
  • Add currently-npu-supported-ops in ops.md (#2420)
  • Refine contributing.md (#1941)
  • Fix typos in contributing docs (#2462, #2485)
  • Update qq group link (#2453)
  • Replace NPU with Ascend in installation documentatio (#2469)

Others

  • Add torch1.13 checking in CI (#2405)
  • Update the URL of pyupgrade pre-commit hook (#2448)

Contributors

A total of 24 developers contributed to this release.
@ZhangLearning @grimoire @zhouzaida @cathyzhang222 @DerryHub @ckirchhoff2021 @wangjiangben-hw @zcc-zjut @momo609 @ZShaopeng @Wickyzheng @HAOCHENYE @gasvn @lzyhha @zytx121 @BayMaxBHL @sunyc11 @mengpenghui @RangeKing @vansin @Taited @jayggh @xiabo123 @CokeDong

New Contributors

Full Changelog: v1.7.0...v1.7.1

MMCV Release V2.0.0rc3

25 Nov 09:33
104aaa8
Compare
Choose a tag to compare
Pre-release

Features

  • Add stack ball query and stack group points ops (#2292)
  • Support RoIAwarePool3d, Iou3d and MultiScaleDeformableAttn with MLU backend (#2359, #2339)
  • Support NMS with MLU590 backend (#2401)

Improvements

  • Adapt mlu code to cntoolkit3.0.1

Bug fixes

  • Fix roi align symbolic for torch>=1.13 (#2443)
  • Create Tensor with new_* method to support AMP (#2389)
  • Fix three nn op can not accept half tensor (#2348)
  • Fix the potential NaN bug in calc_square_dist (#2356)
  • Fix Correlation op (#2274)
  • Fix a not proper assertion in RandomChoiceResize (#2450)

Documentations

  • Make installation commands compatible with windows CMD (#2353)
  • Add macOS building notice (#2364)
  • Refine contributing.md (#1941)
  • Add code style guide (#2406)

Others

  • Add torch1.13 checking in CI (#2441)

Contributors

A total of 13 developers contributed to this release.
@LYMDLUT @LYM-fire @zhouzaida @VVsssssk @xin-li-67 @grimoire @ZCMax @ZhangLearning @cathyzhang222 @HAOCHENYE @defei-coder @ZShaopeng @xiexinch

New Contributors

Full Changelog: v2.0.0rc2...v2.0.0rc3

MMCV Releases v1.7.0

03 Nov 08:43
270c293
Compare
Choose a tag to compare

Highlights

Starting from v1.7.0, we are providing pre-built packages for PyTorch v1.13.0, as well as for the macOS platform. Note that, for the mac M1 chip, only the pre-built packages on PyTorch v1.13.0 are available.

pip install -U openmim
mim install mmcv-full

Features

  • Support training on Ascend device (#2262, #2370)
  • Add box_iou_quadri & nms_quadri (#2277)
  • Add stack ball query and stack group points ops (#2292)
  • Support PrRoI op for Parrots (#2280)
  • Support Iou3d with cambricon MLU backend (#2339)
  • Add getJobLimitCapability interface and use it in nms (#2337)

Improvements

  • Support SiLU with torch < 1.7.0 (#2278)
  • Update onnx registry (#2294)
  • Adapt mlu code to cntoolkit3.0.1 (#2248)
  • Refactor the nms3d op to support MLU (#2296)
  • Add ability to pass logger instance to frameworks (#2317)
  • Add a new argument define_metric in wandb hook (#2237)

Bug fixes

  • Fix warning of CUDA ops (#2324)
  • Fix the bug of uninitialized prarmeter (#2345)
  • Fix three nn op can not accept half tensor (#2348)
  • Fix Correlation op (#2274)
  • Fix the potential NaN bug in calc_square_dist() (#2356)
  • Fix MPS ops for torch1.12+ (#2302)

Documentations

  • Refine README and installation documentations (#1977)
  • Update README and fix typo in docs (#2358)
  • Add steps to install mmcv-full on Ascend machine (#2363)
  • Add maintenance plan and print deprecated message (#2357)

Others

  • Upgrade pre commit hooks (#2321)
  • Build macOS wheel in Github Action (#2311, #2366)

Contributors

A total of 14 developers contributed to this release.
@okotaku @zhouzaida @grimoire @wangjiangben-hw @ckirchhoff2021 @tpoisonooo @defei-coder @budefei @CokeDong @shcheklein @cathyzhang222 @ZCMax @zytx121 @momo609

New Contributors

Full Changelog: v1.6.2...v1.7.0

MMCV Release V2.0.0rc2

26 Oct 06:29
2b97c52
Compare
Choose a tag to compare
Pre-release

πŸ˜€ We are glad to announce that we are providing the mmcv pre-built packages for macOS (x86_64 architecture).

pip install -U openmim
mim install 'mmcv>=2.0.0rc2'

Features

  • Add TTA transform (#2146)
  • Add two CUDA ops, box_iou_quadri and nms_quadri (#2277)
  • Add two MLU ops, RoIPointPool3d and Deformable RoIPool (#2247, #2137)
  • Register a new activation layer SiLU to ACTIVATION_LAYERS (#2256, #2278)

Bug fixes

  • Fix the calculation error of out_w in MaskedConv2dFunction (#2264)
  • Fix MPS ops for torch1.12+ (#2302)
  • Add swap_labe_pairs in RandomFlip (#2332)

Documentations

  • Fix some mistakes in data_process.md (#2283)
  • Refactor the API structures of documentation (#2254)
  • Add a reminder in docs for macOS M1 users (#2268)
  • Translate data_transform.md to English (#2325)
  • Refine README and installation documentation (#2340)
  • Make installation commands compatible with Windows cmd (#2353)

Others

  • Update configs of CircleCI and GitHub Action (#2255)
  • Build macOS wheels in Github Action (#2350)
  • Upgrade the versions of pre-commit hooks (#2328)
  • Remove onnx-related files (#2295)

New Contributors

Contributors

@yxzhao2022 @LYMDLUT @grimoire @xin-li-67 @zytx121 @MeowZheng @HAOCHENYE @zhouzaida @ZShaopeng @defei-coder @okotaku

Full Changelog: v2.0.0rc1...v2.0.0rc2