From 95c4676c9335f22c41515085f2281e866bab68fa Mon Sep 17 00:00:00 2001 From: Sylvain Gugger Date: Tue, 10 Aug 2021 04:32:09 -0400 Subject: [PATCH] Release v0.4.0 --- docs/source/conf.py | 2 +- setup.py | 2 +- src/accelerate/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 34c03762547..28e68a0066c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -25,7 +25,7 @@ author = "huggingface" # The short X.Y version -version = "0.4.0.dev0" +version = "0.4.0" # -- General configuration --------------------------------------------------- diff --git a/setup.py b/setup.py index 7f386f72f8b..060e655f9a6 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ setup( name="accelerate", - version="0.4.0.dev0", + version="0.4.0", description="Accelerate", long_description=open("README.md", "r", encoding="utf-8").read(), long_description_content_type="text/markdown", diff --git a/src/accelerate/__init__.py b/src/accelerate/__init__.py index f6206df02ac..1aa72ef11cf 100644 --- a/src/accelerate/__init__.py +++ b/src/accelerate/__init__.py @@ -2,7 +2,7 @@ # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. -__version__ = "0.4.0.dev0" +__version__ = "0.4.0" from .accelerator import Accelerator from .kwargs_handlers import DistributedDataParallelKwargs, GradScalerKwargs