Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to DJL 0.23.0 #34

Merged
merged 1 commit into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions djl-spring-boot-console-sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>ai.djl.spring.examples</groupId>
<artifactId>djl-spring-boot-console-sample</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>

<properties>
<java.version>11</java.version>
Expand All @@ -20,12 +20,12 @@
<dependency>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-autoconfigure</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-pytorch-auto</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
Expand Down
6 changes: 3 additions & 3 deletions djl-spring-boot-starter-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-parent</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
<relativePath>../djl-spring-boot-starter-parent</relativePath>
</parent>
<artifactId>djl-spring-boot-starter-autoconfigure</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
<name>djl-spring-boot-starter-autoconfigure</name>
<description>DJL Spring Boot starter project</description>

Expand All @@ -27,7 +27,7 @@
<dependency>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-mxnet-auto</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion djl-spring-boot-starter-mxnet-auto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-parent</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
<relativePath>../djl-spring-boot-starter-parent</relativePath>
</parent>
<artifactId>djl-spring-boot-starter-mxnet-auto</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion djl-spring-boot-starter-mxnet-linux-x86_64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-parent</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
<relativePath>../djl-spring-boot-starter-parent</relativePath>
</parent>
<artifactId>djl-spring-boot-starter-mxnet-linux-x86_64</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion djl-spring-boot-starter-mxnet-osx-x86_64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-parent</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
<relativePath>../djl-spring-boot-starter-parent</relativePath>
</parent>
<artifactId>djl-spring-boot-starter-mxnet-osx-x86_64</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions djl-spring-boot-starter-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-parent</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
<name>djl-spring-boot-starter-parent</name>
<description>DJL starter project for Spring Boot</description>
<packaging>pom</packaging>
Expand All @@ -34,7 +34,7 @@
</distributionManagement>

<properties>
<djl.version>0.21.0</djl.version>
<djl.version>0.23.0</djl.version>
<java.version>11</java.version>
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.1.0</maven-source-plugin.version>
Expand Down
2 changes: 1 addition & 1 deletion djl-spring-boot-starter-pytorch-auto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-parent</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
<relativePath>../djl-spring-boot-starter-parent</relativePath>
</parent>
<artifactId>djl-spring-boot-starter-pytorch-auto</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion djl-spring-boot-starter-tensorflow-auto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-parent</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
<relativePath>../djl-spring-boot-starter-parent</relativePath>
</parent>
<artifactId>djl-spring-boot-starter-tensorflow-auto</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion docs/walkthrough/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ <h2 id="4-simple-application-walkthrough">4. Simple Application Walkthrough</h2>
&gt; ../mvnw spring-boot:run
</div></code></pre>
<p>Alternatively you can run it directly with <code>java -jar</code> command:</p>
<pre><code><code><div> java -jar target/djl-spring-boot-console-sample-0.21-SNAPSHOT.jar
<pre><code><code><div> java -jar target/djl-spring-boot-console-sample-0.23-SNAPSHOT.jar
</div></code></code></pre>
<h2 id="5-more-complex-application-example">5. More Complex Application Example</h2>
<p>Code Examples based on <a href="https://github.com/deepjavalibrary/djl-spring-boot-starter-demo/tree/master/djl-spring-boot-app/">REST API example leveraging DJL Spring Boot Starter</a> demonstrates a RESTful API that can take images from Amazon S3 bucket and stores the object detection results back in S3. This API represents a microservice capable of taking any image reference (uploaded to the predefined Amazon S3 bucket) and run object detection on it. This API could be leveraged directly through REST API clients like Postman, or within a mobile or web application.</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/walkthrough/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Assuming you have checked out the repository and are now in the root of the repo
Alternatively you can run it directly with `java -jar` command:

```
java -jar target/djl-spring-boot-console-sample-0.21-SNAPSHOT.jar
java -jar target/djl-spring-boot-console-sample-0.23-SNAPSHOT.jar
```

## 5. More Complex Application Example
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>ai.djl.spring</groupId>
<artifactId>djl-spring-boot-starter-project</artifactId>
<version>0.21-SNAPSHOT</version>
<version>0.23-SNAPSHOT</version>
<name>djl-spring-boot-starter-project</name>
<description>DJL starter project for Spring Boot</description>
<packaging>pom</packaging>
Expand Down