diff --git a/bagua/version.py b/bagua/version.py index eb1b23244..3e2f46a3a 100644 --- a/bagua/version.py +++ b/bagua/version.py @@ -1 +1 @@ -__version__ = "dev" +__version__ = "0.9.0" diff --git a/pyproject.toml b/pyproject.toml index 8f2089b32..abe9fdb2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,3 @@ [build-system] requires = ["setuptools >= 43.0.0", "wheel", "setuptools-rust", "colorama", "tqdm", "setuptools_scm[toml]>=6.0"] build-backend = 'setuptools.build_meta' - -[tool.setuptools_scm] -local_scheme = "no-local-version" -write_to = "bagua/version.py" -write_to_template = "__version__ = \"{version}\"" diff --git a/setup.py b/setup.py index 37be18250..a2830ea83 100644 --- a/setup.py +++ b/setup.py @@ -81,8 +81,7 @@ def check_args(args: List[str]) -> bool: setup( name="bagua" + name_suffix, - use_scm_version={"local_scheme": "no-local-version"}, - setup_requires=["setuptools_scm"], + version="0.9.0", url="https://github.com/BaguaSys/bagua", python_requires=">=3.7", description="Bagua is a deep learning training acceleration framework for PyTorch. It provides a one-stop training acceleration solution, including faster distributed training compared to PyTorch DDP, faster dataloader, kernel fusion, and more.",