Skip to content

Commit fab412a

Browse files
seemetherefacebook-github-bot
authored andcommittedJun 26, 2020
Bump nightlies to 1.7.0 (pytorch#40519)
Summary: edit: apparently we hardcode a lot more versions that I would've anticipated. Signed-off-by: Eli Uriegas <[email protected]> Pull Request resolved: pytorch#40519 Differential Revision: D22221280 Pulled By: seemethere fbshipit-source-id: ba15a910a6755ec08c10f7783ed72b1e06e6b570
1 parent e3a9768 commit fab412a

12 files changed

+16
-16
lines changed
 

‎.circleci/scripts/binary_populate_env.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ PIP_UPLOAD_FOLDER='nightly/'
7373
# We put this here so that OVERRIDE_PACKAGE_VERSION below can read from it
7474
export DATE="$(date -u +%Y%m%d)"
7575
#TODO: We should be pulling semver version from the base version.txt
76-
BASE_BUILD_VERSION="1.6.0.dev$DATE"
76+
BASE_BUILD_VERSION="1.7.0.dev$DATE"
7777
# Change BASE_BUILD_VERSION to git tag when on a git tag
7878
# Use 'git -C' to make doubly sure we're in the correct directory for checking
7979
# the git tag
@@ -130,7 +130,7 @@ if [[ "${BUILD_FOR_SYSTEM:-}" == "windows" ]]; then
130130
fi
131131
132132
export DATE="$DATE"
133-
export NIGHTLIES_DATE_PREAMBLE=1.6.0.dev
133+
export NIGHTLIES_DATE_PREAMBLE=1.7.0.dev
134134
export PYTORCH_BUILD_VERSION="$PYTORCH_BUILD_VERSION"
135135
export PYTORCH_BUILD_NUMBER="$PYTORCH_BUILD_NUMBER"
136136
export OVERRIDE_PACKAGE_VERSION="$PYTORCH_BUILD_VERSION"

‎android/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ repositories {
3434
3535
dependencies {
3636
...
37-
implementation 'org.pytorch:pytorch_android:1.6.0-SNAPSHOT'
38-
implementation 'org.pytorch:pytorch_android_torchvision:1.6.0-SNAPSHOT'
37+
implementation 'org.pytorch:pytorch_android:1.7.0-SNAPSHOT'
38+
implementation 'org.pytorch:pytorch_android_torchvision:1.7.0-SNAPSHOT'
3939
...
4040
}
4141
```
42-
The current nightly(snapshots) version is the value of `VERSION_NAME` in `gradle.properties` in current folder, at this moment it is `1.6.0-SNAPSHOT`.
42+
The current nightly(snapshots) version is the value of `VERSION_NAME` in `gradle.properties` in current folder, at this moment it is `1.7.0-SNAPSHOT`.
4343

4444
## Building PyTorch Android from Source
4545

‎android/gradle.properties

+1-1
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.6.0-SNAPSHOT
3+
VERSION_NAME=1.7.0-SNAPSHOT
44
GROUP=org.pytorch
55
MAVEN_GROUP=org.pytorch
66
POM_URL=https://github.com/pytorch/pytorch/tree/master/android

‎android/test_app/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ dependencies {
140140
//nativeBuildImplementation(name: 'pytorch_android_torchvision-release', ext: 'aar')
141141
//extractForNativeBuild(name: 'pytorch_android-release', ext: 'aar')
142142

143-
nightlyImplementation 'org.pytorch:pytorch_android:1.6.0-SNAPSHOT'
144-
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.6.0-SNAPSHOT'
143+
nightlyImplementation 'org.pytorch:pytorch_android:1.7.0-SNAPSHOT'
144+
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.7.0-SNAPSHOT'
145145

146146
aarImplementation(name:'pytorch_android', ext:'aar')
147147
aarImplementation(name:'pytorch_android_torchvision', ext:'aar')

‎test/onnx/expect/TestOperators.test_softmaxcrossentropy.expect

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ir_version: 6
22
producer_name: "pytorch"
3-
producer_version: "1.6"
3+
producer_version: "1.7"
44
graph {
55
node {
66
input: "input"

‎test/onnx/expect/TestOperators.test_softmaxcrossentropy_3d.expect

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ir_version: 6
22
producer_name: "pytorch"
3-
producer_version: "1.6"
3+
producer_version: "1.7"
44
graph {
55
node {
66
input: "input"

‎test/onnx/expect/TestOperators.test_softmaxcrossentropy_3d_none.expect

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ir_version: 6
22
producer_name: "pytorch"
3-
producer_version: "1.6"
3+
producer_version: "1.7"
44
graph {
55
node {
66
input: "input"

‎test/onnx/expect/TestOperators.test_softmaxcrossentropy_4d.expect

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ir_version: 6
22
producer_name: "pytorch"
3-
producer_version: "1.6"
3+
producer_version: "1.7"
44
graph {
55
node {
66
input: "input"

‎test/onnx/expect/TestOperators.test_softmaxcrossentropy_ignore_index.expect

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ir_version: 6
22
producer_name: "pytorch"
3-
producer_version: "1.6"
3+
producer_version: "1.7"
44
graph {
55
node {
66
input: "input"

‎test/onnx/expect/TestOperators.test_softmaxcrossentropy_weights.expect

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ir_version: 6
22
producer_name: "pytorch"
3-
producer_version: "1.6"
3+
producer_version: "1.7"
44
graph {
55
node {
66
input: "input"

‎torch/csrc/onnx/onnx.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ enum class TrainingMode {
2020
// onnx::IR_VERSION. with this change, the test_operators.py will be more
2121
// stable. only bump it when it's necessary
2222
static const size_t IR_VERSION = 6;
23-
static const char* PRODUCER_VERSION = "1.6";
23+
static const char* PRODUCER_VERSION = "1.7";
2424
}} // namespace torch::onnx

‎version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.0a0
1+
1.7.0a0

0 commit comments

Comments
 (0)
Please sign in to comment.