Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
dbfc8690
A
apollo
项目概览
Pinoxchio
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
dbfc8690
编写于
5月 07, 2020
作者:
L
Liu Jiaming
提交者:
Xiangquan Xiao
5月 07, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
TensorRT version bumped from 5.x to 7.0.0.11
上级
5c728fd2
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
59 addition
and
1 deletion
+59
-1
docker/build/installers/install_tensorrt_temp.sh
docker/build/installers/install_tensorrt_temp.sh
+49
-0
docker/build/tensorrt7.x86_64.dockerfile
docker/build/tensorrt7.x86_64.dockerfile
+8
-0
docker/scripts/dev_start.sh
docker/scripts/dev_start.sh
+1
-1
third_party/tensorrt.BUILD
third_party/tensorrt.BUILD
+1
-0
未找到文件。
docker/build/installers/install_tensorrt_temp.sh
0 → 100755
浏览文件 @
dbfc8690
#!/usr/bin/env bash
###############################################################################
# Copyright 2020 The Apollo Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
###############################################################################
# Fail on first error.
set
-e
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
VERSION
=
"7.0.0.11"
PKG_NAME
=
"TensorRT-
${
VERSION
}
.Ubuntu-18.04.x86_64-gnu.cuda-10.0.cudnn7.6.tar.gz"
# Note(storypku)
# Download the TensorRT7 tarball from nvidia.com, and start the http
# server right at the archive directory:
# python3 -m http.server 8081
DOWNLOAD_LINK
=
"http://my_host_ip:8081/
${
PKG_NAME
}
"
wget
"
${
DOWNLOAD_LINK
}
"
tar
xzf
"
${
PKG_NAME
}
"
pushd
/usr/lib/x86_64-linux-gnu
rm
-rf
libnvcaffe_parser
*
libnvinfer
*
libnvonnxparser.so
*
libnvparsers
*
popd
rm
-rf
/usr/include/tensorrt
pushd
TensorRT-
${
VERSION
}
mv
include /usr/include/tensorrt
mv
lib/
*
/usr/lib/x86_64-linux-gnu/
popd
rm
-rf
${
PKG_NAME
}
TensorRT-
${
VERSION
}
docker/build/tensorrt7.x86_64.dockerfile
0 → 100644
浏览文件 @
dbfc8690
FROM
apolloauto/apollo:dev-18.04-x86_64-20200428_2300
ENV
DEBIAN_FRONTEND=noninteractive
COPY
installers /tmp/installers
RUN
sudo
bash /tmp/installers/install_tensorrt_temp.sh
WORKDIR
/apollo
USER
apollo
docker/scripts/dev_start.sh
浏览文件 @
dbfc8690
...
...
@@ -21,7 +21,7 @@ FAST_BUILD_MODE="no"
FAST_TEST_MODE
=
"no"
VERSION
=
""
ARCH
=
$(
uname
-m
)
VERSION_X86_64
=
"dev-18.04-x86_64-20200
428_2300
"
VERSION_X86_64
=
"dev-18.04-x86_64-20200
507_0633
"
VERSION_AARCH64
=
"dev-aarch64-20170927_1111"
VERSION_OPT
=
""
NO_PULL_IMAGE
=
""
...
...
third_party/tensorrt.BUILD
浏览文件 @
dbfc8690
...
...
@@ -29,6 +29,7 @@ cc_library(
},
no_match_error = "Please Build with an ARM or Linux x86_64 platform",
) + [
"-lmyelin",
"-lnvcaffe_parser",
"-lnvinfer",
"-lnvinfer_plugin",
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录