Skip to content

Commit a22360a

Browse files
authored
Increase DJL version to 0.27.0 (deepjavalibrary#3046)
* Increase DJL version to 0.27.0 * Update README
1 parent 2c1e7fa commit a22360a

File tree

38 files changed

+74
-72
lines changed

38 files changed

+74
-72
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,14 @@ The following pseudocode demonstrates running training:
8585

8686
## Release Notes
8787

88+
* [0.27.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.27.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.27.0))
8889
* [0.26.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.26.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.26.0))
8990
* [0.25.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.25.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.25.0))
9091
* [0.24.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.24.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.24.0))
9192
* [0.23.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.23.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.23.0))
9293
* [+23 releases](https://github.com/deepjavalibrary/djl/releases)
9394

94-
The release of DJL 0.27.0 is planned for March 2024.
95+
The release of DJL 0.28.0 is planned for May 2024.
9596

9697
## Building From Source
9798

android/README.md

Lines changed: 1 addition & 1 deletion
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.26.0")
19+
implementation platform("ai.djl:bom:0.27.0")
2020
2121
implementation "ai.djl:api"
2222
implementation "ai.djl.android:core"

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ org.gradle.jvmargs=-Xmx1536m
1717
android.useAndroidX=true
1818
# Automatically convert third-party libraries to use AndroidX
1919
android.enableJetifier=true
20-
djl_version=0.26.0
20+
djl_version=0.27.0
2121
pytorch_version=2.1.1

android/pytorch-native/README.md

Lines changed: 2 additions & 2 deletions
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.26.0/android` folder will be created after build, and shared library will be uploaded to S3 in CI build
127+
`jnilib/0.27.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.26.0/android/* pytorch-native/jnilib
141+
cp -r ../engines/pytorch/pytorch-native/jnilib/0.27.0/android/* pytorch-native/jnilib
142142

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

api/README.md

Lines changed: 1 addition & 1 deletion
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.26.0</version>
38+
<version>0.27.0</version>
3939
</dependency>
4040
```
4141

basicdataset/README.md

Lines changed: 1 addition & 1 deletion
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.26.0</version>
32+
<version>0.27.0</version>
3333
</dependency>
3434
```
3535

bom/README.md

Lines changed: 3 additions & 3 deletions
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.26.0</version>
25+
<version>0.27.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.26.0</version>
41+
<version>0.27.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.26.0")
68+
implementation platform("ai.djl:bom:0.27.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

Lines changed: 1 addition & 1 deletion
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.26.0</version>
52+
<version>0.27.0</version>
5353
</dependency>
5454
```

docs/development/example_dataset.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ api group: 'org.apache.commons', name: 'commons-csv', version: '1.7'
2424
In order to extend the dataset, the following dependencies are required:
2525

2626
```
27-
api "ai.djl:api:0.26.0"
28-
api "ai.djl:basicdataset:0.26.0"
27+
api "ai.djl:api:0.27.0"
28+
api "ai.djl:basicdataset:0.27.0"
2929
```
3030

3131
There are four parts we need to implement for CSVDataset.

docs/hybrid_engine.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ to run in a hybrid mode:
2121
To use it along with Apache MXNet for additional API support, add the following two dependencies:
2222

2323
```
24-
runtimeOnly "ai.djl.mxnet:mxnet-engine:0.26.0"
24+
runtimeOnly "ai.djl.mxnet:mxnet-engine:0.27.0"
2525
```
2626

2727
You can also use PyTorch or TensorFlow Engine as the supplemental engine by adding their corresponding dependencies.
2828

2929
```
30-
runtimeOnly "ai.djl.pytorch:pytorch-engine:0.26.0"
30+
runtimeOnly "ai.djl.pytorch:pytorch-engine:0.27.0"
3131
```
3232

3333
```
34-
runtimeOnly "ai.djl.tensorflow:tensorflow-engine:0.26.0"
34+
runtimeOnly "ai.djl.tensorflow:tensorflow-engine:0.27.0"
3535
```
3636

3737
## How Hybrid works

0 commit comments

Comments
 (0)