From 78d62aa29364d46c816f0b6941ce85246824f85d Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Thu, 3 Feb 2022 15:57:40 -0800 Subject: [PATCH] Bump torch version to 1.12 (#72221) Summary: Bump torch version to 1.12 Pull Request resolved: https://github.com/pytorch/pytorch/pull/72221 Reviewed By: dagitses, atalman Differential Revision: D33987446 Pulled By: seemethere fbshipit-source-id: f5fc1c4954ff116baab9e4afe3955c0e7842e6cf --- .circleci/scripts/binary_ios_upload.sh | 2 +- .circleci/scripts/binary_populate_env.sh | 4 ++-- android/README.md | 4 ++-- android/gradle.properties | 2 +- android/test_app/app/build.gradle | 4 ++-- version.txt | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.circleci/scripts/binary_ios_upload.sh b/.circleci/scripts/binary_ios_upload.sh index dc424c86b70..d9127d21c97 100644 --- a/.circleci/scripts/binary_ios_upload.sh +++ b/.circleci/scripts/binary_ios_upload.sh @@ -33,7 +33,7 @@ fi cp ${PROJ_ROOT}/LICENSE ${ZIP_DIR}/ # zip the library export DATE="$(date -u +%Y%m%d)" -export IOS_NIGHTLY_BUILD_VERSION="1.11.0.${DATE}" +export IOS_NIGHTLY_BUILD_VERSION="1.12.0.${DATE}" if [ "${BUILD_LITE_INTERPRETER}" == "1" ]; then # libtorch_lite_ios_nightly_1.11.0.20210810.zip ZIPFILE="libtorch_lite_ios_nightly_${IOS_NIGHTLY_BUILD_VERSION}.zip" diff --git a/.circleci/scripts/binary_populate_env.sh b/.circleci/scripts/binary_populate_env.sh index 9ab6bb1cd54..9ddc9f718f9 100755 --- a/.circleci/scripts/binary_populate_env.sh +++ b/.circleci/scripts/binary_populate_env.sh @@ -94,7 +94,7 @@ PIP_UPLOAD_FOLDER='nightly/' # We put this here so that OVERRIDE_PACKAGE_VERSION below can read from it export DATE="$(date -u +%Y%m%d)" #TODO: We should be pulling semver version from the base version.txt -BASE_BUILD_VERSION="1.11.0.dev$DATE" +BASE_BUILD_VERSION="1.12.0.dev$DATE" # Change BASE_BUILD_VERSION to git tag when on a git tag # Use 'git -C' to make doubly sure we're in the correct directory for checking # the git tag @@ -157,7 +157,7 @@ if [[ "${BUILD_FOR_SYSTEM:-}" == "windows" ]]; then fi export DATE="$DATE" -export NIGHTLIES_DATE_PREAMBLE=1.11.0.dev +export NIGHTLIES_DATE_PREAMBLE=1.12.0.dev export PYTORCH_BUILD_VERSION="$PYTORCH_BUILD_VERSION" export PYTORCH_BUILD_NUMBER="$PYTORCH_BUILD_NUMBER" export OVERRIDE_PACKAGE_VERSION="$PYTORCH_BUILD_VERSION" diff --git a/android/README.md b/android/README.md index 2c43eece6e3..002409c5234 100644 --- a/android/README.md +++ b/android/README.md @@ -34,8 +34,8 @@ repositories { dependencies { ... - implementation 'org.pytorch:pytorch_android:1.11.0-SNAPSHOT' - implementation 'org.pytorch:pytorch_android_torchvision:1.11.0-SNAPSHOT' + implementation 'org.pytorch:pytorch_android:1.12.0-SNAPSHOT' + implementation 'org.pytorch:pytorch_android_torchvision:1.12.0-SNAPSHOT' ... } ``` diff --git a/android/gradle.properties b/android/gradle.properties index 3cc22b1f64a..5455a33f959 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,6 +1,6 @@ ABI_FILTERS=armeabi-v7a,arm64-v8a,x86,x86_64 -VERSION_NAME=1.11.0-SNAPSHOT +VERSION_NAME=1.12.0-SNAPSHOT GROUP=org.pytorch MAVEN_GROUP=org.pytorch SONATYPE_STAGING_PROFILE=orgpytorch diff --git a/android/test_app/app/build.gradle b/android/test_app/app/build.gradle index 999755a4fd4..573e8cdd274 100644 --- a/android/test_app/app/build.gradle +++ b/android/test_app/app/build.gradle @@ -149,8 +149,8 @@ dependencies { //nativeBuildImplementation(name: 'pytorch_android_torchvision-release', ext: 'aar') //extractForNativeBuild(name: 'pytorch_android-release', ext: 'aar') - nightlyImplementation 'org.pytorch:pytorch_android:1.11.0-SNAPSHOT' - nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.11.0-SNAPSHOT' + nightlyImplementation 'org.pytorch:pytorch_android:1.12.0-SNAPSHOT' + nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.12.0-SNAPSHOT' aarImplementation(name:'pytorch_android', ext:'aar') aarImplementation(name:'pytorch_android_torchvision', ext:'aar') diff --git a/version.txt b/version.txt index 100618f47fc..743458c2229 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.11.0a0 +1.12.0a0