diff --git a/CHANGELOG.md b/CHANGELOG.md index b723f2875..e186c1beb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.4.3] - TBD +## [0.4.4] - TBD +### Added + +### Changed + +## [0.4.3] - 2021-11-18 ### Added - Sharded Grad Scaler works with cpu offload in mixed and full precision. [#831] diff --git a/README.md b/README.md index d822efdbf..87d846a7d 100644 --- a/README.md +++ b/README.md @@ -22,11 +22,12 @@ FairScale was designed with the following values in mind: ## What's New: +* November 2021 [fairscale 0.4.3 was released](https://github.com/facebookresearch/fairscale/releases/tag/v0.4.3). +* We have an experimental layer that fuses multiple layers together to support large vocab size trainings. * November 2021 [fairscale 0.4.2 was released](https://github.com/facebookresearch/fairscale/releases/tag/v0.4.2). * We have a new experimental API called the LayerwiseMemoryTracker to help track, visualize and suggest fixes for memory issues occurring during the forward/backward pass of your models. * Introducing SlowMoDistributedDataParallel API, a distributed training wrapper that is useful on clusters with slow network interconnects (e.g. Ethernet). * September 2021 [`master` branch renamed to `main`](https://github.com/github/renaming). -* September 2021 [fairscale 0.4.1 was released](https://github.com/facebookresearch/fairscale/releases/tag/v0.4.1). ## Installation diff --git a/docs/source/conf.py b/docs/source/conf.py index afe87e4bd..d27160d10 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -25,11 +25,11 @@ # -- Project information ----------------------------------------------------- project = "FairScale" -copyright = "2020-2021, Facebook AI Research" -author = "Facebook AI Research" +copyright = "2020-2021, Facebook/Meta AI Research" +author = "Facebook/Meta AI Research" # The full version, including alpha/beta/rc tags -release = "0.4.2" +release = "0.4.3" # -- General configuration --------------------------------------------------- diff --git a/fairscale/__init__.py b/fairscale/__init__.py index 73a71480c..1cdc869c9 100644 --- a/fairscale/__init__.py +++ b/fairscale/__init__.py @@ -4,7 +4,8 @@ # LICENSE file in the root directory of this source tree. # Please update the doc version in docs/source/conf.py as well. -__version__ = "0.4.2" +__version_tuple__ = (0, 4, 3) +__version__ = ".".join([str(x) for x in __version_tuple__]) ################################################################################ # Import most common subpackages diff --git a/setup.py b/setup.py index 2a890e09f..b427b3198 100644 --- a/setup.py +++ b/setup.py @@ -22,10 +22,12 @@ def fetch_requirements(): # https://packaging.python.org/guides/single-sourcing-package-version/ def find_version(version_file_path): with open(version_file_path) as version_file: - version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file.read(), re.M) + version_match = re.search(r"^__version_tuple__ = (.*)", version_file.read(), re.M) if version_match: - return version_match.group(1) - raise RuntimeError("Unable to find version string.") + ver_tup = eval(version_match.group(1)) + ver_str = ".".join([str(x) for x in ver_tup]) + return ver_str + raise RuntimeError("Unable to find version tuple.") extensions = []