diff --git a/README.md b/README.md index 4fcef813230..ac2ec98e59c 100644 --- a/README.md +++ b/README.md @@ -85,15 +85,14 @@ The following pseudocode demonstrates running training: ## Release Notes +* [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)) -* [0.25.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.25.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.25.0)) -* [0.24.0](https://github.com/deepjavalibrary/djl/releases/tag/v0.24.0) ([Code](https://github.com/deepjavalibrary/djl/tree/v0.24.0)) * [+25 releases](https://github.com/deepjavalibrary/djl/releases) -The release of DJL 0.30.0 is planned for September 2024. +The release of DJL 0.30.0 is planned for November 2024. ## Building From Source diff --git a/android/README.md b/android/README.md index 75350b3f307..6c698461a1c 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.29.0") + implementation platform("ai.djl:bom:0.30.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 b5a1d96020d..2bed4115ed8 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.29.0/android` folder will be created after build, and shared library will be uploaded to S3 in CI build +`jnilib/0.30.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.29.0/android/* pytorch-native/jnilib +cp -r ../engines/pytorch/pytorch-native/jnilib/0.30.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 5144659293e..a3671a34136 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.29.0 + 0.30.0 ``` diff --git a/basicdataset/README.md b/basicdataset/README.md index a577c81d0d0..df0c5dcfa3d 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.29.0 + 0.30.0 ``` diff --git a/bom/README.md b/bom/README.md index 534a951321d..cb7bef7824b 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.29.0 + 0.30.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.29.0 + 0.30.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.29.0") + implementation platform("ai.djl:bom:0.30.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 dfc1ff9ef91..95d7bd6b6f1 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.29.0 + 0.30.0 ``` diff --git a/docker/spark/Dockerfile b/docker/spark/Dockerfile index 47c1f460a31..e0998b71ade 100644 --- a/docker/spark/Dockerfile +++ b/docker/spark/Dockerfile @@ -13,7 +13,7 @@ FROM 314815235551.dkr.ecr.us-east-2.amazonaws.com/sagemaker-spark-processing:3.5 LABEL maintainer="djl-dev@amazon.com" # Install dependencies -ARG DJL_VERSION=0.29.0 +ARG DJL_VERSION=0.30.0 ARG JNA_VERSION=5.14.0 ARG JAVACV_VERSION=1.5.10 ARG JAVACPP_VERSION=1.5.10 diff --git a/docs/development/example_dataset.md b/docs/development/example_dataset.md index 80cf517b126..9c48316e6d8 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.29.0" -api "ai.djl:basicdataset:0.29.0" +api "ai.djl:api:0.30.0" +api "ai.djl:basicdataset:0.30.0" ``` There are four parts we need to implement for CSVDataset. diff --git a/docs/get.md b/docs/get.md index d1e3f328fcc..84372886934 100644 --- a/docs/get.md +++ b/docs/get.md @@ -99,7 +99,7 @@ dependencies { implementation platform("ai.djl:bom:-SNAPSHOT") } ``` -Currently, the ` = 0.29.0`. +Currently, the ` = 0.30.0`. This snapshot version is the same as the custom DJL repository. You also need to change directory to `djl/bom`. Then build and publish it to maven local same as what was done in `djl`. diff --git a/docs/hybrid_engine.md b/docs/hybrid_engine.md index d63340aa4d6..5c7d0e0d965 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.29.0" +runtimeOnly "ai.djl.mxnet:mxnet-engine:0.30.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.29.0" +runtimeOnly "ai.djl.pytorch:pytorch-engine:0.30.0" ``` ``` -runtimeOnly "ai.djl.tensorflow:tensorflow-engine:0.29.0" +runtimeOnly "ai.djl.tensorflow:tensorflow-engine:0.30.0" ``` ## How Hybrid works diff --git a/docs/load_model.md b/docs/load_model.md index 25af7c8c5de..8f281b7d6d8 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.29.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.30.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 3500f954666..97a0d4fac86 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.29.0 +- ai.djl.ml.lightgbm:lightgbm:0.30.0 ```xml ai.djl.ml.lightgbm lightgbm - 0.29.0 + 0.30.0 runtime ``` diff --git a/engines/ml/xgboost/README.md b/engines/ml/xgboost/README.md index 2a1fdf22ef1..4d9c50176dd 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.29.0 +- ai.djl.ml.xgboost:xgboost:0.30.0 ```xml ai.djl.ml.xgboost xgboost - 0.29.0 + 0.30.0 runtime ``` diff --git a/engines/mxnet/mxnet-engine/README.md b/engines/mxnet/mxnet-engine/README.md index 2a1b2641730..8c6527a51ce 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.29.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.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-). ## 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.29.0 + 0.30.0 runtime ``` diff --git a/engines/mxnet/mxnet-model-zoo/README.md b/engines/mxnet/mxnet-model-zoo/README.md index 8f45796ecc0..33b99ad7621 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.29.0 + 0.30.0 ``` diff --git a/engines/onnxruntime/onnxruntime-android/README.md b/engines/onnxruntime/onnxruntime-android/README.md index a2027d5fa4b..2782f0de1a1 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.29.0 +- ai.djl.android:onnxruntime:0.30.0 ```xml ai.djl.android onnxruntime - 0.29.0 + 0.30.0 runtime ``` diff --git a/engines/onnxruntime/onnxruntime-engine/README.md b/engines/onnxruntime/onnxruntime-engine/README.md index e75f892a375..5c1c945b6b7 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.29.0 +- ai.djl.onnxruntime:onnxruntime-engine:0.30.0 ```xml ai.djl.onnxruntime onnxruntime-engine - 0.29.0 + 0.30.0 runtime ``` @@ -61,7 +61,7 @@ Maven: ai.djl.onnxruntime onnxruntime-engine - 0.29.0 + 0.30.0 runtime @@ -81,7 +81,7 @@ Maven: Gradle: ```groovy -implementation("ai.djl.onnxruntime:onnxruntime-engine:0.29.0") { +implementation("ai.djl.onnxruntime:onnxruntime-engine:0.30.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 f9c5a916a25..4b63eda8ecc 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.29.0 +- ai.djl.pytorch:pytorch-engine:0.30.0 ```xml ai.djl.pytorch pytorch-engine - 0.29.0 + 0.30.0 runtime ``` diff --git a/engines/pytorch/pytorch-model-zoo/README.md b/engines/pytorch/pytorch-model-zoo/README.md index d58658b6192..e9b2f7301f7 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.29.0 + 0.30.0 ``` diff --git a/engines/tensorflow/tensorflow-api/README.md b/engines/tensorflow/tensorflow-api/README.md index 204f116307a..fdbbf4efe11 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.29.0 + 0.30.0 ``` diff --git a/engines/tensorflow/tensorflow-engine/README.md b/engines/tensorflow/tensorflow-engine/README.md index d977f2ce2f3..a0675231aaf 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.29.0 +- ai.djl.tensorflow:tensorflow-engine:0.30.0 ```xml ai.djl.tensorflow tensorflow-engine - 0.29.0 + 0.30.0 runtime ``` diff --git a/engines/tensorflow/tensorflow-model-zoo/README.md b/engines/tensorflow/tensorflow-model-zoo/README.md index b11da5d6321..0d7a2f8d3a2 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.29.0 + 0.30.0 ``` diff --git a/engines/tensorrt/README.md b/engines/tensorrt/README.md index 7c1471eeb7c..ecaafcc0da0 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.29.0 +- ai.djl.tensorrt:tensorrt:0.30.0 ```xml ai.djl.tensorrt tensorrt - 0.29.0 + 0.30.0 runtime ``` diff --git a/extensions/audio/README.md b/extensions/audio/README.md index 5080694119e..381798a30f0 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.29.0 + 0.30.0 ``` diff --git a/extensions/aws-ai/README.md b/extensions/aws-ai/README.md index 175de887104..ac586532bac 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.29.0 + 0.30.0 ``` diff --git a/extensions/fasttext/README.md b/extensions/fasttext/README.md index 875583d0d5e..d867ba9a338 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.29.0 + 0.30.0 ``` diff --git a/extensions/hadoop/README.md b/extensions/hadoop/README.md index 591cadd5ace..e180beebf8f 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.29.0 + 0.30.0 ``` diff --git a/extensions/opencv/README.md b/extensions/opencv/README.md index 5e656341a6f..5d2abeaf4ff 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.29.0 + 0.30.0 ``` diff --git a/extensions/sentencepiece/README.md b/extensions/sentencepiece/README.md index 0b599d05915..7733ef4c4b5 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.29.0 + 0.30.0 ``` diff --git a/extensions/spark/README.md b/extensions/spark/README.md index 3b52b9f3091..e6024b73f92 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.29.0 + 0.30.0 ``` diff --git a/extensions/tablesaw/README.md b/extensions/tablesaw/README.md index eb1925637c1..9ee58aded93 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.29.0 + 0.30.0 ``` diff --git a/extensions/timeseries/README.md b/extensions/timeseries/README.md index e5798263ea5..f52edb77ac5 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.29.0 + 0.30.0 ``` diff --git a/extensions/timeseries/docs/forecast_with_M5_data.md b/extensions/timeseries/docs/forecast_with_M5_data.md index 64edac0dc86..1e92dfbe7ca 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.29.0") + implementation platform("ai.djl:bom:0.30.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 7f6d2f27702..2823d3c80af 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.29.0 + 0.30.0 ``` diff --git a/model-zoo/README.md b/model-zoo/README.md index 13940300275..647e07d76d6 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.29.0 + 0.30.0 ```