You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ts...@apache.org on 2024/06/19 11:01:45 UTC

(camel) branch main updated: camel-djl - Remove discontinued -native-auto dependencies

This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new c68165858dd camel-djl - Remove discontinued -native-auto dependencies
c68165858dd is described below

commit c68165858dda03f694a901c292e1f13725e8fc27
Author: Tadayoshi Sato <sa...@gmail.com>
AuthorDate: Wed Jun 19 16:20:03 2024 +0900

    camel-djl - Remove discontinued -native-auto dependencies
    
    Since DJL 0.14.0 the engines can automatically resolve the appropriate
    native library for the platform and no need for including the
    -native-auto libraries in the Camel component.
    https://docs.djl.ai/engines/pytorch/pytorch-engine/index.html#installation
---
 components/camel-ai/camel-djl/pom.xml | 18 ------------------
 parent/pom.xml                        |  3 ---
 2 files changed, 21 deletions(-)

diff --git a/components/camel-ai/camel-djl/pom.xml b/components/camel-ai/camel-djl/pom.xml
index 6c723451263..973f1b4eab2 100644
--- a/components/camel-ai/camel-djl/pom.xml
+++ b/components/camel-ai/camel-djl/pom.xml
@@ -73,12 +73,6 @@
             <version>${djl-version}</version>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>ai.djl.mxnet</groupId>
-            <artifactId>mxnet-native-auto</artifactId>
-            <version>${djl-mxnet-native-version}</version>
-            <scope>runtime</scope>
-        </dependency>
 
         <!-- Pytorch Engine -->
         <dependency>
@@ -93,12 +87,6 @@
             <version>${djl-version}</version>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>ai.djl.pytorch</groupId>
-            <artifactId>pytorch-native-auto</artifactId>
-            <version>${djl-pytorch-native-version}</version>
-            <scope>runtime</scope>
-        </dependency>
 
         <!-- Tensorflow Engine -->
         <dependency>
@@ -119,12 +107,6 @@
             <version>${djl-version}</version>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>ai.djl.tensorflow</groupId>
-            <artifactId>tensorflow-native-auto</artifactId>
-            <version>${djl-tensorflow-native-version}</version>
-            <scope>runtime</scope>
-        </dependency>
 
         <!-- testing -->
         <dependency>
diff --git a/parent/pom.xml b/parent/pom.xml
index 26bc9e9795d..807d8828305 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -138,9 +138,6 @@
         <disruptor-version>3.4.4</disruptor-version>
         <dnsjava-version>3.5.3</dnsjava-version>
         <djl-version>0.28.0</djl-version>
-        <djl-mxnet-native-version>1.8.0</djl-mxnet-native-version>
-        <djl-pytorch-native-version>1.9.1</djl-pytorch-native-version>
-        <djl-tensorflow-native-version>2.4.1</djl-tensorflow-native-version>
         <docker-java-version>3.3.6</docker-java-version>
         <dropbox-version>7.0.0</dropbox-version>
         <eddsa-version>0.3.0</eddsa-version>