Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 724 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 724 Bytes

DJL Android

DJL Android allows you to run inference with Android devices. It has the following two modules:

  • Core package: contains some Image processing toolkit for Android user using DJL
  • PyTorch Native: contains DJL PyTorch Android native package

Installation

You need to have Android SDK and Android NDK installed on your machine.

The minimum API level for DJL Android is 26.

In gradle, you can include the snapshot repository and add the 4 modules in your dependencies:

dependencies {
    implementation "ai.djl:api:0.10.0"
    implementation "ai.djl.android:core:0.10.0"
    androidRuntimeOnly "ai.djl.pytorch:pytorch-engine:0.10.0"
    androidRuntimeOnly "ai.djl.android:pytorch-native:0.10.0"
}