Skip to content

Releases: open-mmlab/mmengine

MMEngine Release V0.5.0

20 Jan 06:02
8d4885c
Compare
Choose a tag to compare

v0.5.0 (01/20/2023)

Highlights

  • Add BaseInferencer to provide a general inference interface
  • Provide ReduceOnPlateauParamScheduler to adjust learning rate by metric
  • Deprecate support for Python3.6

New Features & Enhancements

  • Deprecate support for Python3.6 by @HAOCHENYE in #863
  • Support non-scalar type metric value by @mzr1996 in #827
  • Remove unnecessary calls and lazily import to speed import performance by @zhouzaida in #837
  • Support ReduceOnPlateauParamScheduler by @LEFTeyex in #819
  • Disable warning of subprocess launched by dataloader by @HAOCHENYE in #870
  • Add BaseInferencer to provide general interface by @HAOCHENYE in #874

Bug Fixes

  • Fix support for Ascend device by @wangjiangben-hw in #847
  • Fix Config cannot parse base config when there is . in tmp path, etc. tmp/a.b/c by @HAOCHENYE in #856
  • Fix unloaded weights will not be initialized when using PretrainedIinit by @HAOCHENYE in #764
  • Fix error package name defined in PKG2PROJECT by @HAOCHENYE in #872

Docs

Contributors

A total of 8 developers contributed to this release. Thanks @LEFTeyex, @RangeKing, @yaqi0510, @Xiangxu-0103, @wangjiangben-hw, @mzr1996, @zhouzaida, @HAOCHENYE.

New Contributors

Full Changelog: v0.4.0...v0.5.0

MMEngine Release V0.4.0

28 Dec 09:34
6af8878
Compare
Choose a tag to compare

Highlights

  • Registry supports importing modules automatically
  • Upgrade the documentation and provide the English documentation
  • Provide ProfileHook to profile the running process

New Features & Enhancements

  • Add conf_path in PetrelBackend by @sunyc11 in #774
  • Support multiple --cfg-options. by @mzr1996 in #759
  • Support passing arguments to OptimWrapper.update_params by @twmht in #796
  • Make get_torchvision_model compatible with torch 1.13 by @HAOCHENYE in #793
  • Support flat_decay_mult and fix bias_decay_mult of depth-wise-conv in DefaultOptimWrapperConstructor by @RangiLyu in #771
  • Registry supports importing modules automatically. by @RangiLyu in #643
  • Add profiler hook functionality by @BayMaxBHL in #768
  • Make TTAModel compatible with FSDP. by @HAOCHENYE in #611

Bug Fixes

  • hub.get_model fails on some MMCls models by @C1rN09 in #784
  • Fix BaseModel.to and BaseDataPreprocessor.to to make them consistent with torch.nn.Module by @C1rN09 in #783
  • Fix creating a new logger at PretrainedInit by @xiexinch in #791
  • Fix ZeroRedundancyOptimizer ambiguous error with param groups when PyTorch < 1.12.0 by @C1rN09 in #818
  • Fix MessageHub set resumed key repeatedly by @HAOCHENYE in #839
  • Add progress argument to load_from_http by @austinmw in #770
  • Ensure metrics is not empty when saving best checkpoint by @zhouzaida in #849

Docs

Contributors

A total of 16 developers contributed to this release. Thanks @BayMaxBHL, @RangeKing, @Xiangxu-0103, @xin-li-67, @twmht, @shanmo, @sunyc11, @lyviva, @austinmw, @xiexinch, @mzr1996, @RangiLyu, @MambaWong, @C1rN09, @zhouzaida, @HAOCHENYE

New Contributors

Full Changelog: v0.3.2...v0.4.0

MMEngine Release V0.3.2

24 Nov 15:43
17624d2
Compare
Choose a tag to compare

New Features & Enhancements

  • Send git errors to subprocess.PIPE by @austinmw in #717
  • Add a common TestRunnerTestCase to build a Runner instance. by @HAOCHENYE in #631
  • Align the log by @HAOCHENYE in #436
  • Log the called order of hooks during training process by @songyuc in #672
  • Support setting eta_min_ratio in CosineAnnealingParamScheduler by @cir7 in #725
  • Enhance compatibility of revert_sync_batchnorm by @HAOCHENYE in #695

Bug Fixes

  • Fix distributed_training.py in examples by @PingHGao in #700
  • Format the log of CheckpointLoader.load_checkpoint by @HAOCHENYE in #685
  • Fix bug of CosineAnnealingParamScheduler by @fangyixiao18 in #735
  • Fix add_graph is not called bug by @shenmishajing in #632
  • Fix .pre-commit-config-zh-cn.yaml pyupgrade-repo github->gitee by @BayMaxBHL in #756

Docs

Contributors

@austinmw @BayMaxBHL @shenmishajing @xin-li-67 @songyuc @PingHGao @MengzhangLI @cir7 @GT9505 @fangyixiao18 @zhouzaida @HAOCHENYE

MMEngine Release V0.3.1

09 Nov 09:39
b35196a
Compare
Choose a tag to compare

Highlights

Fix error when saving best checkpoint in ddp-training

New Features & Enhancements

  • Replace print with print_log for those functions called by runner by @HAOCHENYE in #686

Docs

Bug Fixes

  • Fix error when saving best checkpoint in ddp-training by @HAOCHENYE in #682

Contributors

@Xiangxu-0103 @sanbuphy @HAOCHENYE

Full Changelog: v0.3.0...v0.3.1

MMEngine Release V0.3.0

02 Nov 12:04
4e68593
Compare
Choose a tag to compare

Highlights

  • Support running on Ascend chip.
  • Support torch ZeroRedundancyOptimizer.
  • Fix error calculation of eta_min in CosineRestartParamScheduler.

New Features & Enhancements

Docs

Bug Fixes

Contributors

A total of 26 developers contributed to this release.
Thanks @okotaku @xin-li-67 @nijkah @shenmishajing @triple-Mu @cxiang26 @Xiangxu-0103 @sanbuphy @austinmw @yhna940 @Zhengfei-0311 @liuyanyi @vansin @MambaWong @wangjiangben-hw @zengyh1900 @Tau-J @BIGWangYuDong @jbwang1997 @C1rN09 @RangiLyu @HAOCHENYE @zhouzaida @Dai-Wenxun @Z-Fran @MengzhangLI

New Contributors

Full Changelog: v0.2.0...v0.3.0

MMEngine Release V0.2.0

11 Oct 15:15
13484aa
Compare
Choose a tag to compare

Highlights

  • Refactor FileIO to provide a more unified interface without BC breaking.
  • Add SMDDP backend and support running on AWS.
  • Add the base model for test time augmentation.
  • Support converting BN to SyncBN during distributed data-parallel training.

New Features & Enhancements

Bug Fixes

  • Fix LogProcessor does not smooth loss if the name of loss doesn't start with loss by @liuyanyi in
    #539
  • Fix failed to enable detect_anomalous_params in MMSeparateDistributedDataParallel by @HAOCHENYE in #588
  • Fix CheckpointHook behavior unexpected if given filename_tmpl argument by @C1rN09 in #518
  • Fix error argument sequence in FSDP by @HAOCHENYE in #520
  • Fix uploading image in wandb backend @okotaku in #510
  • Fix loading state dictionary in EMAHook by @okotaku in #507
  • Fix circle import in EMAHook by @HAOCHENYE in #523
  • Fix unit test could fail caused by MultiProcessTestCase by @HAOCHENYE in #535
  • Remove unnecessary "if statement" in Registry by @MambaWong in #536
  • Fix _save_to_state_dict by @HAOCHENYE in #542
  • Support comparing NumPy array dataset meta in Runner.resume by @HAOCHENYE in #511
  • Use get instead of pop to dump runner_type in build_runner_from_cfg by @nijkah in #549
  • Upgrade pre-commit hooks by @zhouzaida in #576
  • Delete the error comment in registry.md by @vansin in #514
  • Fix Some out-of-date unit tests by @C1rN09 in #586
  • Fix typo in MMFullyShardedDataParallel by @yhna940 in #569
  • Update Github Action CI and CircleCI by @zhouzaida in #512
  • Fix unit test in windows by @HAOCHENYE in #515
  • Fix merge ci & multiprocessing unit test by @HAOCHENYE in #529

Docs

Contributors

A total of 15 developers contributed to this release.
Thanks @nijkah @austinmw @okotaku @cxiang26 @yhna940 @liuyanyi @MambaWong @Zhengfei-0311 @Dai-Wenxun @vansin @C1rN09 @MengzhangLI @zhouzaida @HAOCHENYE @RangiLyu

New Contributors

Full Changelog: v0.1.0...v0.2.0

MMEngine Release V0.1.0

01 Sep 03:43
ba1c368
Compare
Choose a tag to compare

The release note is coming soon.