Skip to content

Commit

Permalink
Bump version to 0.7.1 (open-mmlab#1007)
Browse files Browse the repository at this point in the history
* bump version to 0.7.1

bump version to 0.7.1

* update change log and readme

* Update docs/en/notes/changelog.md

* refine highlight

refine highlight

---------

Co-authored-by: Zaida Zhou <[email protected]>
  • Loading branch information
HAOCHENYE and zhouzaida authored Apr 3, 2023
1 parent 83c4f3e commit 4d7a293
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ Major features:

## What's New

v0.7.0 was released on 2023-03-16.
v0.7.1 was released on 2023-04-03.

Highlights:

- Support PyTorch 2.0! Accelerate training by compiling models. See the tutorial [Model Compilation](https://mmengine.readthedocs.io/en/latest/common_usage/speed_up_training.html#model-compilation) for details
- Add `EarlyStoppingHook` to stop training when the metric does not improve
- Support compiling the model and enabling mixed-precision training at the same time.
- Fix the bug where the logs cannot be properly saved to the log file after calling `torch.compile`

Read [Changelog](./docs/en/notes/changelog.md#v070-03162023) for more details.
Read [Changelog](./docs/en/notes/changelog.md#v071-04032023) for more details.

## Installation

Expand Down
8 changes: 4 additions & 4 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ MMEngine 是一个基于 PyTorch 实现的,用于训练深度学习模型的

## 最近进展

最新版本 v0.7.0 在 2023.03.16 发布。
最新版本 v0.7.1 在 2023.04.03 发布。

亮点:

- 支持 PyTorch 2.0!通过编译模型实现训练加速,参考[编译模型文档](https://mmengine.readthedocs.io/en/latest/common_usage/speed_up_training.html#model-compilation)抢先体验
- 新增 `EarlyStoppingHook`,当监控的指标不再提升时,自动停止训练
- 支持在编译模型的同时开启混合精度训练
- 修复调用 `torch.compile` 后,日志无法被正确保存到日志文件的问题

如果想了解更多版本更新细节和历史信息,请阅读[更新日志](./docs/en/notes/changelog.md#v070-03162023)
如果想了解更多版本更新细节和历史信息,请阅读[更新日志](./docs/en/notes/changelog.md#v071-04032023)

## 安装

Expand Down
29 changes: 29 additions & 0 deletions docs/en/notes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog of v0.x

## v0.7.1 (04/03/2023)

### Highlights

- Support compiling the model and enabling mixed-precision training at the same time
- Fix the bug where the logs cannot be properly saved to the log file after calling `torch.compile`

### New Features & Enhancements

- Add `mmpretrain` to the `MODULE2PACKAGE`. by [@mzr1996](https://github.com/mzr1996) in https://github.com/open-mmlab/mmengine/pull/1002
- Support using `get_device` in the compiled model by [@C1rN09](https://github.com/C1rN09) in https://github.com/open-mmlab/mmengine/pull/1004
- Make sure the FileHandler still alive after `torch.compile` by [@HAOCHENYE](https://github.com/HAOCHENYE) in https://github.com/open-mmlab/mmengine/pull/1021
- Unify the use of `print_log` and `logger.info(warning)` by [@LEFTeyex](https://github.com/LEFTeyex) in https://github.com/open-mmlab/mmengine/pull/997
- Publish models after training if published_keys is set in CheckpointHook by [@KerwinKai](https://github.com/KerwinKai) in https://github.com/open-mmlab/mmengine/pull/987
- Enhance the error catching in registry by [@HAOCHENYE](https://github.com/HAOCHENYE) in https://github.com/open-mmlab/mmengine/pull/1010
- Do not print config if it is empty by [@zhouzaida](https://github.com/zhouzaida) in https://github.com/open-mmlab/mmengine/pull/1028

### Bug fixes

- Fix there is no space between `data_time` and metric in logs by [@HAOCHENYE](https://github.com/HAOCHENYE) in https://github.com/open-mmlab/mmengine/pull/1025

### Docs

- Minor fixes in EN docs to remove or replace unicode chars with ascii by [@evdcush](https://github.com/evdcush) in https://github.com/open-mmlab/mmengine/pull/1018

### Contributors

A total of 7 developers contributed to this release. Thanks [@LEFTeyex](https://github.com/LEFTeyex), [@KerwinKai](https://github.com/KerwinKai), [@mzr1996](https://github.com/mzr1996), [@evdcush](https://github.com/evdcush), [@C1rN09](https://github.com/C1rN09), [@HAOCHENYE](https://github.com/HAOCHENYE), [@zhouzaida](https://github.com/zhouzaida)

## v0.7.0 (03/16/2023)

### Highlights
Expand Down
2 changes: 1 addition & 1 deletion mmengine/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) OpenMMLab. All rights reserved.

__version__ = '0.7.0'
__version__ = '0.7.1'


def parse_version_info(version_str):
Expand Down

0 comments on commit 4d7a293

Please sign in to comment.