diff --git a/scripts/test_torch_version_torchao_version_compatibility.sh b/scripts/test_torch_version_torchao_version_compatibility.sh index 2aaf5ce389..decf4c2ae7 100755 --- a/scripts/test_torch_version_torchao_version_compatibility.sh +++ b/scripts/test_torch_version_torchao_version_compatibility.sh @@ -1,3 +1,9 @@ +# Copyright (c) Meta Platforms, Inc. and affiliates. +# All rights reserved. +# +# This source code is licensed under the BSD 3-Clause license found in the +# LICENSE file in the root directory of this source tree. + # Testing compatibility # We know that torchao .so files built using PyTorch 2.8.0 are not ABI compatible with PyTorch 2.9+. (see #2919) # If the version of torch is not compatible with the version of torchao, diff --git a/torchao/__init__.py b/torchao/__init__.py index 9719503229..06da5fa23c 100644 --- a/torchao/__init__.py +++ b/torchao/__init__.py @@ -65,14 +65,19 @@ def _parse_version(version_string): v2_8_0 = _parse_version("2.8.0") v0_13_0 = _parse_version("0.13.0") v2_9_0_dev = _parse_version("2.9.0.dev") - v0_14_0_dev = _parse_version("0.14.0.dev") + v0_14_0 = _parse_version("0.14.0") + v2_10_0_dev = _parse_version("2.10.0.dev") + v0_15_0_dev = _parse_version("0.15.0.dev") if torch_version == v2_8_0 and torchao_version == v0_13_0: # current torchao version and torch version, check here for clarity skip_loading_so_files = False - elif torch_version == v2_9_0_dev and torchao_version == v0_14_0_dev: + elif torch_version == v2_9_0_dev and torchao_version == v0_14_0: # .dev for nightlies since 2.9.0 and 0.14.0 has not been released skip_loading_so_files = False + elif torch_version == v2_10_0_dev and torchao_version == v0_15_0_dev: + # .dev for nightlies since 2.10.0 and 0.15.0 has not been released + skip_loading_so_files = False else: skip_loading_so_files = True diff --git a/version.txt b/version.txt index a803cc227f..a551051694 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.14.0 +0.15.0