Skip to content

Commit 0ca0e02

Browse files
atalmanpytorchmergebot
authored andcommitted
Bump torch version to 1.12 (#72221)
Summary: Bump torch version to 1.12 Pull Request resolved: #72221 Reviewed By: dagitses, atalman Differential Revision: D33987446 Pulled By: seemethere fbshipit-source-id: f5fc1c4954ff116baab9e4afe3955c0e7842e6cf (cherry picked from commit 78d62aa)
1 parent e970160 commit 0ca0e02

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.circleci/scripts/binary_ios_upload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fi
3333
cp ${PROJ_ROOT}/LICENSE ${ZIP_DIR}/
3434
# zip the library
3535
export DATE="$(date -u +%Y%m%d)"
36-
export IOS_NIGHTLY_BUILD_VERSION="1.11.0.${DATE}"
36+
export IOS_NIGHTLY_BUILD_VERSION="1.12.0.${DATE}"
3737
if [ "${BUILD_LITE_INTERPRETER}" == "1" ]; then
3838
# libtorch_lite_ios_nightly_1.11.0.20210810.zip
3939
ZIPFILE="libtorch_lite_ios_nightly_${IOS_NIGHTLY_BUILD_VERSION}.zip"

.circleci/scripts/binary_populate_env.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ PIP_UPLOAD_FOLDER='nightly/'
9494
# We put this here so that OVERRIDE_PACKAGE_VERSION below can read from it
9595
export DATE="$(date -u +%Y%m%d)"
9696
#TODO: We should be pulling semver version from the base version.txt
97-
BASE_BUILD_VERSION="1.11.0.dev$DATE"
97+
BASE_BUILD_VERSION="1.12.0.dev$DATE"
9898
# Change BASE_BUILD_VERSION to git tag when on a git tag
9999
# Use 'git -C' to make doubly sure we're in the correct directory for checking
100100
# the git tag
@@ -157,7 +157,7 @@ if [[ "${BUILD_FOR_SYSTEM:-}" == "windows" ]]; then
157157
fi
158158
159159
export DATE="$DATE"
160-
export NIGHTLIES_DATE_PREAMBLE=1.11.0.dev
160+
export NIGHTLIES_DATE_PREAMBLE=1.12.0.dev
161161
export PYTORCH_BUILD_VERSION="$PYTORCH_BUILD_VERSION"
162162
export PYTORCH_BUILD_NUMBER="$PYTORCH_BUILD_NUMBER"
163163
export OVERRIDE_PACKAGE_VERSION="$PYTORCH_BUILD_VERSION"

android/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ repositories {
3434
3535
dependencies {
3636
...
37-
implementation 'org.pytorch:pytorch_android:1.11.0-SNAPSHOT'
38-
implementation 'org.pytorch:pytorch_android_torchvision:1.11.0-SNAPSHOT'
37+
implementation 'org.pytorch:pytorch_android:1.12.0-SNAPSHOT'
38+
implementation 'org.pytorch:pytorch_android_torchvision:1.12.0-SNAPSHOT'
3939
...
4040
}
4141
```

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ABI_FILTERS=armeabi-v7a,arm64-v8a,x86,x86_64
22

3-
VERSION_NAME=1.11.0-SNAPSHOT
3+
VERSION_NAME=1.12.0-SNAPSHOT
44
GROUP=org.pytorch
55
MAVEN_GROUP=org.pytorch
66
SONATYPE_STAGING_PROFILE=orgpytorch

android/test_app/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ dependencies {
149149
//nativeBuildImplementation(name: 'pytorch_android_torchvision-release', ext: 'aar')
150150
//extractForNativeBuild(name: 'pytorch_android-release', ext: 'aar')
151151

152-
nightlyImplementation 'org.pytorch:pytorch_android:1.11.0-SNAPSHOT'
153-
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.11.0-SNAPSHOT'
152+
nightlyImplementation 'org.pytorch:pytorch_android:1.12.0-SNAPSHOT'
153+
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.12.0-SNAPSHOT'
154154

155155
aarImplementation(name:'pytorch_android', ext:'aar')
156156
aarImplementation(name:'pytorch_android_torchvision', ext:'aar')

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.0a0
1+
1.12.0a0

0 commit comments

Comments
 (0)