Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[djl] update djl version and readmes #3202

Merged
merged 1 commit into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In gradle, you can add the 5 modules in your dependencies:

```groovy
dependencies {
implementation platform("ai.djl:bom:0.27.0")
implementation platform("ai.djl:bom:0.28.0")

implementation "ai.djl:api"
implementation "ai.djl.android:core"
Expand Down
4 changes: 2 additions & 2 deletions android/pytorch-native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ cd ..
./gradlew compileAndroidJNI -Ppt_version=${PYTORCH_VERSION}
```

`jnilib/0.27.0/android` folder will be created after build, and shared library will be uploaded to S3 in CI build
`jnilib/0.28.0/android` folder will be created after build, and shared library will be uploaded to S3 in CI build

## Build PyTorch android library (.aar) and publish to Sonatype snapshot repo

Expand All @@ -138,7 +138,7 @@ cd ../../../android

# To avoid download jni from S3, manually copy them
mkdir -p pytorch-native/jnilib
cp -r ../engines/pytorch/pytorch-native/jnilib/0.27.0/android/* pytorch-native/jnilib
cp -r ../engines/pytorch/pytorch-native/jnilib/0.28.0/android/* pytorch-native/jnilib

./gradlew :pytorch-native:assemble
# publish to local maven repo (~/.m2 folder)
Expand Down
4 changes: 2 additions & 2 deletions api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ You can pull the DJL API from the central Maven repository by including the foll
<dependency>
<groupId>ai.djl</groupId>
<artifactId>api</artifactId>
<version>0.27.0</version>
<version>0.28.0</version>
</dependency>
```

Expand All @@ -45,7 +45,7 @@ For testing the current nightly build, use the following:
<dependency>
<groupId>ai.djl</groupId>
<artifactId>api</artifactId>
<version>0.28.0-SNAPSHOT</version>
<version>0.29.0-SNAPSHOT</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion basicdataset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You can pull the module from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl</groupId>
<artifactId>basicdataset</artifactId>
<version>0.27.0</version>
<version>0.28.0</version>
</dependency>
```

Expand Down
6 changes: 3 additions & 3 deletions bom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ will need to mention the type as pom and the scope as import) as the following:
<dependency>
<groupId>ai.djl</groupId>
<artifactId>bom</artifactId>
<version>0.27.0</version>
<version>0.28.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -38,7 +38,7 @@ will need to mention the type as pom and the scope as import) as the following:
<dependency>
<groupId>ai.djl</groupId>
<artifactId>bom</artifactId>
<version>0.27.0</version>
<version>0.28.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -65,7 +65,7 @@ will need to mention the type as pom and the scope as import) as the following:
- First you need add BOM into your build.gradle file as the following:

```
implementation platform("ai.djl:bom:0.27.0")
implementation platform("ai.djl:bom:0.28.0")
```

- Then you import the desired DJL modules into to you pom.xml file (no version is needed):
Expand Down
2 changes: 1 addition & 1 deletion djl-zero/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ You can pull the module from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl</groupId>
<artifactId>djl-zero</artifactId>
<version>0.27.0</version>
<version>0.28.0</version>
</dependency>
```
4 changes: 2 additions & 2 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

<groupId>ai.djl</groupId>
<artifactId>examples</artifactId>
<version>0.28.0-SNAPSHOT</version>
<version>0.29.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<djl.version>0.28.0-SNAPSHOT</djl.version>
<djl.version>0.29.0-SNAPSHOT</djl.version>
<exec.mainClass>ai.djl.examples.inference.cv.ObjectDetection</exec.mainClass>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ systemProp.org.gradle.internal.http.connectionTimeout=60000
# FIXME: Workaround gradle publish issue: https://github.com/gradle/gradle/issues/11308
systemProp.org.gradle.internal.publish.checksums.insecure=true

djl_version=0.28.0
djl_version=0.29.0
mxnet_version=1.9.1
pytorch_version=2.2.2
tensorflow_version=2.10.1
Expand Down
Loading