Skip to content

Commit

Permalink
Update install_check.py
Browse files Browse the repository at this point in the history
delete redundant information.
  • Loading branch information
raindrops2sea committed Feb 19, 2020
1 parent 43dd30b commit 40cf4bd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions python/paddle/fluid/install_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ def run_check():
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 = []
if core.is_compiled_with_cuda():
try:
core.get_cuda_device_count()
except Exception as e:
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))
return 0
device_list = cuda_places()
Expand Down Expand Up @@ -123,16 +123,16 @@ def 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:
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(
"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:
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 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 "
Expand All @@ -141,5 +141,5 @@ def test_simple_exe():

print("\n Original Error is: {}".format(e))
print(
"Your Paddle Fluid is installed successfully ONLY for SINGLE GPU or CPU! "
"\n Let's start deep Learning with Paddle Fluid now")
"Your Paddle is installed successfully ONLY for SINGLE GPU or CPU! "
"\n Let's start deep Learning with Paddle now")

0 comments on commit 40cf4bd

Please sign in to comment.