mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Bump torch version to 1.11 (#65435)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65435 Reviewed By: zhouzhuojie Differential Revision: D31099045 Pulled By: malfet fbshipit-source-id: 6ae6ca8a4b652fc51ee3138c800d067e144acbaa
This commit is contained in:
committed by
Facebook GitHub Bot
parent
96383ca704
commit
2c7df1360a
@ -28,8 +28,8 @@ cp ${PROJ_ROOT}/ios/LibTorch-Lite.h ${ZIP_DIR}/src/
|
||||
cp ${PROJ_ROOT}/LICENSE ${ZIP_DIR}/
|
||||
# zip the library
|
||||
export DATE="$(date -u +%Y%m%d)"
|
||||
export IOS_NIGHTLY_BUILD_VERSION="1.10.0.${DATE}"
|
||||
# libtorch_lite_ios_nightly_1.10.0.20210810.zip
|
||||
export IOS_NIGHTLY_BUILD_VERSION="1.11.0.${DATE}"
|
||||
# libtorch_lite_ios_nightly_1.11.0.20210810.zip
|
||||
ZIPFILE="libtorch_lite_ios_nightly_${IOS_NIGHTLY_BUILD_VERSION}.zip"
|
||||
cd ${ZIP_DIR}
|
||||
#for testing
|
||||
|
@ -85,7 +85,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.10.0.dev$DATE"
|
||||
BASE_BUILD_VERSION="1.11.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
|
||||
@ -148,7 +148,7 @@ if [[ "${BUILD_FOR_SYSTEM:-}" == "windows" ]]; then
|
||||
fi
|
||||
|
||||
export DATE="$DATE"
|
||||
export NIGHTLIES_DATE_PREAMBLE=1.10.0.dev
|
||||
export NIGHTLIES_DATE_PREAMBLE=1.11.0.dev
|
||||
export PYTORCH_BUILD_VERSION="$PYTORCH_BUILD_VERSION"
|
||||
export PYTORCH_BUILD_NUMBER="$PYTORCH_BUILD_NUMBER"
|
||||
export OVERRIDE_PACKAGE_VERSION="$PYTORCH_BUILD_VERSION"
|
||||
|
@ -34,8 +34,8 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
...
|
||||
implementation 'org.pytorch:pytorch_android:1.10.0-SNAPSHOT'
|
||||
implementation 'org.pytorch:pytorch_android_torchvision:1.10.0-SNAPSHOT'
|
||||
implementation 'org.pytorch:pytorch_android:1.11.0-SNAPSHOT'
|
||||
implementation 'org.pytorch:pytorch_android_torchvision:1.11.0-SNAPSHOT'
|
||||
...
|
||||
}
|
||||
```
|
||||
|
@ -1,6 +1,6 @@
|
||||
ABI_FILTERS=armeabi-v7a,arm64-v8a,x86,x86_64
|
||||
|
||||
VERSION_NAME=1.10.0-SNAPSHOT
|
||||
VERSION_NAME=1.11.0-SNAPSHOT
|
||||
GROUP=org.pytorch
|
||||
MAVEN_GROUP=org.pytorch
|
||||
SONATYPE_STAGING_PROFILE=orgpytorch
|
||||
|
@ -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.10.0-SNAPSHOT'
|
||||
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.10.0-SNAPSHOT'
|
||||
nightlyImplementation 'org.pytorch:pytorch_android:1.11.0-SNAPSHOT'
|
||||
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.11.0-SNAPSHOT'
|
||||
|
||||
aarImplementation(name:'pytorch_android', ext:'aar')
|
||||
aarImplementation(name:'pytorch_android_torchvision', ext:'aar')
|
||||
|
@ -20,6 +20,6 @@ enum class TrainingMode {
|
||||
// test_operators.py will be more stable. Only bump it when
|
||||
// necessary.
|
||||
static const size_t IR_VERSION = 7;
|
||||
static const char* PRODUCER_VERSION = "1.10";
|
||||
static const char* PRODUCER_VERSION = "1.11";
|
||||
} // namespace onnx
|
||||
} // namespace torch
|
||||
|
@ -1 +1 @@
|
||||
1.10.0a0
|
||||
1.11.0a0
|
||||
|
Reference in New Issue
Block a user