diff --git a/README.md b/README.md index d08ecd59..5d2095a4 100644 --- a/README.md +++ b/README.md @@ -58,14 +58,13 @@ Major features: ## What's New -v0.2.0 was released in 2022-10-11. +v0.3.0 was released in 2022-11-02. -1. Refactor FileIO to provide a more unified interface without BC breaking. -2. Add the base model for test time augmentation. -3. Support converting `BN` to `SyncBN` during distributed data-parallel training. -4. Add SMDDP backend and support running on AWS. +1. Support NPU backend. +2. Support torch `ZeroRedundancyOptimizer`. +3. Fix error calculation of `eta_min` in `CosineRestartParamScheduler`. -Read [Changelog](./docs/en/notes/changelog.md#v0.2.0 "11/10/2022") for more details. +Read [Changelog](./docs/en/notes/changelog.md#v0.3.0 "02/11/2022") for more details. ## Installation diff --git a/README_zh-CN.md b/README_zh-CN.md index 4b17a487..a05db4b2 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -60,14 +60,13 @@ MMEngine 是一个基于 PyTorch 用于深度学习模型训练的基础库, ## 最近进展 -最新版本 v0.2.0 在 2022.10.11 发布。 +最新版本 v0.3.0 在 2022.11.02 发布。 -1. 重构 FileIO 以提供更加易用的接口并保持向下兼容。 -2. 新增 Test time augmentation 模型基类。 -3. 分布式训练时,支持将 BN 自动转化为 SyncBN。 -4. 新增了 SMDDP 后端并支持在 AWS 进行分布式训练。 +1. 支持华为昇腾芯片。 +2. 支持使用 `ZeroRedundancyOptimizer`。 +3. 修复了 `CosineRestartParamScheduler` 中 `eta_min` 计算错误的问题。 -如果想了解更多版本更新细节和历史信息,请阅读[更新日志](./docs/en/notes/changelog.md#v0.2.0 "11/10/2022") +如果想了解更多版本更新细节和历史信息,请阅读[更新日志](./docs/en/notes/changelog.md#v0.3.0 "02/11/2022") ## 安装 diff --git a/docs/en/notes/changelog.md b/docs/en/notes/changelog.md index 20e476a3..885b79ca 100644 --- a/docs/en/notes/changelog.md +++ b/docs/en/notes/changelog.md @@ -1,5 +1,61 @@ # Changelog of v0.x +## v0.3.0 (11/02/2022) + +### New Features & Enhancements + +- Support running on Ascend chip by @wangjiangben-hw in https://github.com/open-mmlab/mmengine/pull/572 +- Support torch `ZeroRedundancyOptimizer` by @nijkah in https://github.com/open-mmlab/mmengine/pull/551 +- Add non-blocking feature to `BaseDataPreprocessor` by @shenmishajing in https://github.com/open-mmlab/mmengine/pull/618 +- Add documents for `clip_grad`, and support clip grad by value. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/513 +- Add ROCm info when collecting env by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/633 +- Add a function to mark the deprecated function. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/609 +- Call `register_all_modules` in `Registry.get()` by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/541 +- Deprecate `_save_to_state_dict` implemented in mmengine by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/610 +- Add `ignore_keys` in ConcatDataset by @BIGWangYuDong in https://github.com/open-mmlab/mmengine/pull/556 + +### Docs + +- Fix cannot show `changelog.md` in chinese documents. by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/606 +- Fix Chinese docs whitespaces by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/521 +- Translate installation and 15_min by @xin-li-67 in https://github.com/open-mmlab/mmengine/pull/629 +- Refine chinese doc by @Tau-J in https://github.com/open-mmlab/mmengine/pull/516 +- Add MMYOLO link in README by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/634 +- Add MMEngine logo in docs by @zhouzaida in https://github.com/open-mmlab/mmengine/pull/641 +- Fix docstring of `BaseDataset` by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/656 +- Fix docstring and documentation used for `hub.get_model` by @zengyh1900 in https://github.com/open-mmlab/mmengine/pull/659 +- Fix typo in `docs/zh_cn/advanced_tutorials/visualization.md` by @MambaWong in https://github.com/open-mmlab/mmengine/pull/616 +- Fix typo docstring of `DefaultOptimWrapperConstructor` by @triple-Mu in https://github.com/open-mmlab/mmengine/pull/644 +- Fix typo in advanced tutorial by @cxiang26 in https://github.com/open-mmlab/mmengine/pull/650 +- Fix typo in `Config` docstring by @sanbuphy in https://github.com/open-mmlab/mmengine/pull/654 +- Fix typo in `docs/zh_cn/tutorials/config.md` by @Xiangxu-0103 in https://github.com/open-mmlab/mmengine/pull/596 +- Fix typo in `docs/zh_cn/tutorials/model.md` by @C1rN09 in https://github.com/open-mmlab/mmengine/pull/598 + +### Bug Fixes + +- Fix error calculation of `eta_min` in `CosineRestartParamScheduler` by @Z-Fran in https://github.com/open-mmlab/mmengine/pull/639 +- Fix `BaseDataPreprocessor.cast_data` could not handle string data by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/602 +- Make `autocast` compatible with mps by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/587 +- Fix error format of log message by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/508 +- Fix error implementation of `is_model_wrapper` by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/640 +- Fix `VisBackend.add_config` is not called by @shenmishajing in https://github.com/open-mmlab/mmengine/pull/613 +- Change `strict_load` of EMAHook to False by default by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/642 +- Fix `open` encoding problem of Config in Windows by @sanbuphy in https://github.com/open-mmlab/mmengine/pull/648 +- Fix the total number of iterations in log is a float number. by @jbwang1997 in https://github.com/open-mmlab/mmengine/pull/604 +- Fix `pip upgrade` CI by @HAOCHENYE in https://github.com/open-mmlab/mmengine/pull/622 + +### New Contributors + +- @shenmishajing made their first contribution in https://github.com/open-mmlab/mmengine/pull/618 +- @Xiangxu-0103 made their first contribution in https://github.com/open-mmlab/mmengine/pull/596 +- @Tau-J made their first contribution in https://github.com/open-mmlab/mmengine/pull/516 +- @wangjiangben-hw made their first contribution in https://github.com/open-mmlab/mmengine/pull/572 +- @triple-Mu made their first contribution in https://github.com/open-mmlab/mmengine/pull/644 +- @sanbuphy made their first contribution in https://github.com/open-mmlab/mmengine/pull/648 +- @Z-Fran made their first contribution in https://github.com/open-mmlab/mmengine/pull/639 +- @BIGWangYuDong made their first contribution in https://github.com/open-mmlab/mmengine/pull/556 +- @zengyh1900 made their first contribution in https://github.com/open-mmlab/mmengine/pull/659 + ## v0.2.0 (11/10/2022) ### New Features & Enhancements diff --git a/mmengine/version.py b/mmengine/version.py index f80813ba..a7419a18 100644 --- a/mmengine/version.py +++ b/mmengine/version.py @@ -1,6 +1,6 @@ # Copyright (c) OpenMMLab. All rights reserved. -__version__ = '0.2.0' +__version__ = '0.3.0' def parse_version_info(version_str):