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

pin torchserve version. #1037

Merged
merged 1 commit into from
Dec 13, 2023
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
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 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.4 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:latest
image: iqtlabs/cuda-torchserve:v0.0.4
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:latest
image: iqtlabs/torchserve:v0.0.4
networks:
- gamutrf
ports:
Expand Down
Loading