Skip to content

Commit 644baeb

Browse files
Make Internal Change
PiperOrigin-RevId: 355546760 (cherry picked from commit f92ac94)
1 parent 8300bd1 commit 644baeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow_serving/tools/docker/tests/docker_test_lib.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function test_docker_image {
138138
local docker_opts=" --privileged=true --rm -t -p ${rest_port}:${rest_port}"
139139
docker_opts+=" -v ${MODEL_FULL_PATH}:${model_base_path}"
140140
if [ "$USE_NVIDIA_RUNTIME" = true ]; then
141-
docker_opts+=" --runtime=nvidia"
141+
docker_opts+=" --runtime=nvidia --gpus all"
142142
fi
143143

144144
if [[ "$IS_MKL_IMAGE" = true ]]; then

0 commit comments

Comments
 (0)