From 0a5299c2a2a00a434eb5f60bc39f8538b8587924 Mon Sep 17 00:00:00 2001 From: Frank Liu Date: Tue, 7 Feb 2023 20:16:36 -0800 Subject: [PATCH] Upgrade dependencies versions (#2371) Upgrade LightGBM engine to 3.3.300 Upgrade XGBoost to 1.7.3 --- android/gradle.properties | 2 +- .../java/ai/djl/ml/xgboost/XgbModelTest.java | 2 +- extensions/opencv/build.gradle | 2 +- gradle.properties | 21 ++++++++++--------- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/android/gradle.properties b/android/gradle.properties index a2a419fb5e6..28b0f6e9f5a 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -18,4 +18,4 @@ android.useAndroidX=true # Automatically convert third-party libraries to use AndroidX android.enableJetifier=true djl_version=0.20.0 -pytorch_version=1.13.0 +pytorch_version=1.13.1 diff --git a/engines/ml/xgboost/src/test/java/ai/djl/ml/xgboost/XgbModelTest.java b/engines/ml/xgboost/src/test/java/ai/djl/ml/xgboost/XgbModelTest.java index 66c118bc46a..09f317e8531 100644 --- a/engines/ml/xgboost/src/test/java/ai/djl/ml/xgboost/XgbModelTest.java +++ b/engines/ml/xgboost/src/test/java/ai/djl/ml/xgboost/XgbModelTest.java @@ -54,7 +54,7 @@ public void downloadXGBoostModel() throws IOException { @Test public void testVersion() { Engine engine = Engine.getEngine("XGBoost"); - Assert.assertEquals("1.7.1", engine.getVersion()); + Assert.assertEquals("1.7.3", engine.getVersion()); } /* diff --git a/extensions/opencv/build.gradle b/extensions/opencv/build.gradle index 6c29f026a9a..238aa0b0c7f 100644 --- a/extensions/opencv/build.gradle +++ b/extensions/opencv/build.gradle @@ -2,7 +2,7 @@ group "ai.djl.opencv" dependencies { api project(":api") - api "org.openpnp:opencv:4.5.1-2" + api "org.openpnp:opencv:${openpnp_opencv_version}" testImplementation project(":testing") testRuntimeOnly "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_slf4j_version}" diff --git a/gradle.properties b/gradle.properties index fb499e139ec..7f703fe6505 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,26 +23,27 @@ paddlepaddle_version=2.3.2 sentencepiece_version=0.1.97 tokenizers_version=0.13.2 fasttext_version=0.9.2 -xgboost_version=1.7.1 -lightgbm_version=3.2.110 -rapis_version=22.04.0 +xgboost_version=1.7.3 +lightgbm_version=3.3.300 +rapis_version=22.12.0 commons_cli_version=1.5.0 commons_compress_version=1.22 -commons_csv_version=1.9.0 +commons_csv_version=1.10.0 commons_logging_version=1.2 -gson_version=2.10 -jna_version=5.12.1 +gson_version=2.10.1 +jna_version=5.13.0 slf4j_version=1.7.36 log4j_slf4j_version=2.19.0 -awssdk_version=2.18.21 +awssdk_version=2.19.32 hadoop_version=3.3.4 javacpp_version=1.5.6 protobuf_version=3.21.9 tablesaw_version=0.43.1 spark_version=3.2.2 +openpnp_opencv_version=4.6.0-0 -antlr_version=4.9.3 -testng_version=7.7.0 +antlr_version=4.11.1 +testng_version=7.7.1 junit_version=4.13.2 -mockito_version=4.8.0 +mockito_version=5.1.1