mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-07 09:31:35 +08:00
[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:
2
serving/Dockerfile
Normal file → Executable file
2
serving/Dockerfile
Normal file → Executable file
@@ -13,7 +13,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
FROM nvidia/cuda:11.6.1-cudnn8-devel-ubuntu20.04
|
||||
FROM nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04
|
||||
|
||||
ARG http_proxy
|
||||
ARG https_proxy
|
||||
|
2
serving/scripts/build.sh
Normal file → Executable file
2
serving/scripts/build.sh
Normal file → Executable 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}
|
||||
|
Reference in New Issue
Block a user