mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Bump nightlies to 1.8.0 (#45696)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45696 Similar to https://github.com/pytorch/pytorch/pull/40519 Signed-off-by: Eli Uriegas <eliuriegas@fb.com> Test Plan: Imported from OSS Reviewed By: samestep Differential Revision: D24064381 Pulled By: seemethere fbshipit-source-id: 1484b9c4fc5fa8cfa7be591a0a5d4b6e05968589
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6e43f0db8b
commit
a052597e6c
@ -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.7.0.dev$DATE"
|
||||
BASE_BUILD_VERSION="1.8.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.7.0.dev
|
||||
export NIGHTLIES_DATE_PREAMBLE=1.8.0.dev
|
||||
export PYTORCH_BUILD_VERSION="$PYTORCH_BUILD_VERSION"
|
||||
export PYTORCH_BUILD_NUMBER="$PYTORCH_BUILD_NUMBER"
|
||||
export OVERRIDE_PACKAGE_VERSION="$PYTORCH_BUILD_VERSION"
|
||||
|
@ -15,8 +15,8 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.pytorch:pytorch_android:1.5.0'
|
||||
implementation 'org.pytorch:pytorch_android_torchvision:1.5.0'
|
||||
implementation 'org.pytorch:pytorch_android:1.6.0'
|
||||
implementation 'org.pytorch:pytorch_android_torchvision:1.6.0'
|
||||
}
|
||||
```
|
||||
|
||||
@ -34,12 +34,12 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
...
|
||||
implementation 'org.pytorch:pytorch_android:1.7.0-SNAPSHOT'
|
||||
implementation 'org.pytorch:pytorch_android_torchvision:1.7.0-SNAPSHOT'
|
||||
implementation 'org.pytorch:pytorch_android:1.8.0-SNAPSHOT'
|
||||
implementation 'org.pytorch:pytorch_android_torchvision:1.8.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`.
|
||||
The current nightly(snapshots) version is the value of `VERSION_NAME` in `gradle.properties` in current folder, at this moment it is `1.8.0-SNAPSHOT`.
|
||||
|
||||
## Building PyTorch Android from Source
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
ABI_FILTERS=armeabi-v7a,arm64-v8a,x86,x86_64
|
||||
|
||||
VERSION_NAME=1.7.0-SNAPSHOT
|
||||
VERSION_NAME=1.8.0-SNAPSHOT
|
||||
GROUP=org.pytorch
|
||||
MAVEN_GROUP=org.pytorch
|
||||
POM_URL=https://github.com/pytorch/pytorch/tree/master/android
|
||||
|
@ -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.7.0-SNAPSHOT'
|
||||
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.7.0-SNAPSHOT'
|
||||
nightlyImplementation 'org.pytorch:pytorch_android:1.8.0-SNAPSHOT'
|
||||
nightlyImplementation 'org.pytorch:pytorch_android_torchvision:1.8.0-SNAPSHOT'
|
||||
|
||||
aarImplementation(name:'pytorch_android', ext:'aar')
|
||||
aarImplementation(name:'pytorch_android_torchvision', ext:'aar')
|
||||
|
@ -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.7";
|
||||
static const char* PRODUCER_VERSION = "1.8";
|
||||
}} // namespace torch::onnx
|
||||
|
@ -1 +1 @@
|
||||
1.7.0a0
|
||||
1.8.0a0
|
||||
|
Reference in New Issue
Block a user