Skip to content

Commit

Permalink
Merge pull request #1038 from anarkiwi/ts2
Browse files Browse the repository at this point in the history
torchserve 0.0.5.
  • Loading branch information
anarkiwi authored Dec 13, 2023
2 parents ff30193 + bf408e2 commit 97a20de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_torchserve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ torch-model-archiver --force --model-name yolov8n --version 1.0 --serialized-fil
rm -rf model_store && mkdir model_store
mv yolov8n.mar model_store/
# TODO: --runtime nvidia is required for Orin, --gpus all for x86
docker run -v $(pwd)/model_store:/model_store -p 8080:8080 --rm --name testts --entrypoint timeout -d iqtlabs/torchserve:v0.0.4 180s /torchserve/torchserve-entrypoint.sh --models yolov8n=yolov8n.mar
docker run -v $(pwd)/model_store:/model_store -p 8080:8080 --rm --name testts --entrypoint timeout -d iqtlabs/torchserve:v0.0.5 180s /torchserve/torchserve-entrypoint.sh --models yolov8n=yolov8n.mar
PRED=$(wget -q --retry-connrefused --retry-on-host-error --body-file=persons.jpg --method=PUT -O- --header='Content-Type: image/jpg' http://127.0.0.1:8080/predictions/yolov8n | jq)
echo $PRED
if [ "$PRED" = "" ] ; then
Expand Down
2 changes: 1 addition & 1 deletion torchserve-cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ networks:
services:
torchserve:
restart: always
image: iqtlabs/cuda-torchserve:v0.0.4
image: iqtlabs/cuda-torchserve:v0.0.5
networks:
- gamutrf
ports:
Expand Down
2 changes: 1 addition & 1 deletion torchserve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ networks:
services:
torchserve:
restart: always
image: iqtlabs/torchserve:v0.0.4
image: iqtlabs/torchserve:v0.0.5
networks:
- gamutrf
ports:
Expand Down

0 comments on commit 97a20de

Please sign in to comment.