From b548ecacd04837f8a9a9928133a3fee3974b2c71 Mon Sep 17 00:00:00 2001 From: Frank Liu Date: Wed, 12 Jun 2024 12:24:21 -0700 Subject: [PATCH] [docs] Bump up DJL version to 0.28.0 (#3247) --- docs/development/example_dataset.md | 4 ++-- docs/hybrid_engine.md | 6 +++--- docs/load_model.md | 2 +- engines/ml/lightgbm/README.md | 4 ++-- engines/ml/xgboost/README.md | 4 ++-- engines/mxnet/mxnet-engine/README.md | 4 ++-- engines/mxnet/mxnet-model-zoo/README.md | 2 +- engines/onnxruntime/onnxruntime-android/README.md | 4 ++-- engines/onnxruntime/onnxruntime-engine/README.md | 8 ++++---- engines/pytorch/pytorch-model-zoo/README.md | 2 +- engines/tensorflow/tensorflow-api/README.md | 2 +- engines/tensorflow/tensorflow-engine/README.md | 4 ++-- engines/tensorflow/tensorflow-model-zoo/README.md | 2 +- engines/tensorrt/README.md | 4 ++-- extensions/audio/README.md | 2 +- extensions/aws-ai/README.md | 2 +- extensions/fasttext/README.md | 2 +- extensions/hadoop/README.md | 2 +- extensions/opencv/README.md | 2 +- extensions/sentencepiece/README.md | 2 +- extensions/spark/README.md | 2 +- extensions/tablesaw/README.md | 2 +- extensions/timeseries/README.md | 2 +- extensions/timeseries/docs/forecast_with_M5_data.md | 2 +- extensions/tokenizers/README.md | 2 +- model-zoo/README.md | 2 +- 26 files changed, 38 insertions(+), 38 deletions(-) diff --git a/docs/development/example_dataset.md b/docs/development/example_dataset.md index 2f9fb456e02..8ee5f98905b 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.27.0" -api "ai.djl:basicdataset:0.27.0" +api "ai.djl:api:0.28.0" +api "ai.djl:basicdataset:0.28.0" ``` There are four parts we need to implement for CSVDataset. diff --git a/docs/hybrid_engine.md b/docs/hybrid_engine.md index 938902424a0..132205f172c 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.27.0" +runtimeOnly "ai.djl.mxnet:mxnet-engine:0.28.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.27.0" +runtimeOnly "ai.djl.pytorch:pytorch-engine:0.28.0" ``` ``` -runtimeOnly "ai.djl.tensorflow:tensorflow-engine:0.27.0" +runtimeOnly "ai.djl.tensorflow:tensorflow-engine:0.28.0" ``` ## How Hybrid works diff --git a/docs/load_model.md b/docs/load_model.md index a282d251238..11c6321709b 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.27.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.28.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 b74fae73082..6744996dd95 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.27.0 +- ai.djl.ml.lightgbm:lightgbm:0.28.0 ```xml ai.djl.ml.lightgbm lightgbm - 0.27.0 + 0.28.0 runtime ``` diff --git a/engines/ml/xgboost/README.md b/engines/ml/xgboost/README.md index d10f770c956..d72e8d53557 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.27.0 +- ai.djl.ml.xgboost:xgboost:0.28.0 ```xml ai.djl.ml.xgboost xgboost - 0.27.0 + 0.28.0 runtime ``` diff --git a/engines/mxnet/mxnet-engine/README.md b/engines/mxnet/mxnet-engine/README.md index 92f94848550..fede00b2c93 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.27.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.28.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.27.0 + 0.28.0 runtime ``` diff --git a/engines/mxnet/mxnet-model-zoo/README.md b/engines/mxnet/mxnet-model-zoo/README.md index 8c03913c776..6302cf737db 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.27.0 + 0.28.0 ``` diff --git a/engines/onnxruntime/onnxruntime-android/README.md b/engines/onnxruntime/onnxruntime-android/README.md index 6e00ea2af60..565fb5e88e7 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.27.0 +- ai.djl.android:onnxruntime:0.28.0 ```xml ai.djl.android onnxruntime - 0.27.0 + 0.28.0 runtime ``` diff --git a/engines/onnxruntime/onnxruntime-engine/README.md b/engines/onnxruntime/onnxruntime-engine/README.md index 36a2f1a3cd1..e118387072e 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.27.0 +- ai.djl.onnxruntime:onnxruntime-engine:0.28.0 ```xml ai.djl.onnxruntime onnxruntime-engine - 0.27.0 + 0.28.0 runtime ``` @@ -61,7 +61,7 @@ Maven: ai.djl.onnxruntime onnxruntime-engine - 0.27.0 + 0.28.0 runtime @@ -81,7 +81,7 @@ Maven: Gradle: ```groovy -implementation("ai.djl.onnxruntime:onnxruntime-engine:0.27.0") { +implementation("ai.djl.onnxruntime:onnxruntime-engine:0.28.0") { exclude group: "com.microsoft.onnxruntime", module: "onnxruntime" } implementation "com.microsoft.onnxruntime:onnxruntime_gpu:1.17.1" diff --git a/engines/pytorch/pytorch-model-zoo/README.md b/engines/pytorch/pytorch-model-zoo/README.md index 41f677fdd6c..bdb7444de62 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.27.0 + 0.28.0 ``` diff --git a/engines/tensorflow/tensorflow-api/README.md b/engines/tensorflow/tensorflow-api/README.md index 12766d87669..a70a8943ab5 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.27.0 + 0.28.0 ``` diff --git a/engines/tensorflow/tensorflow-engine/README.md b/engines/tensorflow/tensorflow-engine/README.md index 17573ed7127..41ba43e0fe7 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.27.0 +- ai.djl.tensorflow:tensorflow-engine:0.28.0 ```xml ai.djl.tensorflow tensorflow-engine - 0.27.0 + 0.28.0 runtime ``` diff --git a/engines/tensorflow/tensorflow-model-zoo/README.md b/engines/tensorflow/tensorflow-model-zoo/README.md index 663f3ff840a..e45ef4c074a 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.27.0 + 0.28.0 ``` diff --git a/engines/tensorrt/README.md b/engines/tensorrt/README.md index f3844b18aa0..8efefa7990d 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.27.0 +- ai.djl.tensorrt:tensorrt:0.28.0 ```xml ai.djl.tensorrt tensorrt - 0.27.0 + 0.28.0 runtime ``` diff --git a/extensions/audio/README.md b/extensions/audio/README.md index 6ec5ade8feb..ffc4043788c 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.27.0 + 0.28.0 ``` diff --git a/extensions/aws-ai/README.md b/extensions/aws-ai/README.md index 95f7bf2568a..063d484dd4a 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.27.0 + 0.28.0 ``` diff --git a/extensions/fasttext/README.md b/extensions/fasttext/README.md index 16003dd3927..7276e3a981f 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.27.0 + 0.28.0 ``` diff --git a/extensions/hadoop/README.md b/extensions/hadoop/README.md index 38ed91747c8..f9db9724b97 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.27.0 + 0.28.0 ``` diff --git a/extensions/opencv/README.md b/extensions/opencv/README.md index c8f88a80475..db715f83c16 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.27.0 + 0.28.0 ``` diff --git a/extensions/sentencepiece/README.md b/extensions/sentencepiece/README.md index 2dba43c86a9..78afbf3c4a0 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.27.0 + 0.28.0 ``` diff --git a/extensions/spark/README.md b/extensions/spark/README.md index 957a3f8a3ff..0f384fd5c58 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.27.0 + 0.28.0 ``` diff --git a/extensions/tablesaw/README.md b/extensions/tablesaw/README.md index 8e092a3df61..e49e51e5715 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.27.0 + 0.28.0 ``` diff --git a/extensions/timeseries/README.md b/extensions/timeseries/README.md index f5629124a76..7c792779330 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.27.0 + 0.28.0 ``` diff --git a/extensions/timeseries/docs/forecast_with_M5_data.md b/extensions/timeseries/docs/forecast_with_M5_data.md index 4eb1587a66c..c0e05b1b8b7 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.27.0") + implementation platform("ai.djl:bom:0.28.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 a7d08306a49..b65c94aae39 100644 --- a/extensions/tokenizers/README.md +++ b/extensions/tokenizers/README.md @@ -23,7 +23,7 @@ You can pull the module from the central Maven repository by including the follo ai.djl.huggingface tokenizers - 0.27.0 + 0.28.0 ``` diff --git a/model-zoo/README.md b/model-zoo/README.md index 8dbf702eae5..dc9a00bf3c2 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.27.0 + 0.28.0 ```