Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 4b9f72d

Browse files
committed
Update to point build and doc link to 1.4 release
1 parent 7da7cf2 commit 4b9f72d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ More information about the Java API and TorchScript:
2525
- [TorchScript reference](https://pytorch.org/docs/stable/jit.html)
2626
- [Loading TorchScript in C++](https://pytorch.org/tutorials/advanced/cpp_export.html)
2727
- [PyTorch-style JavaDoc](https://pytorch.org/docs/stable/packages.html)
28-
- [Standard JavaDoc](https://dreiss.github.io/pytorch/android/pytorch_android/javadoc-out/)
28+
- [Standard JavaDoc](https://pytorch.org/javadoc/1.4.0/)
2929
- [PyTorch Android tutorial](https://pytorch.org/mobile/android/)

build.gradle

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ plugins {
66
repositories {
77
jcenter()
88

9-
// This will not always be required. The 1.4 release will be in jcenter.
10-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
9+
// Uncomment this to use snapshot releases.
10+
// maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
1111
}
1212

1313
dependencies {
14-
// Remember to remove "-SNAPSHOT" after 1.4 is released!
15-
implementation 'org.pytorch:pytorch_java_only:1.4.0-SNAPSHOT'
14+
implementation 'org.pytorch:pytorch_java_only:1.4.0'
1615
}
1716

1817
def LIBTORCH_HOME = System.getenv('LIBTORCH_HOME')

0 commit comments

Comments
 (0)