mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
* Fix: Change folder structure - move torchserve from custom to v1beta1 -> custom * Fix: Update readme for samples * Fix: Update readme with links and description for torchserve
13 lines
197 B
Bash
13 lines
197 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
if [[ "$1" = "serve" ]]; then
|
|
shift 1
|
|
torchserve --start --ts-config /home/model-server/config.properties
|
|
else
|
|
eval "$@"
|
|
fi
|
|
|
|
# prevent docker exit
|
|
tail -f /dev/null
|