Revert D28840199: [pytorch][PR] Update version to 1.10

Test Plan: revert-hammer

Differential Revision:
D28840199 (3453aa44c1)

Original commit changeset: acc5a93e12a3

fbshipit-source-id: a41eb7c882fe0bf8f9a35ef180e99a7e72f6857d
This commit is contained in:
Nikita Shulga
2021-06-02 16:24:56 -07:00
committed by Facebook GitHub Bot
parent 2ce23136d0
commit dfe85d6fd7
6 changed files with 9 additions and 9 deletions

View File

@ -73,7 +73,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.9.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
@ -136,7 +136,7 @@ if [[ "${BUILD_FOR_SYSTEM:-}" == "windows" ]]; then
fi
export DATE="$DATE"
export NIGHTLIES_DATE_PREAMBLE=1.10.0.dev
export NIGHTLIES_DATE_PREAMBLE=1.9.0.dev
export PYTORCH_BUILD_VERSION="$PYTORCH_BUILD_VERSION"
export PYTORCH_BUILD_NUMBER="$PYTORCH_BUILD_NUMBER"
export OVERRIDE_PACKAGE_VERSION="$PYTORCH_BUILD_VERSION"

View File

@ -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.9.0-SNAPSHOT'
implementation 'org.pytorch:pytorch_android_torchvision:1.9.0-SNAPSHOT'
...
}
```

View File

@ -1,6 +1,6 @@
ABI_FILTERS=armeabi-v7a,arm64-v8a,x86,x86_64
VERSION_NAME=1.10.0-SNAPSHOT
VERSION_NAME=1.9.0-SNAPSHOT
GROUP=org.pytorch
MAVEN_GROUP=org.pytorch
SONATYPE_STAGING_PROFILE=orgpytorch

View File

@ -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.9.0-SNAPSHOT'
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.9.0-SNAPSHOT'
aarImplementation(name:'pytorch_android', ext:'aar')
aarImplementation(name:'pytorch_android_torchvision', ext:'aar')

View File

@ -21,5 +21,5 @@ enum class TrainingMode {
// stable. only bump it when it's necessary
static const size_t IR_VERSION = 6;
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
static const char* PRODUCER_VERSION = "1.10";
static const char* PRODUCER_VERSION = "1.9";
}} // namespace torch::onnx

View File

@ -1 +1 @@
1.10.0a0
1.9.0a0