From b9da8a176c23ef40b9d1b537365fbd58fbcfdfd5 Mon Sep 17 00:00:00 2001
From: Jerry Jiarui XU <xvjiarui0826@gmail.com>
Date: Sun, 4 Jul 2021 01:09:17 -0700
Subject: [PATCH] Bump to v0.15.0 (#669)

* Bump to v0.15.0

* fixed version
---
 README.md                 |  2 +-
 README_zh-CN.md           |  2 +-
 docs/changelog.md         | 32 ++++++++++++++++++++++++++++++++
 docs/get_started.md       |  1 +
 docs_zh-CN/get_started.md |  1 +
 mmseg/datasets/builder.py |  2 +-
 mmseg/version.py          |  2 +-
 7 files changed, 38 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index e13c6a7803..20e8f93831 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@ This project is released under the [Apache 2.0 license](LICENSE).
 
 ## Changelog
 
-v0.14.1 was released in 06/16/2021.
+v0.15.0 was released in 07/04/2021.
 Please refer to [changelog.md](docs/changelog.md) for details and release history.
 
 ## Benchmark and model zoo
diff --git a/README_zh-CN.md b/README_zh-CN.md
index a4b0b207d2..325f4deedb 100644
--- a/README_zh-CN.md
+++ b/README_zh-CN.md
@@ -47,7 +47,7 @@ MMSegmentation 是一个基于 PyTorch 的语义分割开源工具箱。它是 O
 
 ## 更新日志
 
-最新的月度版本 v0.11.0 在 2021.02.02 发布。
+最新的月度版本 v0.15.0 在 2021.07.04 发布。
 如果想了解更多版本更新细节和历史信息,请阅读[更新日志](docs/changelog.md)。
 
 ## 基准测试和模型库
diff --git a/docs/changelog.md b/docs/changelog.md
index 6533ebea5d..54edfa1238 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -1,5 +1,37 @@
 ## Changelog
 
+### V0.15 (07/04/2021)
+
+**Highlights**
+
+- Support ViT, SETR, and Swin-Transformer
+- Add Chinese documentation
+- Unified parameter initialization
+
+**Bug Fixes**
+
+- Fix typo and links ([#608](https://github.com/open-mmlab/mmsegmentation/pull/608))
+- Fix Dockerfile ([#607](https://github.com/open-mmlab/mmsegmentation/pull/607))
+- Fix ViT init ([#609](https://github.com/open-mmlab/mmsegmentation/pull/609))
+- Fix mmcv version compatible table ([#658](https://github.com/open-mmlab/mmsegmentation/pull/658))
+- Fix model links of DMNEt ([#660](https://github.com/open-mmlab/mmsegmentation/pull/660))
+
+**New Features**
+
+- Support loading DeiT weights ([#538](https://github.com/open-mmlab/mmsegmentation/pull/538))
+- Support SETR ([#531](https://github.com/open-mmlab/mmsegmentation/pull/531), [#635](https://github.com/open-mmlab/mmsegmentation/pull/635))
+- Add config and models for ViT backbone with UperHead ([#520](https://github.com/open-mmlab/mmsegmentation/pull/531), [#635](https://github.com/open-mmlab/mmsegmentation/pull/520))
+- Support Swin-Transformer ([#511](https://github.com/open-mmlab/mmsegmentation/pull/511))
+- Add higher accuracy FastSCNN ([#606](https://github.com/open-mmlab/mmsegmentation/pull/606))
+- Add Chinese documentation ([#666](https://github.com/open-mmlab/mmsegmentation/pull/666))
+
+**Improvements**
+
+- Unified parameter initialization ([#567](https://github.com/open-mmlab/mmsegmentation/pull/567))
+- Separate CUDA and CPU in  github action CI ([#602](https://github.com/open-mmlab/mmsegmentation/pull/602))
+- Support persistent dataloader worker ([#646](https://github.com/open-mmlab/mmsegmentation/pull/646))
+- Update meta file fields ([#661](https://github.com/open-mmlab/mmsegmentation/pull/661), [#664](https://github.com/open-mmlab/mmsegmentation/pull/664))
+
 ### V0.14 (06/02/2021)
 
 **Highlights**
diff --git a/docs/get_started.md b/docs/get_started.md
index 05f2ddc916..0822241ab2 100644
--- a/docs/get_started.md
+++ b/docs/get_started.md
@@ -12,6 +12,7 @@ The compatible MMSegmentation and MMCV versions are as below. Please install the
 | MMSegmentation version |    MMCV version     |
 |:-------------------:|:-------------------:|
 | master              | mmcv-full>=1.3.7, <1.4.0 |
+| 0.15.0              | mmcv-full>=1.3.7, <1.4.0 |
 | 0.14.1              | mmcv-full>=1.3.7, <1.4.0 |
 | 0.14.0              | mmcv-full>=1.3.1, <1.3.2 |
 | 0.13.0              | mmcv-full>=1.3.1, <1.3.2 |
diff --git a/docs_zh-CN/get_started.md b/docs_zh-CN/get_started.md
index 54d19453e6..e74cd7538a 100644
--- a/docs_zh-CN/get_started.md
+++ b/docs_zh-CN/get_started.md
@@ -12,6 +12,7 @@
 | MMSegmentation 版本 |    MMCV 版本     |
 |:-------------------:|:-------------------:|
 | master              | mmcv-full>=1.3.7, <1.4.0 |
+| 0.15.0              | mmcv-full>=1.3.7, <1.4.0 |
 | 0.14.1              | mmcv-full>=1.3.7, <1.4.0 |
 | 0.14.0              | mmcv-full>=1.3.1, <1.4.0 |
 | 0.13.0              | mmcv-full>=1.3.1, <1.4.0 |
diff --git a/mmseg/datasets/builder.py b/mmseg/datasets/builder.py
index 3ef328d0d6..e6284e5c96 100644
--- a/mmseg/datasets/builder.py
+++ b/mmseg/datasets/builder.py
@@ -132,7 +132,7 @@ def build_dataloader(dataset,
         worker_init_fn, num_workers=num_workers, rank=rank,
         seed=seed) if seed is not None else None
 
-    if torch.__version__ >= '1.7.0':
+    if torch.__version__ >= '1.8.0':
         data_loader = DataLoader(
             dataset,
             batch_size=batch_size,
diff --git a/mmseg/version.py b/mmseg/version.py
index 3860421a46..32ea1c548d 100644
--- a/mmseg/version.py
+++ b/mmseg/version.py
@@ -1,6 +1,6 @@
 # Copyright (c) Open-MMLab. All rights reserved.
 
-__version__ = '0.14.1'
+__version__ = '0.15.0'
 
 
 def parse_version_info(version_str):