Skip to content

Commit 0cac420

Browse files
authored
Fix binary_libtorchvision_ops_android job (#5062)
* Fix `binary_libtorchvision_ops_android` job Switch pytorchAndroidVersion to non-snapshot * Switch Android app to pytorch_android stable. (#4926)
1 parent 550d0b5 commit 0cac420

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.10.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)