Unverified Commit 68d10f73 authored by Min Xu's avatar Min Xu Committed by GitHub
Browse files

[chore] 0.4.3 release (#860)



* [chore] 0.4.3 release

* update setup.py
Co-authored-by: default avatarMin Xu <min.xu.public@gmail.com>
parent 0db50ce5
......@@ -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]
......
......@@ -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
......
......@@ -25,11 +25,11 @@ sys.path.insert(0, os.path.abspath("../.."))
# -- 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 ---------------------------------------------------
......
......@@ -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
......
......@@ -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 = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment