Unverified Commit 84cec202 authored by Min Xu's avatar Min Xu Committed by GitHub
Browse files

[chore] 0.3.1 release (#504)



* [chore] 0.3.1 release

- mainly because vissl needs the new version
- added a doc on release steps

* Update CHANGELOG.md
Co-authored-by: default avataranj-s <32556631+anj-s@users.noreply.github.com>

* review comments
Co-authored-by: default avataranj-s <32556631+anj-s@users.noreply.github.com>
parent 0cbf3bab
# Editor
*~ *~
*.swp *.swp
# Testing
*.pyc *.pyc
*.pyo *.pyo
.mypy_cache/ .mypy_cache/
*.egg-info/ *.egg-info/
# Build and release
build/ build/
dist/ dist/
.eggs/
# Pytest verbose output # Pytest verbose output
test-results/ test-results/
......
...@@ -6,8 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -6,8 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## NEXT - TBD ## NEXT - TBD
### Added
### Fixed
## [0.3.1] - 2021-03-09
### Added
- FSDP docs ([#455](https://github.com/facebookresearch/fairscale/issues/455))
- enable\_wrap and auto\_wrap APIs ([#446](https://github.com/facebookresearch/fairscale/issues/446))
- Added experimental.nn.OffloadModel API for training large models on a single GPU.([#432](https://github.com/facebookresearch/fairscale/issues/432))
### Fixed ### Fixed
- ShardedDDP auto catch trailing buckets (TBD) - OSS: fix a broken state dict when using non contiguous param groups
- Several SDP fixes around performance and corner cases
- Many FSDP fixes
- AdaScale & SDP/FSDP test added but not officially supported
## [0.3.0] - 2021-02-22 ## [0.3.0] - 2021-02-22
### Added ### Added
...@@ -17,7 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -17,7 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Catch corner case when the model is too small with respect to the world size, and shards are empty ([#406](https://github.com/facebookresearch/fairscale/pull/406)) - Catch corner case when the model is too small with respect to the world size, and shards are empty ([#406](https://github.com/facebookresearch/fairscale/pull/406))
- Memory leak in checkpoint_wrapper ([#412](https://github.com/facebookresearch/fairscale/pull/412)) - Memory leak in checkpoint\_wrapper ([#412](https://github.com/facebookresearch/fairscale/pull/412))
## [0.1.7] - 2021-02-19 ## [0.1.7] - 2021-02-19
### Fixed ### Fixed
......
## Steps to do a release
- Update the CHANGELOG.md
- Update `fairscale/__init__.py` and `docs/source/conf.py` for the new version number
- git commit the change with title like "[chore] 0.3.1 release"
- make a tag, like `git tag v0.3.1`
- git push --tags origin [your/branch]
- `python3 setup.py sdist` to build a new package (will be in dist/)
- `python3 -m twine upload --repository pypi dist/*` to upload to pypi
...@@ -29,7 +29,7 @@ copyright = "2020-2021, Facebook AI Research" ...@@ -29,7 +29,7 @@ copyright = "2020-2021, Facebook AI Research"
author = "Facebook AI Research" author = "Facebook AI Research"
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = "0.3.0" release = "0.3.1"
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# LICENSE file in the root directory of this source tree. # LICENSE file in the root directory of this source tree.
# Please update the doc version in docs/source/conf.py as well. # Please update the doc version in docs/source/conf.py as well.
__version__ = "0.3.0" __version__ = "0.3.1"
################################################################################ ################################################################################
# Import most common subpackages # Import most common subpackages
......
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