Skip to content

Commit 2740c21

Browse files
authored
[djl] update djl version and readmes (#3202)
1 parent dc92b0a commit 2740c21

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

android/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In gradle, you can add the 5 modules in your dependencies:
1616

1717
```groovy
1818
dependencies {
19-
implementation platform("ai.djl:bom:0.27.0")
19+
implementation platform("ai.djl:bom:0.28.0")
2020
2121
implementation "ai.djl:api"
2222
implementation "ai.djl.android:core"

android/pytorch-native/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ cd ..
124124
./gradlew compileAndroidJNI -Ppt_version=${PYTORCH_VERSION}
125125
```
126126

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

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

@@ -138,7 +138,7 @@ cd ../../../android
138138

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

143143
./gradlew :pytorch-native:assemble
144144
# publish to local maven repo (~/.m2 folder)

api/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You can pull the DJL API from the central Maven repository by including the foll
3535
<dependency>
3636
<groupId>ai.djl</groupId>
3737
<artifactId>api</artifactId>
38-
<version>0.27.0</version>
38+
<version>0.28.0</version>
3939
</dependency>
4040
```
4141

@@ -45,7 +45,7 @@ For testing the current nightly build, use the following:
4545
<dependency>
4646
<groupId>ai.djl</groupId>
4747
<artifactId>api</artifactId>
48-
<version>0.28.0-SNAPSHOT</version>
48+
<version>0.29.0-SNAPSHOT</version>
4949
</dependency>
5050
```
5151

basicdataset/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ You can pull the module from the central Maven repository by including the follo
2929
<dependency>
3030
<groupId>ai.djl</groupId>
3131
<artifactId>basicdataset</artifactId>
32-
<version>0.27.0</version>
32+
<version>0.28.0</version>
3333
</dependency>
3434
```
3535

bom/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ will need to mention the type as pom and the scope as import) as the following:
2222
<dependency>
2323
<groupId>ai.djl</groupId>
2424
<artifactId>bom</artifactId>
25-
<version>0.27.0</version>
25+
<version>0.28.0</version>
2626
<type>pom</type>
2727
<scope>import</scope>
2828
</dependency>
@@ -38,7 +38,7 @@ will need to mention the type as pom and the scope as import) as the following:
3838
<dependency>
3939
<groupId>ai.djl</groupId>
4040
<artifactId>bom</artifactId>
41-
<version>0.27.0</version>
41+
<version>0.28.0</version>
4242
<type>pom</type>
4343
<scope>import</scope>
4444
</dependency>
@@ -65,7 +65,7 @@ will need to mention the type as pom and the scope as import) as the following:
6565
- First you need add BOM into your build.gradle file as the following:
6666

6767
```
68-
implementation platform("ai.djl:bom:0.27.0")
68+
implementation platform("ai.djl:bom:0.28.0")
6969
```
7070

7171
- Then you import the desired DJL modules into to you pom.xml file (no version is needed):

djl-zero/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ You can pull the module from the central Maven repository by including the follo
4949
<dependency>
5050
<groupId>ai.djl</groupId>
5151
<artifactId>djl-zero</artifactId>
52-
<version>0.27.0</version>
52+
<version>0.28.0</version>
5353
</dependency>
5454
```

examples/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
<groupId>ai.djl</groupId>
77
<artifactId>examples</artifactId>
8-
<version>0.28.0-SNAPSHOT</version>
8+
<version>0.29.0-SNAPSHOT</version>
99

1010
<properties>
1111
<maven.compiler.source>11</maven.compiler.source>
1212
<maven.compiler.target>11</maven.compiler.target>
13-
<djl.version>0.28.0-SNAPSHOT</djl.version>
13+
<djl.version>0.29.0-SNAPSHOT</djl.version>
1414
<exec.mainClass>ai.djl.examples.inference.cv.ObjectDetection</exec.mainClass>
1515
</properties>
1616

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ systemProp.org.gradle.internal.http.connectionTimeout=60000
1111
# FIXME: Workaround gradle publish issue: https://github.com/gradle/gradle/issues/11308
1212
systemProp.org.gradle.internal.publish.checksums.insecure=true
1313

14-
djl_version=0.28.0
14+
djl_version=0.29.0
1515
mxnet_version=1.9.1
1616
pytorch_version=2.2.2
1717
tensorflow_version=2.10.1

0 commit comments

Comments
 (0)