Skip to content

Commit f676f94

Browse files
authored
Switch Android app to pytorch_android stable. (#4926)
1 parent 0fa747e commit f676f94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ allprojects {
1515
androidSupportAppCompatV7Version = "28.0.0"
1616
fbjniJavaOnlyVersion = "0.0.3"
1717
soLoaderNativeLoaderVersion = "0.8.0"
18-
pytorchAndroidVersion = "1.11.0-SNAPSHOT"
18+
pytorchAndroidVersion = "1.10.0"
1919
}
2020

2121
repositories {

android/ops/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ target_compile_options(${TARGET} PRIVATE
3535

3636
set(BUILD_SUBDIR ${ANDROID_ABI})
3737

38-
find_library(PYTORCH_LIBRARY pytorch_jni_lite
38+
find_library(PYTORCH_LIBRARY pytorch_jni
3939
PATHS ${PYTORCH_LINK_DIRS}
4040
NO_CMAKE_FIND_ROOT_PATH)
4141

0 commit comments

Comments
 (0)