diff --git a/release/promote.sh b/release/promote.sh index 0550218c7..74d8df3a7 100644 --- a/release/promote.sh +++ b/release/promote.sh @@ -6,10 +6,11 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" source "${DIR}/release_versions.sh" # Make sure to update these versions when doing a release first -PYTORCH_VERSION=${PYTORCH_VERSION:-1.13.1} -TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.14.1} -TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-0.13.1} -TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.14.1} +PYTORCH_VERSION=${PYTORCH_VERSION:-2.0.0} +TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.15.0} +TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.0.0} +TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.15.0} +TORCHDATA_VERSION=${TORCHDATA_VERSION:-0.6.0} DRY_RUN=${DRY_RUN:-enabled} @@ -70,16 +71,42 @@ promote_pypi() { echo } +# Promote dependencies +promote_s3 "certifi" whl "2022.12.7" +promote_s3 "charset_normalizer" whl "2.1.1" +promote_s3 "cmake" whl "3.25" +promote_s3 "colorama" whl "0.4.6" +promote_s3 "triton" whl "2.0.0" +promote_s3 "pytorch_triton_rocm" whl "2.0.0" +promote_s3 "tqdm" whl "4.64.1" +promote_s3 "Pillow" whl "9.3.0" +# for python 3.8-3.11 +promote_s3 "numpy" whl "1.24.1" +# for python 3.7 older pytorch versions +promote_s3 "numpy" whl "1.21.6" +promote_s3 "urllib3" whl "1.26.13" +promote_s3 "lit" whl "15.0.7" +promote_s3 "sympy" whl "1.11.1" +promote_s3 "typing_extensions" whl "4.4.0" +promote_s3 "filelock" whl "3.9.0" +promote_s3 "mpmath" whl "1.2.1" +promote_s3 "idna" whl "3.4" +promote_s3 "networkx" whl "3.0.0" +promote_s3 "packaging" whl "22.0" +promote_s3 "requests" whl "2.28.1" + # promote_s3 torch whl "${PYTORCH_VERSION}" # promote_s3 torchvision whl "${TORCHVISION_VERSION}" # promote_s3 torchaudio whl "${TORCHAUDIO_VERSION}" # promote_s3 torchtext whl "${TORCHTEXT_VERSION}" +# promote_s3 torchdata whl "${TORCHDATA_VERSION}" # promote_s3 "libtorch-*" libtorch "${PYTORCH_VERSION}" # promote_conda pytorch conda "${PYTORCH_VERSION}" # promote_conda torchvision conda "${TORCHVISION_VERSION}" # promote_conda torchaudio conda "${TORCHAUDIO_VERSION}" # promote_conda torchtext conda "${TORCHTEXT_VERSION}" +# promote_conda torchdata conda "${TORCHDATA_VERSION}" # Uncomment these to promote to pypi LINUX_VERSION_SUFFIX="%2Bcu102" diff --git a/release/release_versions.sh b/release/release_versions.sh index 61660d0bf..f0db2a089 100644 --- a/release/release_versions.sh +++ b/release/release_versions.sh @@ -1,7 +1,8 @@ #!/usr/bin/env bash # Make sure to update these versions when doing a release first -PYTORCH_VERSION=${PYTORCH_VERSION:-1.13.1} -TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.14.1} -TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-0.13.1} -TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.14.1} +PYTORCH_VERSION=${PYTORCH_VERSION:-2.0.0} +TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.15.0} +TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.0.0} +TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.15.0} +TORCHDATA_VERSION=${TORCHDATA_VERSION:-0.6.0}