Skip to content

Commit

Permalink
Fix issue in docs: typo in dockerfile name, and typo in url. (#397)
Browse files Browse the repository at this point in the history
* Fix issue in docs: typo in dockerfile name, and typo in url.
Signed-off-by: John Zheng <john.zheng@hp.com>

Signed-off-by: John Zheng <john.zheng@hp.com>

* Update README.md

Signed-off-by: John Zheng  <johnzhengaz@gmail.com>
Signed-off-by: John Zheng <john.zheng@hp.com>

---------

Signed-off-by: John Zheng <john.zheng@hp.com>
Signed-off-by: John Zheng  <johnzhengaz@gmail.com>
  • Loading branch information
johnzheng1975 authored Oct 10, 2024
1 parent 7577d6c commit 2fb5470
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ImageTransformer(kserve.Model):
return infer_request
```

Please see the code example [here](https://github.com/kserve/kserve/tree/release-0.11/python/custom_transformer).
Please see the code example [here](https://github.com/kserve/kserve/tree/release-0.14/python/custom_transformer).

### Transformer Server Entrypoint
For single model you just create a transformer object and register that to the model server.
Expand Down Expand Up @@ -100,10 +100,10 @@ Kserve allows users to override the default logger configuration of serving runt
You can follow the [logger configuration documentation](../../custom/custom_model/README.md#configuring-logger-for-serving-runtime) to configure the logger.

### Build Transformer docker image
Under `kserve/python` directory, build the transformer docker image using [Dockerfile](https://github.com/kserve/kserve/blob/release-0.11/python/custom_transformer.Dockerfile)
Under `kserve/python` directory, build the transformer docker image using [Dockerfile](https://github.com/kserve/kserve/blob/release-0.14/python/custom_transformer.Dockerfile)
```bash
cd python
docker build -t $DOCKER_USER/image-transformer:latest -f transformer.Dockerfile .
docker build -t $DOCKER_USER/image-transformer:latest -f custom_transformer.Dockerfile .

docker push {username}/image-transformer:latest
```
Expand Down

0 comments on commit 2fb5470

Please sign in to comment.