Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
40cf4bd1
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2297
Star
20931
Fork
5422
代码
文件
提交
分支
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
40cf4bd1
编写于
2月 19, 2020
作者:
D
Dianhai
提交者:
GitHub
2月 19, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update install_check.py
delete redundant information.
上级
43dd30b5
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
8 addition
and
8 deletion
+8
-8
python/paddle/fluid/install_check.py
python/paddle/fluid/install_check.py
+8
-8
未找到文件。
python/paddle/fluid/install_check.py
浏览文件 @
40cf4bd1
...
@@ -48,7 +48,7 @@ def run_check():
...
@@ -48,7 +48,7 @@ def run_check():
This func should not be called only if you need to verify installation
This func should not be called only if you need to verify installation
'''
'''
print
(
"Running Verify
Fluid
Program ... "
)
print
(
"Running Verify
Paddle
Program ... "
)
device_list
=
[]
device_list
=
[]
if
core
.
is_compiled_with_cuda
():
if
core
.
is_compiled_with_cuda
():
...
@@ -56,7 +56,7 @@ def run_check():
...
@@ -56,7 +56,7 @@ def run_check():
core
.
get_cuda_device_count
()
core
.
get_cuda_device_count
()
except
Exception
as
e
:
except
Exception
as
e
:
logging
.
warning
(
logging
.
warning
(
"You are using GPU version Paddle
Fluid
, But Your CUDA Device is not set properly"
"You are using GPU version Paddle, But Your CUDA Device is not set properly"
"
\n
Original Error is {}"
.
format
(
e
))
"
\n
Original Error is {}"
.
format
(
e
))
return
0
return
0
device_list
=
cuda_places
()
device_list
=
cuda_places
()
...
@@ -123,16 +123,16 @@ def run_check():
...
@@ -123,16 +123,16 @@ def run_check():
test_simple_exe
()
test_simple_exe
()
print
(
"Your Paddle
Fluid
works well on SINGLE GPU or CPU."
)
print
(
"Your Paddle works well on SINGLE GPU or CPU."
)
try
:
try
:
test_parallerl_exe
()
test_parallerl_exe
()
print
(
"Your Paddle
Fluid
works well on MUTIPLE GPU or CPU."
)
print
(
"Your Paddle works well on MUTIPLE GPU or CPU."
)
print
(
print
(
"Your Paddle
Fluid is installed successfully! Let's start deep Learning with Paddle Fluid
now"
"Your Paddle
is installed successfully! Let's start deep Learning with Paddle
now"
)
)
except
Exception
as
e
:
except
Exception
as
e
:
logging
.
warning
(
logging
.
warning
(
"Your Paddle
Fluid
has some problem with multiple GPU. This may be caused by:"
"Your Paddle has some problem with multiple GPU. This may be caused by:"
"
\n
1. There is only 1 or 0 GPU visible on your Device;"
"
\n
1. There is only 1 or 0 GPU visible on your Device;"
"
\n
2. No.1 or No.2 GPU or both of them are occupied now"
"
\n
2. No.1 or No.2 GPU or both of them are occupied now"
"
\n
3. Wrong installation of NVIDIA-NCCL2, please follow instruction on https://github.com/NVIDIA/nccl-tests "
"
\n
3. Wrong installation of NVIDIA-NCCL2, please follow instruction on https://github.com/NVIDIA/nccl-tests "
...
@@ -141,5 +141,5 @@ def run_check():
...
@@ -141,5 +141,5 @@ def run_check():
print
(
"
\n
Original Error is: {}"
.
format
(
e
))
print
(
"
\n
Original Error is: {}"
.
format
(
e
))
print
(
print
(
"Your Paddle
Fluid
is installed successfully ONLY for SINGLE GPU or CPU! "
"Your Paddle is installed successfully ONLY for SINGLE GPU or CPU! "
"
\n
Let's start deep Learning with Paddle
Fluid
now"
)
"
\n
Let's start deep Learning with Paddle now"
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录