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

Bump up on repository versions #399

Merged
merged 1 commit into from
Dec 13, 2022
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
add a few fixes
  • Loading branch information
Qing Lan committed Dec 13, 2022
commit 6b35901ff24d7a1a74d9cadce003613854c3539c
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,20 @@ brew services stop djl-serving
For Ubuntu

```
curl -O https://publish.djl.ai/djl-serving/djl-serving_0.19.0-1_all.deb
sudo dpkg -i djl-serving_0.19.0-1_all.deb
curl -O https://publish.djl.ai/djl-serving/djl-serving_0.20.0-1_all.deb
sudo dpkg -i djl-serving_0.20.0-1_all.deb
```

For Windows

We are considering to create a `chocolatey` package for Windows. For the time being, you can
download djl-serving zip file from [here](https://publish.djl.ai/djl-serving/serving-0.19.0.zip).
download djl-serving zip file from [here](https://publish.djl.ai/djl-serving/serving-0.20.0.zip).

```
curl -O https://publish.djl.ai/djl-serving/serving-0.19.0.zip
unzip serving-0.19.0.zip
curl -O https://publish.djl.ai/djl-serving/serving-0.20.0.zip
unzip serving-0.20.0.zip
# start djl-serving
serving-0.19.0\bin\serving.bat
serving-0.20.0\bin\serving.bat
```

### Docker
Expand Down
2 changes: 1 addition & 1 deletion benchmark/snapcraft/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: djlbench
version: '0.19.0'
version: '0.20.0'
title: DJL Benhmark
license: Apache-2.0
summary: A machine learning benchmarking toolkit
Expand Down
4 changes: 2 additions & 2 deletions engines/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ The javadocs output is generated in the `build/doc/javadoc` folder.
## Installation
You can pull the Python engine from the central Maven repository by including the following dependency:

- ai.djl.java:java:0.19.0
- ai.djl.java:java:0.20.0

```xml
<dependency>
<groupId>ai.djl.java</groupId>
<artifactId>java</artifactId>
<version>0.19.0</version>
<version>0.20.0</version>
<scope>runtime</scope>
</dependency>
```
Expand Down
4 changes: 2 additions & 2 deletions engines/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ The javadocs output is generated in the `build/doc/javadoc` folder.
## Installation
You can pull the Python engine from the central Maven repository by including the following dependency:

- ai.djl.python:python:0.19.0
- ai.djl.python:python:0.20.0

```xml
<dependency>
<groupId>ai.djl.python</groupId>
<artifactId>python</artifactId>
<version>0.19.0</version>
<version>0.20.0</version>
<scope>runtime</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ systemProp.org.gradle.internal.http.connectionTimeout=60000
# FIXME: Workaround gradle publish issue: https://github.com/gradle/gradle/issues/11308
systemProp.org.gradle.internal.publish.checksums.insecure=true

djl_version=0.20.0
djl_version=0.21.0
onnxruntime_version=1.13.1
commons_cli_version=1.5.0
netty_version=4.1.85.Final
Expand Down
2 changes: 1 addition & 1 deletion serving/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for
# the specific language governing permissions and limitations under the License.
FROM ubuntu:20.04 AS base
ARG djl_version=0.20.0~SNAPSHOT
ARG djl_version=0.21.0~SNAPSHOT

COPY scripts scripts/
RUN mkdir -p /opt/djl/conf
Expand Down
4 changes: 2 additions & 2 deletions serving/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ mkdir models
cd models
curl -O https://resources.djl.ai/test-models/pytorch/bert_qa_jit.tar.gz

docker run -it --rm -v $PWD:/opt/ml/model -p 8080:8080 deepjavalibrary/djl-serving:0.19.0
docker run -it --rm -v $PWD:/opt/ml/model -p 8080:8080 deepjavalibrary/djl-serving:0.20.0
```

### GPU
Expand All @@ -52,5 +52,5 @@ mkdir models
cd models

curl -O https://resources.djl.ai/test-models/pytorch/bert_qa_inf1.tar.gz
docker run --device /dev/neuron0 -it --rm -v $PWD:/opt/ml/model -p 8080:8080 deepjavalibrary/djl-serving:0.19.0-inf1
docker run --device /dev/neuron0 -it --rm -v $PWD:/opt/ml/model -p 8080:8080 deepjavalibrary/djl-serving:0.20.0-inf1
```
2 changes: 1 addition & 1 deletion serving/docker/aarch64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for
# the specific language governing permissions and limitations under the License.
FROM arm64v8/ubuntu:20.04
ARG djl_version=0.20.0~SNAPSHOT
ARG djl_version=0.21.0~SNAPSHOT
ARG torch_version=1.13.0

EXPOSE 8080
Expand Down
2 changes: 1 addition & 1 deletion serving/docker/deepspeed.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# the specific language governing permissions and limitations under the License.
ARG version=11.6.1-cudnn8-devel-ubuntu20.04
FROM nvidia/cuda:$version
ARG djl_version=0.20.0~SNAPSHOT
ARG djl_version=0.21.0~SNAPSHOT
ARG torch_version=1.12.1
ARG accelerate_version=0.13.2
ARG deepspeed_wheel="https://publish.djl.ai/deepspeed/deepspeed-0.7.5%2Bbf16-py2.py3-none-any.whl"
Expand Down
2 changes: 1 addition & 1 deletion serving/docker/paddle-cu112.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for
# the specific language governing permissions and limitations under the License.
FROM paddlepaddle/paddle:2.3.2-gpu-cuda11.2-cudnn8
ARG djl_version=0.20.0~SNAPSHOT
ARG djl_version=0.21.0~SNAPSHOT

COPY scripts scripts/
RUN mkdir -p /opt/djl/conf
Expand Down
2 changes: 1 addition & 1 deletion serving/docker/pytorch-cu117.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ARG version=11.7.1-cudnn8-devel-ubuntu20.04

FROM nvidia/cuda:$version as base

ARG djl_version=0.20.0~SNAPSHOT
ARG djl_version=0.21.0~SNAPSHOT
ARG torch_version=1.13.0

RUN mkdir -p /opt/djl/conf
Expand Down
2 changes: 1 addition & 1 deletion serving/docker/pytorch-inf1.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for
# the specific language governing permissions and limitations under the License.
FROM ubuntu:20.04
ARG djl_version=0.20.0~SNAPSHOT
ARG djl_version=0.21.0~SNAPSHOT
ARG torch_version=1.12.1
EXPOSE 8080

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void testInstallDependency() throws IOException {
dm.installEngine("OnnxRuntime");
dm.installEngine("XGBoost");

dm.installDependency("ai.djl.pytorch:pytorch-jni:1.12.1-0.19.0");
dm.installDependency("ai.djl.pytorch:pytorch-jni:1.13.0-0.20.0");

Assert.assertThrows(() -> dm.installDependency("ai.djl.pytorch:pytorch-jni"));
}
Expand Down
2 changes: 1 addition & 1 deletion wlm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ You can pull the server from the central Maven repository by including the follo
<dependency>
<groupId>ai.djl.serving</groupId>
<artifactId>wlm</artifactId>
<version>0.19.0</version>
<version>0.20.0</version>
</dependency>
```