[Serving]Support 11.2 CUDA (#1976)

* add workspace_size option

* support 11.2 cuda

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
This commit is contained in:
WJJ1995
2023-05-23 15:16:07 +08:00
committed by GitHub
parent 3e7cb88049
commit ee81605e5d
2 changed files with 2 additions and 2 deletions

2
serving/scripts/build.sh Normal file → Executable file
View File

@@ -86,7 +86,7 @@ nvidia-docker run -i --rm --name ${docker_name} \
-e "http_proxy=${http_proxy}" \
-e "https_proxy=${https_proxy}" \
-e "trt_version=${trt_version}"\
nvidia/cuda:11.6.1-cudnn8-devel-ubuntu20.04 \
nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04 \
bash -c \
'export https_proxy_tmp=${https_proxy}
export http_proxy_tmp=${http_proxy}