Skip to content

Commit

Permalink
Merge pull request #1807 from shadowdragon89/cp_r2.4_20210204_113128
Browse files Browse the repository at this point in the history
Cherry pick the potential test fix to 2.4
  • Loading branch information
shadowdragon89 authored Feb 4, 2021
2 parents 8300bd1 + 644baeb commit ac3a2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow_serving/tools/docker/tests/docker_test_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function test_docker_image {
local docker_opts=" --privileged=true --rm -t -p ${rest_port}:${rest_port}"
docker_opts+=" -v ${MODEL_FULL_PATH}:${model_base_path}"
if [ "$USE_NVIDIA_RUNTIME" = true ]; then
docker_opts+=" --runtime=nvidia"
docker_opts+=" --runtime=nvidia --gpus all"
fi

if [[ "$IS_MKL_IMAGE" = true ]]; then
Expand Down

0 comments on commit ac3a2eb

Please sign in to comment.