We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8300bd1 + 644baeb commit ac3a2ebCopy full SHA for ac3a2eb
tensorflow_serving/tools/docker/tests/docker_test_lib.sh
@@ -138,7 +138,7 @@ function test_docker_image {
138
local docker_opts=" --privileged=true --rm -t -p ${rest_port}:${rest_port}"
139
docker_opts+=" -v ${MODEL_FULL_PATH}:${model_base_path}"
140
if [ "$USE_NVIDIA_RUNTIME" = true ]; then
141
- docker_opts+=" --runtime=nvidia"
+ docker_opts+=" --runtime=nvidia --gpus all"
142
fi
143
144
if [[ "$IS_MKL_IMAGE" = true ]]; then
0 commit comments