diff --git a/.circleci/scripts/binary_populate_env.sh b/.circleci/scripts/binary_populate_env.sh index 40a03cd75282..d4c31cefc7e5 100755 --- a/.circleci/scripts/binary_populate_env.sh +++ b/.circleci/scripts/binary_populate_env.sh @@ -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.6.0.dev$DATE" +BASE_BUILD_VERSION="1.7.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 @@ -130,7 +130,7 @@ if [[ "${BUILD_FOR_SYSTEM:-}" == "windows" ]]; then fi export DATE="$DATE" -export NIGHTLIES_DATE_PREAMBLE=1.6.0.dev +export NIGHTLIES_DATE_PREAMBLE=1.7.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 e171a2cd9232..4914aa85b68c 100644 --- a/android/README.md +++ b/android/README.md @@ -34,12 +34,12 @@ repositories { dependencies { ... - implementation 'org.pytorch:pytorch_android:1.6.0-SNAPSHOT' - implementation 'org.pytorch:pytorch_android_torchvision:1.6.0-SNAPSHOT' + implementation 'org.pytorch:pytorch_android:1.7.0-SNAPSHOT' + implementation 'org.pytorch:pytorch_android_torchvision:1.7.0-SNAPSHOT' ... } ``` -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`. +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`. ## Building PyTorch Android from Source diff --git a/android/gradle.properties b/android/gradle.properties index a8ec129d95a9..6e0dc0ac86b0 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.6.0-SNAPSHOT +VERSION_NAME=1.7.0-SNAPSHOT GROUP=org.pytorch MAVEN_GROUP=org.pytorch POM_URL=https://github.com/pytorch/pytorch/tree/master/android diff --git a/android/test_app/app/build.gradle b/android/test_app/app/build.gradle index 3f2b5a24fe90..c592728ce9f4 100644 --- a/android/test_app/app/build.gradle +++ b/android/test_app/app/build.gradle @@ -140,8 +140,8 @@ dependencies { //nativeBuildImplementation(name: 'pytorch_android_torchvision-release', ext: 'aar') //extractForNativeBuild(name: 'pytorch_android-release', ext: 'aar') - nightlyImplementation 'org.pytorch:pytorch_android:1.6.0-SNAPSHOT' - nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.6.0-SNAPSHOT' + nightlyImplementation 'org.pytorch:pytorch_android:1.7.0-SNAPSHOT' + nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.7.0-SNAPSHOT' aarImplementation(name:'pytorch_android', ext:'aar') aarImplementation(name:'pytorch_android_torchvision', ext:'aar') diff --git a/test/onnx/expect/TestOperators.test_softmaxcrossentropy.expect b/test/onnx/expect/TestOperators.test_softmaxcrossentropy.expect index 623ad7f7bd3c..7296604b2f1a 100644 --- a/test/onnx/expect/TestOperators.test_softmaxcrossentropy.expect +++ b/test/onnx/expect/TestOperators.test_softmaxcrossentropy.expect @@ -1,6 +1,6 @@ ir_version: 6 producer_name: "pytorch" -producer_version: "1.6" +producer_version: "1.7" graph { node { input: "input" diff --git a/test/onnx/expect/TestOperators.test_softmaxcrossentropy_3d.expect b/test/onnx/expect/TestOperators.test_softmaxcrossentropy_3d.expect index dfee5ce578ec..8055b40c3aaf 100644 --- a/test/onnx/expect/TestOperators.test_softmaxcrossentropy_3d.expect +++ b/test/onnx/expect/TestOperators.test_softmaxcrossentropy_3d.expect @@ -1,6 +1,6 @@ ir_version: 6 producer_name: "pytorch" -producer_version: "1.6" +producer_version: "1.7" graph { node { input: "input" diff --git a/test/onnx/expect/TestOperators.test_softmaxcrossentropy_3d_none.expect b/test/onnx/expect/TestOperators.test_softmaxcrossentropy_3d_none.expect index dced2b529322..d0cf9b190c47 100644 --- a/test/onnx/expect/TestOperators.test_softmaxcrossentropy_3d_none.expect +++ b/test/onnx/expect/TestOperators.test_softmaxcrossentropy_3d_none.expect @@ -1,6 +1,6 @@ ir_version: 6 producer_name: "pytorch" -producer_version: "1.6" +producer_version: "1.7" graph { node { input: "input" diff --git a/test/onnx/expect/TestOperators.test_softmaxcrossentropy_4d.expect b/test/onnx/expect/TestOperators.test_softmaxcrossentropy_4d.expect index a752e198b190..b43ded8ed76c 100644 --- a/test/onnx/expect/TestOperators.test_softmaxcrossentropy_4d.expect +++ b/test/onnx/expect/TestOperators.test_softmaxcrossentropy_4d.expect @@ -1,6 +1,6 @@ ir_version: 6 producer_name: "pytorch" -producer_version: "1.6" +producer_version: "1.7" graph { node { input: "input" diff --git a/test/onnx/expect/TestOperators.test_softmaxcrossentropy_ignore_index.expect b/test/onnx/expect/TestOperators.test_softmaxcrossentropy_ignore_index.expect index b71ef837c581..d2e40f466682 100644 --- a/test/onnx/expect/TestOperators.test_softmaxcrossentropy_ignore_index.expect +++ b/test/onnx/expect/TestOperators.test_softmaxcrossentropy_ignore_index.expect @@ -1,6 +1,6 @@ ir_version: 6 producer_name: "pytorch" -producer_version: "1.6" +producer_version: "1.7" graph { node { input: "input" diff --git a/test/onnx/expect/TestOperators.test_softmaxcrossentropy_weights.expect b/test/onnx/expect/TestOperators.test_softmaxcrossentropy_weights.expect index 4a5c80d6a201..08b18a68f1b4 100644 --- a/test/onnx/expect/TestOperators.test_softmaxcrossentropy_weights.expect +++ b/test/onnx/expect/TestOperators.test_softmaxcrossentropy_weights.expect @@ -1,6 +1,6 @@ ir_version: 6 producer_name: "pytorch" -producer_version: "1.6" +producer_version: "1.7" graph { node { input: "input" diff --git a/torch/csrc/onnx/onnx.h b/torch/csrc/onnx/onnx.h index 081084848055..900de0ea57c2 100644 --- a/torch/csrc/onnx/onnx.h +++ b/torch/csrc/onnx/onnx.h @@ -20,5 +20,5 @@ enum class TrainingMode { // onnx::IR_VERSION. with this change, the test_operators.py will be more // stable. only bump it when it's necessary static const size_t IR_VERSION = 6; -static const char* PRODUCER_VERSION = "1.6"; +static const char* PRODUCER_VERSION = "1.7"; }} // namespace torch::onnx diff --git a/version.txt b/version.txt index 961d08349adf..56fee0696648 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.6.0a0 +1.7.0a0