Skip to content

Commit

Permalink
[pytorch] Upgrade android build to 0.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
frankfliu committed Jan 31, 2024
1 parent f9b4bc5 commit 6a62514
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion android/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ afterEvaluate {
dependencies {
implementation platform("ai.djl:bom:${version}")

implementation "ai.djl:api"
implementation ("ai.djl:api") {
exclude group: "org.apache.commons", module: "commons-compress"
}

testImplementation 'junit:junit:4.13.2'
androidTestRuntimeOnly "ai.djl.pytorch:pytorch-engine"

Expand Down
4 changes: 2 additions & 2 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ org.gradle.jvmargs=-Xmx1536m
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
djl_version=0.25.0
pytorch_version=1.13.1
djl_version=0.26.0
pytorch_version=2.1.1

0 comments on commit 6a62514

Please sign in to comment.