We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5de9196 commit efdaebfCopy full SHA for efdaebf
kubernetes/tests/scripts/test_mnist.sh
@@ -5,7 +5,8 @@ set -o errexit -o nounset -o pipefail
5
ACCEPTABLE_CPU_CORE_USAGE=2
6
DOCKER_IMAGE=pytorch/torchserve-nightly:latest-gpu
7
8
-# Get relative path of example dir
+# Get relative path of example dir with respect to root
9
+# Ex: if ROOT_DIR is ~/serve , EXAMPLE_DIR is ./kubernetes/tests/scripts
10
EXAMPLE_DIR=$(dirname "$(readlink -f "$0")")
11
ROOT_DIR=${EXAMPLE_DIR}/../../../
12
ROOT_DIR=$(realpath "$ROOT_DIR")
0 commit comments