mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Bump nightlies to 1.7.0 (#40519)
Summary: edit: apparently we hardcode a lot more versions that I would've anticipated. Signed-off-by: Eli Uriegas <eliuriegas@fb.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/40519 Differential Revision: D22221280 Pulled By: seemethere fbshipit-source-id: ba15a910a6755ec08c10f7783ed72b1e06e6b570
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e3a97688cc
commit
fab412a8f3
@ -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"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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')
|
||||
|
@ -1,6 +1,6 @@
|
||||
ir_version: 6
|
||||
producer_name: "pytorch"
|
||||
producer_version: "1.6"
|
||||
producer_version: "1.7"
|
||||
graph {
|
||||
node {
|
||||
input: "input"
|
||||
|
@ -1,6 +1,6 @@
|
||||
ir_version: 6
|
||||
producer_name: "pytorch"
|
||||
producer_version: "1.6"
|
||||
producer_version: "1.7"
|
||||
graph {
|
||||
node {
|
||||
input: "input"
|
||||
|
@ -1,6 +1,6 @@
|
||||
ir_version: 6
|
||||
producer_name: "pytorch"
|
||||
producer_version: "1.6"
|
||||
producer_version: "1.7"
|
||||
graph {
|
||||
node {
|
||||
input: "input"
|
||||
|
@ -1,6 +1,6 @@
|
||||
ir_version: 6
|
||||
producer_name: "pytorch"
|
||||
producer_version: "1.6"
|
||||
producer_version: "1.7"
|
||||
graph {
|
||||
node {
|
||||
input: "input"
|
||||
|
@ -1,6 +1,6 @@
|
||||
ir_version: 6
|
||||
producer_name: "pytorch"
|
||||
producer_version: "1.6"
|
||||
producer_version: "1.7"
|
||||
graph {
|
||||
node {
|
||||
input: "input"
|
||||
|
@ -1,6 +1,6 @@
|
||||
ir_version: 6
|
||||
producer_name: "pytorch"
|
||||
producer_version: "1.6"
|
||||
producer_version: "1.7"
|
||||
graph {
|
||||
node {
|
||||
input: "input"
|
||||
|
@ -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
|
||||
|
@ -1 +1 @@
|
||||
1.6.0a0
|
||||
1.7.0a0
|
||||
|
Reference in New Issue
Block a user