Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
2b636166
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看板
未验证
提交
2b636166
编写于
2月 01, 2023
作者:
Z
zqw_1997
提交者:
GitHub
2月 01, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
nccl 2.7.8 to 2.10.3 (#50121)
上级
0855d982
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
9 addition
and
9 deletion
+9
-9
tools/dockerfile/build_scripts/install_nccl2.sh
tools/dockerfile/build_scripts/install_nccl2.sh
+9
-9
未找到文件。
tools/dockerfile/build_scripts/install_nccl2.sh
浏览文件 @
2b636166
...
@@ -17,18 +17,18 @@
...
@@ -17,18 +17,18 @@
VERSION
=
$(
nvcc
--version
|
grep
release |
grep
-oEi
"release ([0-9]+)
\.
([0-9])"
|
sed
"s/release //"
)
VERSION
=
$(
nvcc
--version
|
grep
release |
grep
-oEi
"release ([0-9]+)
\.
([0-9])"
|
sed
"s/release //"
)
if
[
"
$VERSION
"
==
"10.0"
]
;
then
if
[
"
$VERSION
"
==
"10.0"
]
;
then
DEB
=
"nccl-repo-ubuntu1604-2.4.7-ga-cuda10.0_1-1_amd64.deb"
DEB
=
"nccl-repo-ubuntu1604-2.4.7-ga-cuda10.0_1-1_amd64.deb"
elif
[
"
$VERSION
"
==
"10.2"
]
||
[
"
$VERSION
"
==
"10.1"
]
||
[
"
$VERSION
"
==
"11.0"
]
||
[
"
$VERSION
"
==
"11.2"
]
||
[
"
$VERSION
"
==
"11.3"
]
||
[
"
$VERSION
"
==
"11.4"
]
||
[
"
$VERSION
"
==
"11.5"
]
||
[
"
$VERSION
"
==
"11.6"
]
;
then
elif
[
"
$VERSION
"
==
"10.2"
]
||
[
"
$VERSION
"
==
"10.1"
]
||
[
"
$VERSION
"
==
"11.0"
]
||
[
"
$VERSION
"
==
"11.2"
]
||
[
"
$VERSION
"
==
"11.3"
]
||
[
"
$VERSION
"
==
"11.4"
]
||
[
"
$VERSION
"
==
"11.5"
]
||
[
"
$VERSION
"
==
"11.6"
]
||
[
"
$VERSION
"
==
"11.8"
]
;
then
if
[
-f
"/etc/redhat-release"
]
;
then
if
[
-f
"/etc/redhat-release"
]
;
then
rm
-f
/usr/local/lib/libnccl.so
rm
-f
/usr/local/lib/libnccl.so
wget
--no-check-certificate
-q
https://nccl2-deb.cdn.bcebos.com/libnccl-2.
7.8-1+cuda10.2
.x86_64.rpm
wget
--no-check-certificate
-q
https://nccl2-deb.cdn.bcebos.com/libnccl-2.
10.3-1+cuda11.4
.x86_64.rpm
wget
--no-check-certificate
-q
https://nccl2-deb.cdn.bcebos.com/libnccl-devel-2.
7.8-1+cuda10.2
.x86_64.rpm
wget
--no-check-certificate
-q
https://nccl2-deb.cdn.bcebos.com/libnccl-devel-2.
10.3-1+cuda11.4
.x86_64.rpm
wget
--no-check-certificate
-q
https://nccl2-deb.cdn.bcebos.com/libnccl-static-2.
7.8-1+cuda10.2
.x86_64.rpm
wget
--no-check-certificate
-q
https://nccl2-deb.cdn.bcebos.com/libnccl-static-2.
10.3-1+cuda11.4
.x86_64.rpm
rpm
-
ivh
libnccl-2.7.8-1+cuda10.2
.x86_64.rpm
rpm
-
Fivh
libnccl-2.10.3-1+cuda11.4
.x86_64.rpm
rpm
-
ivh
libnccl-devel-2.7.8-1+cuda10.2
.x86_64.rpm
rpm
-
Fivh
libnccl-devel-2.10.3-1+cuda11.4
.x86_64.rpm
rpm
-
ivh
libnccl-static-2.7.8-1+cuda10.2
.x86_64.rpm
&&
rm
-f
libnccl-
*
rpm
-
Fivh
libnccl-static-2.10.3-1+cuda11.4
.x86_64.rpm
&&
rm
-f
libnccl-
*
exit
0
exit
0
fi
fi
DEB
=
"nccl-repo-ubuntu1
604-2.7.8-ga-cuda10.2_1
-1_amd64.deb"
DEB
=
"nccl-repo-ubuntu1
804-2.10.3-cuda11.4_1.0
-1_amd64.deb"
elif
[
"
$VERSION
"
==
"9.0"
]
;
then
elif
[
"
$VERSION
"
==
"9.0"
]
;
then
DEB
=
"nccl-repo-ubuntu1604-2.3.7-ga-cuda9.0_1-1_amd64.deb"
DEB
=
"nccl-repo-ubuntu1604-2.3.7-ga-cuda9.0_1-1_amd64.deb"
else
else
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录