Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
2714fc7e
P
Paddle
项目概览
BaiXuePrincess
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
2714fc7e
编写于
8月 03, 2021
作者:
P
pangyoki
提交者:
GitHub
8月 03, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[docker] delete install_trt in release docker (#34266)
* delete install_trt in release docker * fix whl package path
上级
45fa14f5
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
15 deletion
+4
-15
tools/dockerfile/Dockerfile.release18
tools/dockerfile/Dockerfile.release18
+0
-1
tools/dockerfile/ubuntu16_release.sh
tools/dockerfile/ubuntu16_release.sh
+2
-10
tools/dockerfile/ubuntu18_release.sh
tools/dockerfile/ubuntu18_release.sh
+2
-4
未找到文件。
tools/dockerfile/Dockerfile.release18
浏览文件 @
2714fc7e
...
...
@@ -27,7 +27,6 @@ RUN apt-get update && \
# Downgrade gcc&&g++
WORKDIR /usr/bin
COPY tools/dockerfile/build_scripts /build_scripts
RUN bash /build_scripts/install_trt.sh
RUN bash /build_scripts/install_gcc.sh gcc82 && rm -rf /build_scripts
RUN cp gcc gcc.bak && cp g++ g++.bak && rm gcc && rm g++
RUN ln -s /usr/local/gcc-8.2/bin/gcc /usr/local/bin/gcc
...
...
tools/dockerfile/ubuntu16_release.sh
浏览文件 @
2714fc7e
...
...
@@ -22,7 +22,7 @@ function ref_whl(){
ref_gpu
=
gpu-cuda
${
ref_CUDA_MAJOR
}
-cudnn
${
CUDNN_MAJOR
}
install_gpu
=
"_gpu"
else
ref_gpu
=
"cpu
-avx
"
ref_gpu
=
"cpu"
install_gpu
=
""
fi
...
...
@@ -56,7 +56,7 @@ function ref_whl(){
ref_dev
=
2.1.0.dev0
ref_web
=
"https://paddle-wheel.bj.bcebos.com/
${
PADDLE_BRANCH
}
-
${
ref_gpu
}
-
${
ref_mkl
}${
ref_gcc
}
"
ref_web
=
"https://paddle-wheel.bj.bcebos.com/
${
PADDLE_BRANCH
}
/linux/linux-
${
ref_gpu
}
-
${
ref_mkl
}${
ref_gcc
}
-avx
"
if
[[
${
PADDLE_VERSION
}
==
"develop"
&&
${
WITH_GPU
}
==
"ON"
]]
;
then
ref_paddle37_whl
=
paddlepaddle
${
install_gpu
}
-
${
ref_dev
}${
ref_version
}
-cp37-cp37m-linux_x86_64
.whl
...
...
@@ -95,13 +95,6 @@ function install_gcc(){
}
# function install_jupyter() {
# if [[ ${WITH_NOTEBOOK} == "ON" ]];then
# # install jupyter notebook
# fi
# }
function
make_dockerfile
(){
sed
"s/<baseimg>/
${
docker_name
}
/g"
tools/dockerfile/Dockerfile.release16
>
Dockerfile.tmp
}
...
...
@@ -110,7 +103,6 @@ function make_dockerfile(){
function
main
(){
make_dockerfile
install_gcc
# install_jupyter
ref_whl
install_whl
}
...
...
tools/dockerfile/ubuntu18_release.sh
浏览文件 @
2714fc7e
...
...
@@ -22,7 +22,7 @@ function ref_whl(){
ref_gpu
=
gpu-cuda
${
ref_CUDA_MAJOR
}
-cudnn
${
CUDNN_MAJOR
}
install_gpu
=
"_gpu"
else
ref_gpu
=
"cpu
-avx
"
ref_gpu
=
"cpu"
install_gpu
=
""
fi
...
...
@@ -56,7 +56,7 @@ function ref_whl(){
ref_dev
=
2.1.0.dev0
ref_web
=
"https://paddle-wheel.bj.bcebos.com/
${
PADDLE_BRANCH
}
-
${
ref_gpu
}
-
${
ref_mkl
}${
ref_gcc
}
"
ref_web
=
"https://paddle-wheel.bj.bcebos.com/
${
PADDLE_BRANCH
}
/linux/linux-
${
ref_gpu
}
-
${
ref_mkl
}${
ref_gcc
}
-avx
"
if
[[
${
PADDLE_VERSION
}
==
"develop"
&&
${
WITH_GPU
}
==
"ON"
]]
;
then
ref_paddle37_whl
=
paddlepaddle
${
install_gpu
}
-
${
ref_dev
}${
ref_version
}
-cp37-cp37m-linux_x86_64
.whl
...
...
@@ -80,7 +80,6 @@ function install_gcc(){
if
[
"
${
gcc_version
}
"
==
"8.2.0"
]
;
then
sed
-i
's#<install_gcc>#WORKDIR /usr/bin \
COPY tools/dockerfile/build_scripts /build_scripts \
RUN bash /build_scripts/install_trt.sh \
RUN bash /build_scripts/install_gcc.sh gcc82 \&\& rm -rf /build_scripts \
RUN cp gcc gcc.bak \&\& cp g++ g++.bak \&\& rm gcc \&\& rm g++ \
RUN ln -s /usr/local/gcc-8.2/bin/gcc /usr/local/bin/gcc \
...
...
@@ -96,7 +95,6 @@ function install_gcc(){
}
function
make_dockerfile
(){
sed
"s/<baseimg>/
${
docker_name
}
/g"
tools/dockerfile/Dockerfile.release18
>
Dockerfile.tmp
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录