diff --git a/README.md b/README.md index 3901d7d57fc..cda6533dfe2 100644 --- a/README.md +++ b/README.md @@ -85,14 +85,14 @@ 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.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)) * [0.27.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.27.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.27.0)) -* [0.26.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.26.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.26.0)) -* [+25 releases](https://github.com/deepjavalibrary/djl/releases) +* [+26 releases](https://github.com/deepjavalibrary/djl/releases) -The release of DJL 0.30.0 is planned for November 2024. +The release of DJL 0.32.0 is planned for January 2025. ## Building From Source diff --git a/android/README.md b/android/README.md index 6c698461a1c..14e80175c85 100644 --- a/android/README.md +++ b/android/README.md @@ -16,7 +16,7 @@ In gradle, you can add the 5 modules in your dependencies: ```groovy dependencies { - implementation platform("ai.djl:bom:0.30.0") + implementation platform("ai.djl:bom:0.31.0") implementation "ai.djl:api" implementation "ai.djl.android:core" diff --git a/android/pytorch-native/README.md b/android/pytorch-native/README.md index 2bed4115ed8..811603bee27 100644 --- a/android/pytorch-native/README.md +++ b/android/pytorch-native/README.md @@ -124,7 +124,7 @@ cd .. ./gradlew compileAndroidJNI -Ppt_version=${PYTORCH_VERSION} ``` -`jnilib/0.30.0/android` folder will be created after build, and shared library will be uploaded to S3 in CI build +`jnilib/0.31.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 @@ -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.30.0/android/* pytorch-native/jnilib +cp -r ../engines/pytorch/pytorch-native/jnilib/0.31.0/android/* pytorch-native/jnilib ./gradlew :pytorch-native:assemble # publish to local maven repo (~/.m2 folder) diff --git a/api/README.md b/api/README.md index 500534eebeb..2e76009a666 100644 --- a/api/README.md +++ b/api/README.md @@ -35,7 +35,7 @@ You can pull the DJL API from the central Maven repository by including the foll ai.djl api - 0.30.0 + 0.31.0 ``` diff --git a/basicdataset/README.md b/basicdataset/README.md index df0c5dcfa3d..73947303cd1 100644 --- a/basicdataset/README.md +++ b/basicdataset/README.md @@ -29,7 +29,7 @@ You can pull the module from the central Maven repository by including the follo ai.djl basicdataset - 0.30.0 + 0.31.0 ``` diff --git a/bom/README.md b/bom/README.md index cb7bef7824b..c21a07f7ee4 100644 --- a/bom/README.md +++ b/bom/README.md @@ -22,7 +22,7 @@ will need to mention the type as pom and the scope as import) as the following: ai.djl bom - 0.30.0 + 0.31.0 pom import @@ -38,7 +38,7 @@ will need to mention the type as pom and the scope as import) as the following: ai.djl bom - 0.30.0 + 0.31.0 pom import @@ -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.30.0") + implementation platform("ai.djl:bom:0.31.0") ``` - Then you import the desired DJL modules into to you pom.xml file (no version is needed): diff --git a/djl-zero/README.md b/djl-zero/README.md index 95d7bd6b6f1..d895dfc3ea0 100644 --- a/djl-zero/README.md +++ b/djl-zero/README.md @@ -49,6 +49,6 @@ You can pull the module from the central Maven repository by including the follo ai.djl djl-zero - 0.30.0 + 0.31.0 ``` diff --git a/docs/development/example_dataset.md b/docs/development/example_dataset.md index 9c48316e6d8..17060e5343b 100644 --- a/docs/development/example_dataset.md +++ b/docs/development/example_dataset.md @@ -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.30.0" -api "ai.djl:basicdataset:0.30.0" +api "ai.djl:api:0.31.0" +api "ai.djl:basicdataset:0.31.0" ``` There are four parts we need to implement for CSVDataset. diff --git a/docs/hybrid_engine.md b/docs/hybrid_engine.md index 5c7d0e0d965..7060f393460 100644 --- a/docs/hybrid_engine.md +++ b/docs/hybrid_engine.md @@ -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.30.0" +runtimeOnly "ai.djl.mxnet:mxnet-engine:0.31.0" ``` You can also use PyTorch or TensorFlow Engine as the supplemental engine by adding their corresponding dependencies. ``` -runtimeOnly "ai.djl.pytorch:pytorch-engine:0.30.0" +runtimeOnly "ai.djl.pytorch:pytorch-engine:0.31.0" ``` ``` -runtimeOnly "ai.djl.tensorflow:tensorflow-engine:0.30.0" +runtimeOnly "ai.djl.tensorflow:tensorflow-engine:0.31.0" ``` ## How Hybrid works diff --git a/docs/load_model.md b/docs/load_model.md index 8f281b7d6d8..b85dfe4d722 100644 --- a/docs/load_model.md +++ b/docs/load_model.md @@ -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.30.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.0/ai/djl/repository/zoo/ModelZoo.html#listModels--) API to query available models. #### List available models using DJL command line diff --git a/engines/ml/lightgbm/README.md b/engines/ml/lightgbm/README.md index 97a0d4fac86..19d1bad3d12 100644 --- a/engines/ml/lightgbm/README.md +++ b/engines/ml/lightgbm/README.md @@ -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.30.0 +- ai.djl.ml.lightgbm:lightgbm:0.31.0 ```xml ai.djl.ml.lightgbm lightgbm - 0.30.0 + 0.31.0 runtime ``` diff --git a/engines/ml/xgboost/README.md b/engines/ml/xgboost/README.md index 4d9c50176dd..91148bf933c 100644 --- a/engines/ml/xgboost/README.md +++ b/engines/ml/xgboost/README.md @@ -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.30.0 +- ai.djl.ml.xgboost:xgboost:0.31.0 ```xml ai.djl.ml.xgboost xgboost - 0.30.0 + 0.31.0 runtime ``` diff --git a/engines/mxnet/mxnet-engine/README.md b/engines/mxnet/mxnet-engine/README.md index 8c6527a51ce..e6e74108a88 100644 --- a/engines/mxnet/mxnet-engine/README.md +++ b/engines/mxnet/mxnet-engine/README.md @@ -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.30.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.0/ai/djl/ndarray/NDManager.html#invoke-java.lang.String-ai.djl.ndarray.NDArray:A-ai.djl.ndarray.NDArray:A-ai.djl.util.PairList-). ## Documentation @@ -33,7 +33,7 @@ You can pull the MXNet engine from the central Maven repository by including the ai.djl.mxnet mxnet-engine - 0.30.0 + 0.31.0 runtime ``` diff --git a/engines/mxnet/mxnet-model-zoo/README.md b/engines/mxnet/mxnet-model-zoo/README.md index 33b99ad7621..869be4a26e9 100644 --- a/engines/mxnet/mxnet-model-zoo/README.md +++ b/engines/mxnet/mxnet-model-zoo/README.md @@ -27,7 +27,7 @@ You can pull the MXNet engine from the central Maven repository by including the ai.djl.mxnet mxnet-model-zoo - 0.30.0 + 0.31.0 ``` diff --git a/engines/onnxruntime/onnxruntime-android/README.md b/engines/onnxruntime/onnxruntime-android/README.md index 2782f0de1a1..e735651ea0f 100644 --- a/engines/onnxruntime/onnxruntime-android/README.md +++ b/engines/onnxruntime/onnxruntime-android/README.md @@ -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.30.0 +- ai.djl.android:onnxruntime:0.31.0 ```xml ai.djl.android onnxruntime - 0.30.0 + 0.31.0 runtime ``` diff --git a/engines/onnxruntime/onnxruntime-engine/README.md b/engines/onnxruntime/onnxruntime-engine/README.md index 5c1c945b6b7..0b1b803c372 100644 --- a/engines/onnxruntime/onnxruntime-engine/README.md +++ b/engines/onnxruntime/onnxruntime-engine/README.md @@ -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.30.0 +- ai.djl.onnxruntime:onnxruntime-engine:0.31.0 ```xml ai.djl.onnxruntime onnxruntime-engine - 0.30.0 + 0.31.0 runtime ``` @@ -61,7 +61,7 @@ Maven: ai.djl.onnxruntime onnxruntime-engine - 0.30.0 + 0.31.0 runtime @@ -81,7 +81,7 @@ Maven: Gradle: ```groovy -implementation("ai.djl.onnxruntime:onnxruntime-engine:0.30.0") { +implementation("ai.djl.onnxruntime:onnxruntime-engine:0.31.0") { exclude group: "com.microsoft.onnxruntime", module: "onnxruntime" } implementation "com.microsoft.onnxruntime:onnxruntime_gpu:1.18.0" diff --git a/engines/pytorch/pytorch-engine/README.md b/engines/pytorch/pytorch-engine/README.md index 6ae7e62950e..a2f3ad76283 100644 --- a/engines/pytorch/pytorch-engine/README.md +++ b/engines/pytorch/pytorch-engine/README.md @@ -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.30.0 +- ai.djl.pytorch:pytorch-engine:0.31.0 ```xml ai.djl.pytorch pytorch-engine - 0.30.0 + 0.31.0 runtime ``` diff --git a/engines/pytorch/pytorch-model-zoo/README.md b/engines/pytorch/pytorch-model-zoo/README.md index e9b2f7301f7..78b6a90ffe0 100644 --- a/engines/pytorch/pytorch-model-zoo/README.md +++ b/engines/pytorch/pytorch-model-zoo/README.md @@ -25,7 +25,7 @@ You can pull the PyTorch engine from the central Maven repository by including t ai.djl.pytorch pytorch-model-zoo - 0.30.0 + 0.31.0 ``` diff --git a/engines/tensorflow/tensorflow-api/README.md b/engines/tensorflow/tensorflow-api/README.md index fdbbf4efe11..298f0e22f6e 100644 --- a/engines/tensorflow/tensorflow-api/README.md +++ b/engines/tensorflow/tensorflow-api/README.md @@ -16,6 +16,6 @@ You can pull the TensorFlow core java API from the central Maven repository by i ai.djl.tensorflow tensorflow-api - 0.30.0 + 0.31.0 ``` diff --git a/engines/tensorflow/tensorflow-engine/README.md b/engines/tensorflow/tensorflow-engine/README.md index a0675231aaf..57a2d8753b4 100644 --- a/engines/tensorflow/tensorflow-engine/README.md +++ b/engines/tensorflow/tensorflow-engine/README.md @@ -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.30.0 +- ai.djl.tensorflow:tensorflow-engine:0.31.0 ```xml ai.djl.tensorflow tensorflow-engine - 0.30.0 + 0.31.0 runtime ``` diff --git a/engines/tensorflow/tensorflow-model-zoo/README.md b/engines/tensorflow/tensorflow-model-zoo/README.md index 0d7a2f8d3a2..2735a0de382 100644 --- a/engines/tensorflow/tensorflow-model-zoo/README.md +++ b/engines/tensorflow/tensorflow-model-zoo/README.md @@ -26,7 +26,7 @@ from the central Maven repository by including the following dependency: ai.djl.tensorflow tensorflow-model-zoo - 0.30.0 + 0.31.0 ``` diff --git a/engines/tensorrt/README.md b/engines/tensorrt/README.md index ecaafcc0da0..2b91fc428de 100644 --- a/engines/tensorrt/README.md +++ b/engines/tensorrt/README.md @@ -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.30.0 +- ai.djl.tensorrt:tensorrt:0.31.0 ```xml ai.djl.tensorrt tensorrt - 0.30.0 + 0.31.0 runtime ``` diff --git a/extensions/audio/README.md b/extensions/audio/README.md index 381798a30f0..ff9c6c91dd7 100644 --- a/extensions/audio/README.md +++ b/extensions/audio/README.md @@ -23,6 +23,6 @@ You can pull the module from the central Maven repository by including the follo ai.djl.audio audio - 0.30.0 + 0.31.0 ``` diff --git a/extensions/aws-ai/README.md b/extensions/aws-ai/README.md index ac586532bac..e178837c568 100644 --- a/extensions/aws-ai/README.md +++ b/extensions/aws-ai/README.md @@ -58,6 +58,6 @@ You can pull the module from the central Maven repository by including the follo ai.djl.aws aws-ai - 0.30.0 + 0.31.0 ``` diff --git a/extensions/fasttext/README.md b/extensions/fasttext/README.md index d867ba9a338..b62b7925f05 100644 --- a/extensions/fasttext/README.md +++ b/extensions/fasttext/README.md @@ -34,7 +34,7 @@ You can pull the fastText engine from the central Maven repository by including ai.djl.fasttext fasttext-engine - 0.30.0 + 0.31.0 ``` diff --git a/extensions/hadoop/README.md b/extensions/hadoop/README.md index e180beebf8f..3a99f18914d 100644 --- a/extensions/hadoop/README.md +++ b/extensions/hadoop/README.md @@ -52,6 +52,6 @@ You can pull the module from the central Maven repository by including the follo ai.djl.hadoop hadoop - 0.30.0 + 0.31.0 ``` diff --git a/extensions/opencv/README.md b/extensions/opencv/README.md index 5d2abeaf4ff..dfc570ce522 100644 --- a/extensions/opencv/README.md +++ b/extensions/opencv/README.md @@ -23,6 +23,6 @@ You can pull the module from the central Maven repository by including the follo ai.djl.opencv opencv - 0.30.0 + 0.31.0 ``` diff --git a/extensions/sentencepiece/README.md b/extensions/sentencepiece/README.md index 7733ef4c4b5..55ad23286d9 100644 --- a/extensions/sentencepiece/README.md +++ b/extensions/sentencepiece/README.md @@ -23,6 +23,6 @@ You can pull the module from the central Maven repository by including the follo ai.djl.sentencepiece sentencepiece - 0.30.0 + 0.31.0 ``` diff --git a/extensions/spark/README.md b/extensions/spark/README.md index e6024b73f92..016dba0ccda 100644 --- a/extensions/spark/README.md +++ b/extensions/spark/README.md @@ -34,7 +34,7 @@ You can pull the module from the central Maven repository by including the follo ai.djl.spark spark_2.12 - 0.30.0 + 0.31.0 ``` diff --git a/extensions/tablesaw/README.md b/extensions/tablesaw/README.md index 9ee58aded93..4224d2968ff 100644 --- a/extensions/tablesaw/README.md +++ b/extensions/tablesaw/README.md @@ -25,6 +25,6 @@ You can pull the module from the central Maven repository by including the follo ai.djl.tablesaw tablesaw - 0.30.0 + 0.31.0 ``` diff --git a/extensions/timeseries/README.md b/extensions/timeseries/README.md index f52edb77ac5..b93d9bb276a 100644 --- a/extensions/timeseries/README.md +++ b/extensions/timeseries/README.md @@ -245,6 +245,6 @@ You can pull the module from the central Maven repository by including the follo ai.djl.timeseries timeseries - 0.30.0 + 0.31.0 ``` diff --git a/extensions/timeseries/docs/forecast_with_M5_data.md b/extensions/timeseries/docs/forecast_with_M5_data.md index 1e92dfbe7ca..ad985fcfe59 100644 --- a/extensions/timeseries/docs/forecast_with_M5_data.md +++ b/extensions/timeseries/docs/forecast_with_M5_data.md @@ -56,7 +56,7 @@ repositories { } dependencies { implementation "org.apache.logging.log4j:log4j-slf4j-impl:2.17.1" - implementation platform("ai.djl:bom:0.30.0") + implementation platform("ai.djl:bom:0.31.0") implementation "ai.djl:api" implementation "ai.djl.timeseries" runtimeOnly "ai.djl.mxnet:mxnet-engine" diff --git a/extensions/tokenizers/README.md b/extensions/tokenizers/README.md index 2823d3c80af..33079414bf7 100644 --- a/extensions/tokenizers/README.md +++ b/extensions/tokenizers/README.md @@ -25,7 +25,7 @@ You can pull the module from the central Maven repository by including the follo ai.djl.huggingface tokenizers - 0.30.0 + 0.31.0 ``` diff --git a/model-zoo/README.md b/model-zoo/README.md index 647e07d76d6..ef33529e433 100644 --- a/model-zoo/README.md +++ b/model-zoo/README.md @@ -33,7 +33,7 @@ You can pull the model zoo from the central Maven repository by including the fo ai.djl model-zoo - 0.30.0 + 0.31.0 ```