Skip to content

Commit

Permalink
Increase DJL version to 0.31.1
Browse files Browse the repository at this point in the history
  • Loading branch information
siddvenk committed Dec 10, 2024
1 parent 52da4f2 commit 6e84439
Show file tree
Hide file tree
Showing 34 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ The following pseudocode demonstrates running training:

## Release Notes

* [0.31.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.31.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.31.0))
* [0.31.1](https://github.com/deepjavalibrary/djl/releases/tag/v0.31.1) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.31.1))
* [0.30.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.30.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.30.0))
* [0.29.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.29.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.29.0))
* [0.28.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.28.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.28.0))
Expand Down
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.31.0")
implementation platform("ai.djl:bom:0.31.1")
implementation "ai.djl:api"
implementation "ai.djl.android:core"
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ org.gradle.jvmargs=-Xmx1536m
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
djl_version=0.31.0
djl_version=0.31.1
pytorch_version=2.5.1
tokenizers_version=0.20.3
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.31.0/android` folder will be created after build, and shared library will be uploaded to S3 in CI build
`jnilib/0.31.1/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.31.0/android/* pytorch-native/jnilib
cp -r ../engines/pytorch/pytorch-native/jnilib/0.31.1/android/* pytorch-native/jnilib

./gradlew :pytorch-native:assemble
# publish to local maven repo (~/.m2 folder)
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.31.0</version>
<version>0.31.1</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.31.0</version>
<version>0.31.1</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.31.0</version>
<version>0.31.1</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.31.0")
implementation platform("ai.djl:bom:0.31.1")
```

- 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.31.0</version>
<version>0.31.1</version>
</dependency>
```
4 changes: 2 additions & 2 deletions docs/development/example_dataset.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ api group: 'org.apache.commons', name: 'commons-csv', version: '1.7'
In order to extend the dataset, the following dependencies are required:

```
api "ai.djl:api:0.31.0"
api "ai.djl:basicdataset:0.31.0"
api "ai.djl:api:0.31.1"
api "ai.djl:basicdataset:0.31.1"
```

There are four parts we need to implement for CSVDataset.
Expand Down
6 changes: 3 additions & 3 deletions docs/hybrid_engine.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ to run in a hybrid mode:
To use it along with Apache MXNet for additional API support, add the following two dependencies:

```
runtimeOnly "ai.djl.mxnet:mxnet-engine:0.31.0"
runtimeOnly "ai.djl.mxnet:mxnet-engine:0.31.1"
```

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

```
runtimeOnly "ai.djl.pytorch:pytorch-engine:0.31.0"
runtimeOnly "ai.djl.pytorch:pytorch-engine:0.31.1"
```

```
runtimeOnly "ai.djl.tensorflow:tensorflow-engine:0.31.0"
runtimeOnly "ai.djl.tensorflow:tensorflow-engine:0.31.1"
```

## How Hybrid works
Expand Down
2 changes: 1 addition & 1 deletion docs/load_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Here is a few tips you can use to help you debug model loading issue:
See [here](development/configure_logging.md#configure-logging-level) for how to enable debug log

#### List models programmatically in your code
You can use [ModelZoo.listModels()](https://javadoc.io/static/ai.djl/api/0.31.0/ai/djl/repository/zoo/ModelZoo.html#listModels--) API to query available models.
You can use [ModelZoo.listModels()](https://javadoc.io/static/ai.djl/api/0.31.1/ai/djl/repository/zoo/ModelZoo.html#listModels--) API to query available models.

#### List available models using DJL command line

Expand Down
4 changes: 2 additions & 2 deletions engines/ml/lightgbm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ LightGBM can only run on top of the Linux/Mac/Windows machine using x86_64.
## Installation
You can pull the LightGBM engine from the central Maven repository by including the following dependency:

- ai.djl.ml.lightgbm:lightgbm:0.31.0
- ai.djl.ml.lightgbm:lightgbm:0.31.1

```xml
<dependency>
<groupId>ai.djl.ml.lightgbm</groupId>
<artifactId>lightgbm</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
<scope>runtime</scope>
</dependency>
```
Expand Down
4 changes: 2 additions & 2 deletions engines/ml/xgboost/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ XGBoost can only run on top of the Linux/Mac machine. User can build from source
## Installation
You can pull the XGBoost engine from the central Maven repository by including the following dependency:

- ai.djl.ml.xgboost:xgboost:0.31.0
- ai.djl.ml.xgboost:xgboost:0.31.1

```xml
<dependency>
<groupId>ai.djl.ml.xgboost</groupId>
<artifactId>xgboost</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
<scope>runtime</scope>
</dependency>
```
Expand Down
4 changes: 2 additions & 2 deletions engines/mxnet/mxnet-engine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This module contains the Deep Java Library (DJL) EngineProvider for Apache MXNet
We don't recommend that developers use classes in this module directly. Use of these classes
will couple your code with Apache MXNet and make switching between engines difficult. Even so,
developers are not restricted from using engine-specific features. For more information,
see [NDManager#invoke()](https://javadoc.io/static/ai.djl/api/0.31.0/ai/djl/ndarray/NDManager.html#invoke-java.lang.String-ai.djl.ndarray.NDArray:A-ai.djl.ndarray.NDArray:A-ai.djl.util.PairList-).
see [NDManager#invoke()](https://javadoc.io/static/ai.djl/api/0.31.1/ai/djl/ndarray/NDManager.html#invoke-java.lang.String-ai.djl.ndarray.NDArray:A-ai.djl.ndarray.NDArray:A-ai.djl.util.PairList-).

## Documentation

Expand All @@ -33,7 +33,7 @@ You can pull the MXNet engine from the central Maven repository by including the
<dependency>
<groupId>ai.djl.mxnet</groupId>
<artifactId>mxnet-engine</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
<scope>runtime</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion engines/mxnet/mxnet-model-zoo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You can pull the MXNet engine from the central Maven repository by including the
<dependency>
<groupId>ai.djl.mxnet</groupId>
<artifactId>mxnet-model-zoo</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions engines/onnxruntime/onnxruntime-android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ This module contains the DJL ONNX Runtime engine for Android.
## Installation
You can pull the ONNX Runtime for Android from the central Maven repository by including the following dependency:

- ai.djl.android:onnxruntime:0.31.0
- ai.djl.android:onnxruntime:0.31.1

```xml
<dependency>
<groupId>ai.djl.android</groupId>
<artifactId>onnxruntime</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
<scope>runtime</scope>
</dependency>
```
8 changes: 4 additions & 4 deletions engines/onnxruntime/onnxruntime-engine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ for the official ONNX Runtime project.
## Installation
You can pull the ONNX Runtime engine from the central Maven repository by including the following dependency:

- ai.djl.onnxruntime:onnxruntime-engine:0.31.0
- ai.djl.onnxruntime:onnxruntime-engine:0.31.1

```xml
<dependency>
<groupId>ai.djl.onnxruntime</groupId>
<artifactId>onnxruntime-engine</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
<scope>runtime</scope>
</dependency>
```
Expand All @@ -61,7 +61,7 @@ Maven:
<dependency>
<groupId>ai.djl.onnxruntime</groupId>
<artifactId>onnxruntime-engine</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
Expand All @@ -81,7 +81,7 @@ Maven:
Gradle:

```groovy
implementation("ai.djl.onnxruntime:onnxruntime-engine:0.31.0") {
implementation("ai.djl.onnxruntime:onnxruntime-engine:0.31.1") {
exclude group: "com.microsoft.onnxruntime", module: "onnxruntime"
}
implementation "com.microsoft.onnxruntime:onnxruntime_gpu:1.18.0"
Expand Down
6 changes: 3 additions & 3 deletions engines/pytorch/pytorch-engine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ The javadocs output is built in the `build/doc/javadoc` folder.

You can pull the PyTorch engine from the central Maven repository by including the following dependency:

- ai.djl.pytorch:pytorch-engine:0.31.0
- ai.djl.pytorch:pytorch-engine:0.31.1

```xml

<dependency>
<groupId>ai.djl.pytorch</groupId>
<artifactId>pytorch-engine</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
<scope>runtime</scope>
</dependency>
```
Expand All @@ -51,7 +51,7 @@ The following table illustrates which pytorch version that DJL supports:

| PyTorch engine version | PyTorch native library version |
|------------------------|-------------------------------------------|
| pytorch-engine:0.31.0 | 1.13.1, 2.1.2, 2.3.1, 2.4.0, **2.5.1** |
| pytorch-engine:0.31.1 | 1.13.1, 2.1.2, 2.3.1, 2.4.0, **2.5.1** |
| pytorch-engine:0.30.0 | 1.13.1, 2.1.2, 2.3.1, **2.4.0** |
| pytorch-engine:0.29.0 | 1.13.1, 2.1.2, 2.2.2, **2.3.1** |
| pytorch-engine:0.28.0 | 1.13.1, 2.1.2, **2.2.2** |
Expand Down
2 changes: 1 addition & 1 deletion engines/pytorch/pytorch-model-zoo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You can pull the PyTorch engine from the central Maven repository by including t
<dependency>
<groupId>ai.djl.pytorch</groupId>
<artifactId>pytorch-model-zoo</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion engines/tensorflow/tensorflow-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ You can pull the TensorFlow core java API from the central Maven repository by i
<dependency>
<groupId>ai.djl.tensorflow</groupId>
<artifactId>tensorflow-api</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```
4 changes: 2 additions & 2 deletions engines/tensorflow/tensorflow-engine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ The javadocs output is built in the `build/doc/javadoc` folder.

You can pull the TensorFlow engine from the central Maven repository by including the following dependency:

- ai.djl.tensorflow:tensorflow-engine:0.31.0
- ai.djl.tensorflow:tensorflow-engine:0.31.1

```xml
<dependency>
<groupId>ai.djl.tensorflow</groupId>
<artifactId>tensorflow-engine</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
<scope>runtime</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion engines/tensorflow/tensorflow-model-zoo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ from the central Maven repository by including the following dependency:
<dependency>
<groupId>ai.djl.tensorflow</groupId>
<artifactId>tensorflow-model-zoo</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions engines/tensorrt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ The javadocs output is generated in the `build/doc/javadoc` folder.
## Installation
You can pull the TensorRT engine from the central Maven repository by including the following dependency:

- ai.djl.tensorrt:tensorrt:0.31.0
- ai.djl.tensorrt:tensorrt:0.31.1

```xml
<dependency>
<groupId>ai.djl.tensorrt</groupId>
<artifactId>tensorrt</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
<scope>runtime</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion extensions/audio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ You can pull the module from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl.audio</groupId>
<artifactId>audio</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```
2 changes: 1 addition & 1 deletion extensions/aws-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ You can pull the module from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl.aws</groupId>
<artifactId>aws-ai</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```
2 changes: 1 addition & 1 deletion extensions/fasttext/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ You can pull the fastText engine from the central Maven repository by including
<dependency>
<groupId>ai.djl.fasttext</groupId>
<artifactId>fasttext-engine</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```

2 changes: 1 addition & 1 deletion extensions/hadoop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ You can pull the module from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl.hadoop</groupId>
<artifactId>hadoop</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```
2 changes: 1 addition & 1 deletion extensions/opencv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ You can pull the module from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl.opencv</groupId>
<artifactId>opencv</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```
2 changes: 1 addition & 1 deletion extensions/sentencepiece/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ You can pull the module from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl.sentencepiece</groupId>
<artifactId>sentencepiece</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```
2 changes: 1 addition & 1 deletion extensions/spark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ You can pull the module from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl.spark</groupId>
<artifactId>spark_2.12</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion extensions/tablesaw/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ You can pull the module from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl.tablesaw</groupId>
<artifactId>tablesaw</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```
2 changes: 1 addition & 1 deletion extensions/timeseries/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,6 @@ You can pull the module from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl.timeseries</groupId>
<artifactId>timeseries</artifactId>
<version>0.31.0</version>
<version>0.31.1</version>
</dependency>
```
Loading

0 comments on commit 6e84439

Please sign in to comment.