Skip to content

Commit

Permalink
Update to DJL 0.23.0 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyang16 authored Aug 4, 2023
1 parent ea79178 commit d42ec16
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
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

0 comments on commit d42ec16

Please sign in to comment.