Skip to content

Commit

Permalink
upgrading pytorch to latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelaziz-mahdy committed Oct 21, 2023
1 parent 3b4c6cc commit 13868d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ android {
dependencies{
// implementation fileTree(dir: 'libs', include: ['*.jar'])

// implementation 'org.pytorch:pytorch_android_lite:1.12'
// implementation 'org.pytorch:pytorch_android_torchvision_lite:1.12'
implementation 'org.pytorch:pytorch_android:1.13.1'
implementation 'org.pytorch:pytorch_android_torchvision:1.13.1'
implementation 'org.pytorch:pytorch_android_lite:2.1.0'
implementation 'org.pytorch:pytorch_android_torchvision_lite:2.1.0'
// implementation 'org.pytorch:pytorch_android:1.13.1'
// implementation 'org.pytorch:pytorch_android_torchvision:1.13.1'
implementation 'com.facebook.soloader:nativeloader:0.10.5'

// extractForNativeBuild 'org.pytorch:pytorch_android:1.12'
Expand Down
4 changes: 2 additions & 2 deletions ios/pytorch_lite.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ A new Flutter plugin project.

}
s.static_framework = true
s.dependency 'LibTorch', '~> 1.13.0.1'
# s.dependency 'LibTorch-Lite', '~> 1.12'
# s.dependency 'LibTorch', '~> 1.13.0.1'
s.dependency 'LibTorch-Lite', '~> 1.13.0.1'
s.swift_version = '5.0'

end

0 comments on commit 13868d4

Please sign in to comment.