Skip to content

Commit

Permalink
Updating readme to reflect version 0.20.0 -> 0.21.0 change (#508)
Browse files Browse the repository at this point in the history
* Updating readme to reflect version 0.20.0 -> 0.21.0 change

Co-authored-by: Frank Liu <frankfliu2000@gmail.com>
  • Loading branch information
skirdey and frankfliu authored Mar 1, 2023
1 parent 3caf921 commit 1e3a8f7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ brew services stop djl-serving
For Ubuntu

```
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
curl -O https://publish.djl.ai/djl-serving/djl-serving_0.21.0-1_all.deb
sudo dpkg -i djl-serving_0.21.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.20.0.zip).
download djl-serving zip file from [here](https://publish.djl.ai/djl-serving/serving-0.21.0.zip).

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

### Docker
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.20.0
- ai.djl.python:python:0.21.0

```xml
<dependency>
<groupId>ai.djl.python</groupId>
<artifactId>python</artifactId>
<version>0.20.0</version>
<version>0.21.0</version>
<scope>runtime</scope>
</dependency>
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* {@code DsNDManager} is the Python engine implementation of {@link NDManager}.
*
* <p>TODO: remove this class in 0.20.0
* <p>TODO: remove this class in 0.21.0
*/
public class DsNDManager extends PyNDManager {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public PyNDManager newSubManager(Device device) {
/** {@inheritDoc} */
@Override
public Engine getEngine() {
// FIXME: return engine in 0.20.0, and make this method final
// FIXME: return engine in 0.21.0, and make this method final
return Engine.getEngine("Python");
}

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.20.0
docker run -it --rm -v $PWD:/opt/ml/model -p 8080:8080 deepjavalibrary/djl-serving:0.21.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.20.0-inf1
docker run --device /dev/neuron0 -it --rm -v $PWD:/opt/ml/model -p 8080:8080 deepjavalibrary/djl-serving:0.21.0-inf1
```
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.13.0-0.20.0");
dm.installDependency("ai.djl.pytorch:pytorch-jni:1.13.1-0.21.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.20.0</version>
<version>0.21.0</version>
</dependency>
```

0 comments on commit 1e3a8f7

Please sign in to comment.