Skip to content

Commit ac3a2eb

Browse files
Merge pull request #1807 from shadowdragon89/cp_r2.4_20210204_113128
Cherry pick the potential test fix to 2.4
2 parents 8300bd1 + 644baeb commit ac3a2eb

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)