Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
aded3338
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 2 年 前同步成功
通知
2325
Star
20933
Fork
5424
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
aded3338
编写于
2月 16, 2023
作者:
C
chalsliu
提交者:
GitHub
2月 16, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update trt version to 8.5.3.1 (#50530)
上级
b7030257
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
6 addition
and
1 deletion
+6
-1
tools/dockerfile/build_scripts/install_trt.sh
tools/dockerfile/build_scripts/install_trt.sh
+5
-0
tools/dockerfile/ci_dockerfile.sh
tools/dockerfile/ci_dockerfile.sh
+1
-1
未找到文件。
tools/dockerfile/build_scripts/install_trt.sh
浏览文件 @
aded3338
...
@@ -41,6 +41,11 @@ elif [[ "$1" == "trt8431" ]];then
...
@@ -41,6 +41,11 @@ elif [[ "$1" == "trt8431" ]];then
tar
-zxf
TensorRT-8.4.3.1.Linux.x86_64-gnu.cuda-11.6.cudnn8.4.tar.gz
-C
/usr/local
tar
-zxf
TensorRT-8.4.3.1.Linux.x86_64-gnu.cuda-11.6.cudnn8.4.tar.gz
-C
/usr/local
cp
-rf
/usr/local/TensorRT-8.4.3.1/include/
*
/usr/include/
&&
cp
-rf
/usr/local/TensorRT-8.4.3.1/lib/
*
/usr/lib/
cp
-rf
/usr/local/TensorRT-8.4.3.1/include/
*
/usr/include/
&&
cp
-rf
/usr/local/TensorRT-8.4.3.1/lib/
*
/usr/lib/
rm
-f
TensorRT-8.4.3.1.Linux.x86_64-gnu.cuda-11.6.cudnn8.4.tar.gz
rm
-f
TensorRT-8.4.3.1.Linux.x86_64-gnu.cuda-11.6.cudnn8.4.tar.gz
elif
[[
"
$1
"
==
"trt8531"
]]
;
then
wget
-q
https://paddle-ci.gz.bcebos.com/TRT/TensorRT-8.5.3.1.Linux.x86_64-gnu.cuda-11.8.cudnn8.6.tar.gz
--no-check-certificate
--no-proxy
tar
-zxf
TensorRT-8.5.3.1.Linux.x86_64-gnu.cuda-11.8.cudnn8.6.tar.gz
-C
/usr/local
cp
-rf
/usr/local/TensorRT-8.5.3.1/include/
*
/usr/include/
&&
cp
-rf
/usr/local/TensorRT-8.5.3.1/lib/
*
/usr/lib/
rm
-f
TensorRT-8.5.3.1.Linux.x86_64-gnu.cuda-11.8.cudnn8.6.tar.gz
elif
[[
"
$VERSION
"
==
"11.2"
]]
;
then
elif
[[
"
$VERSION
"
==
"11.2"
]]
;
then
wget
-q
--no-proxy
https://paddle-ci.gz.bcebos.com/TRT/TensorRT7-cuda11.1-cudnn8.1.tar.gz
--no-check-certificate
wget
-q
--no-proxy
https://paddle-ci.gz.bcebos.com/TRT/TensorRT7-cuda11.1-cudnn8.1.tar.gz
--no-check-certificate
tar
-zxf
TensorRT7-cuda11.1-cudnn8.1.tar.gz
-C
/usr/local
tar
-zxf
TensorRT7-cuda11.1-cudnn8.1.tar.gz
-C
/usr/local
...
...
tools/dockerfile/ci_dockerfile.sh
浏览文件 @
aded3338
...
@@ -139,7 +139,7 @@ function make_ce_framework_dockcerfile(){
...
@@ -139,7 +139,7 @@ function make_ce_framework_dockcerfile(){
RUN ln -s /usr/local/gcc-8.2/bin/gcc /usr/bin/gcc
\\
RUN ln -s /usr/local/gcc-8.2/bin/gcc /usr/bin/gcc
\\
RUN ln -s /usr/local/gcc-8.2/bin/g++ /usr/bin/g++
\\
RUN ln -s /usr/local/gcc-8.2/bin/g++ /usr/bin/g++
\\
ENV PATH=/usr/local/gcc-8.2/bin:
\$
PATH #g"
${
dockerfile_name
}
ENV PATH=/usr/local/gcc-8.2/bin:
\$
PATH #g"
${
dockerfile_name
}
sed
-i
's#RUN bash /build_scripts/install_trt.sh#RUN bash /build_scripts/install_trt.sh
trt8406
#g'
${
dockerfile_name
}
sed
-i
's#RUN bash /build_scripts/install_trt.sh#RUN bash /build_scripts/install_trt.sh
trt8531
#g'
${
dockerfile_name
}
sed
-i
's#28/af/2c76c8aa46ccdf7578b83d97a11a2d1858794d4be4a1610ade0d30182e8b/pip-20.0.1.tar.gz#b7/2d/ad02de84a4c9fd3b1958dc9fb72764de1aa2605a9d7e943837be6ad82337/pip-21.0.1.tar.gz#g'
${
dockerfile_name
}
sed
-i
's#28/af/2c76c8aa46ccdf7578b83d97a11a2d1858794d4be4a1610ade0d30182e8b/pip-20.0.1.tar.gz#b7/2d/ad02de84a4c9fd3b1958dc9fb72764de1aa2605a9d7e943837be6ad82337/pip-21.0.1.tar.gz#g'
${
dockerfile_name
}
sed
-i
's#pip-20.0.1#pip-21.0.1#g'
${
dockerfile_name
}
sed
-i
's#pip-20.0.1#pip-21.0.1#g'
${
dockerfile_name
}
sed
-i
's#python setup.py install#python3.7 setup.py install#g'
${
dockerfile_name
}
sed
-i
's#python setup.py install#python3.7 setup.py install#g'
${
dockerfile_name
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录