Skip to content

Commit 8f2fdc7

Browse files
authored
Release 2.0 release scripts changes (#1342)
* Release 2.0 release scripts changes * Release script modifications
1 parent 54da893 commit 8f2fdc7

File tree

2 files changed

+36
-8
lines changed

2 files changed

+36
-8
lines changed

release/promote.sh

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
66
source "${DIR}/release_versions.sh"
77

88
# Make sure to update these versions when doing a release first
9-
PYTORCH_VERSION=${PYTORCH_VERSION:-1.13.1}
10-
TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.14.1}
11-
TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-0.13.1}
12-
TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.14.1}
9+
PYTORCH_VERSION=${PYTORCH_VERSION:-2.0.0}
10+
TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.15.0}
11+
TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.0.0}
12+
TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.15.0}
13+
TORCHDATA_VERSION=${TORCHDATA_VERSION:-0.6.0}
1314

1415
DRY_RUN=${DRY_RUN:-enabled}
1516

@@ -70,16 +71,42 @@ promote_pypi() {
7071
echo
7172
}
7273

74+
# Promote dependencies
75+
promote_s3 "certifi" whl "2022.12.7"
76+
promote_s3 "charset_normalizer" whl "2.1.1"
77+
promote_s3 "cmake" whl "3.25"
78+
promote_s3 "colorama" whl "0.4.6"
79+
promote_s3 "triton" whl "2.0.0"
80+
promote_s3 "pytorch_triton_rocm" whl "2.0.0"
81+
promote_s3 "tqdm" whl "4.64.1"
82+
promote_s3 "Pillow" whl "9.3.0"
83+
# for python 3.8-3.11
84+
promote_s3 "numpy" whl "1.24.1"
85+
# for python 3.7 older pytorch versions
86+
promote_s3 "numpy" whl "1.21.6"
87+
promote_s3 "urllib3" whl "1.26.13"
88+
promote_s3 "lit" whl "15.0.7"
89+
promote_s3 "sympy" whl "1.11.1"
90+
promote_s3 "typing_extensions" whl "4.4.0"
91+
promote_s3 "filelock" whl "3.9.0"
92+
promote_s3 "mpmath" whl "1.2.1"
93+
promote_s3 "idna" whl "3.4"
94+
promote_s3 "networkx" whl "3.0.0"
95+
promote_s3 "packaging" whl "22.0"
96+
promote_s3 "requests" whl "2.28.1"
97+
7398
# promote_s3 torch whl "${PYTORCH_VERSION}"
7499
# promote_s3 torchvision whl "${TORCHVISION_VERSION}"
75100
# promote_s3 torchaudio whl "${TORCHAUDIO_VERSION}"
76101
# promote_s3 torchtext whl "${TORCHTEXT_VERSION}"
102+
# promote_s3 torchdata whl "${TORCHDATA_VERSION}"
77103
# promote_s3 "libtorch-*" libtorch "${PYTORCH_VERSION}"
78104

79105
# promote_conda pytorch conda "${PYTORCH_VERSION}"
80106
# promote_conda torchvision conda "${TORCHVISION_VERSION}"
81107
# promote_conda torchaudio conda "${TORCHAUDIO_VERSION}"
82108
# promote_conda torchtext conda "${TORCHTEXT_VERSION}"
109+
# promote_conda torchdata conda "${TORCHDATA_VERSION}"
83110

84111
# Uncomment these to promote to pypi
85112
LINUX_VERSION_SUFFIX="%2Bcu102"

release/release_versions.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env bash
22

33
# Make sure to update these versions when doing a release first
4-
PYTORCH_VERSION=${PYTORCH_VERSION:-1.13.1}
5-
TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.14.1}
6-
TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-0.13.1}
7-
TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.14.1}
4+
PYTORCH_VERSION=${PYTORCH_VERSION:-2.0.0}
5+
TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.15.0}
6+
TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.0.0}
7+
TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.15.0}
8+
TORCHDATA_VERSION=${TORCHDATA_VERSION:-0.6.0}

0 commit comments

Comments
 (0)