Skip to content

Commit d775087

Browse files
committed
Merge develop
2 parents a29b422 + d4570f0 commit d775087

File tree

583 files changed

+5178
-32473
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

583 files changed

+5178
-32473
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ services:
1212
os:
1313
- linux
1414
env:
15-
- JOB=doc
1615
- JOB=check_style
1716
- JOB=build_android
1817
addons:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ pip install paddlepaddle
2727
# Linux GPU cuda9cudnn7
2828
pip install paddlepaddle-gpu
2929
# Linux GPU cuda8cudnn7
30-
pip install paddlepaddle-gpu==0.14.0.post87
30+
pip install paddlepaddle-gpu==0.15.0.post87
3131
# Linux GPU cuda8cudnn5
32-
pip install paddlepaddle-gpu==0.14.0.post85
32+
pip install paddlepaddle-gpu==0.15.0.post85
3333
3434
# For installation on other platform, refer to http://paddlepaddle.org/
3535
```

cmake/external/mklml.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ INCLUDE(ExternalProject)
2929
SET(MKLML_PROJECT "extern_mklml")
3030
IF((NOT DEFINED MKLML_VER) OR (NOT DEFINED MKLML_URL))
3131
MESSAGE(STATUS "use pre defined download url")
32-
SET(MKLML_VER "mklml_lnx_2018.0.3.20180406" CACHE STRING "" FORCE)
32+
SET(MKLML_VER "mklml_lnx_2019.0.20180710" CACHE STRING "" FORCE)
3333
SET(MKLML_URL "http://paddlepaddledeps.cdn.bcebos.com/${MKLML_VER}.tgz" CACHE STRING "" FORCE)
3434
ENDIF()
3535
MESSAGE(STATUS "MKLML_VER: ${MKLML_VER}, MKLML_URL: ${MKLML_URL}")

cmake/generic.cmake

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ function(merge_static_libs TARGET_NAME)
211211
set(libfiles ${libfiles} $<TARGET_FILE:${lib}>)
212212
#endif()
213213
endforeach()
214-
214+
215215
# windows cmd return error in clean env.
216216
# COMMAND del "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_BUILD_TYPE}/${TARGET_NAME}.lib"
217217
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
@@ -255,7 +255,7 @@ function(cc_library TARGET_NAME)
255255
target_link_libraries(${TARGET_NAME} ${cc_library_DEPS})
256256
add_dependencies(${TARGET_NAME} ${cc_library_DEPS})
257257
endif()
258-
258+
259259
# cpplint code style
260260
foreach(source_file ${cc_library_SRCS})
261261
string(REGEX REPLACE "\\.[^.]*$" "" source ${source_file})
@@ -298,11 +298,10 @@ function(cc_test TARGET_NAME)
298298
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
299299
if (${cc_test_SERIAL})
300300
set_property(TEST ${TARGET_NAME} PROPERTY RUN_SERIAL 1)
301-
301+
endif()
302302
set_property(TEST ${TARGET_NAME} PROPERTY ENVIRONMENT FLAGS_cpu_deterministic=true)
303303
set_property(TEST ${TARGET_NAME} PROPERTY ENVIRONMENT FLAGS_init_allocated_mem=true)
304304
set_property(TEST ${TARGET_NAME} PROPERTY ENVIRONMENT FLAGS_cudnn_deterministic=true)
305-
endif()
306305
endif()
307306
endfunction(cc_test)
308307

@@ -366,11 +365,10 @@ function(nv_test TARGET_NAME)
366365
add_test(${TARGET_NAME} ${TARGET_NAME})
367366
if (nv_test_SERIAL)
368367
set_property(TEST ${TARGET_NAME} PROPERTY RUN_SERIAL 1)
369-
368+
endif()
370369
set_property(TEST ${TARGET_NAME} PROPERTY ENVIRONMENT FLAGS_cpu_deterministic=true)
371370
set_property(TEST ${TARGET_NAME} PROPERTY ENVIRONMENT FLAGS_init_allocated_mem=true)
372371
set_property(TEST ${TARGET_NAME} PROPERTY ENVIRONMENT FLAGS_cudnn_deterministic=true)
373-
endif()
374372
endif()
375373
endfunction(nv_test)
376374

@@ -558,26 +556,26 @@ function(paddle_protobuf_generate_cpp SRCS HDRS)
558556
set(${HDRS})
559557

560558
if (MOBILE_INFERENCE)
561-
set(EXTRA_FLAG "lite:")
559+
set(EXTRA_FLAG "lite:")
562560
else()
563-
set(EXTRA_FLAG "")
561+
set(EXTRA_FLAG "")
564562
endif()
565563

566564
foreach(FIL ${ARGN})
567565
get_filename_component(ABS_FIL ${FIL} ABSOLUTE)
568566
get_filename_component(FIL_WE ${FIL} NAME_WE)
569-
567+
570568
set(_protobuf_protoc_src "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.pb.cc")
571569
set(_protobuf_protoc_hdr "${CMAKE_CURRENT_BINARY_DIR}/${FIL_WE}.pb.h")
572570
list(APPEND ${SRCS} "${_protobuf_protoc_src}")
573571
list(APPEND ${HDRS} "${_protobuf_protoc_hdr}")
574-
572+
575573
add_custom_command(
576574
OUTPUT "${_protobuf_protoc_src}"
577575
"${_protobuf_protoc_hdr}"
578576

579577
COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_CURRENT_BINARY_DIR}"
580-
COMMAND ${PROTOBUF_PROTOC_EXECUTABLE}
578+
COMMAND ${PROTOBUF_PROTOC_EXECUTABLE}
581579
-I${CMAKE_CURRENT_SOURCE_DIR}
582580
--cpp_out "${EXTRA_FLAG}${CMAKE_CURRENT_BINARY_DIR}" ${ABS_FIL}
583581
DEPENDS ${ABS_FIL} protoc
@@ -646,7 +644,7 @@ function(grpc_library TARGET_NAME)
646644
get_filename_component(PROTO_PATH ${ABS_PROTO} PATH)
647645

648646
#FIXME(putcn): the follwoing line is supposed to generate *.pb.h and cc, but
649-
# somehow it didn't. line 602 to 604 is to patching this. Leaving this here
647+
# somehow it didn't. line 602 to 604 is to patching this. Leaving this here
650648
# for now to enable dist CI.
651649
protobuf_generate_cpp(grpc_proto_srcs grpc_proto_hdrs "${ABS_PROTO}")
652650
set(grpc_grpc_srcs "${CMAKE_CURRENT_BINARY_DIR}/${PROTO_WE}.grpc.pb.cc")

cmake/tensorrt.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ find_library(TENSORRT_LIBRARY NAMES libnvinfer.so libnvinfer.a
1818
if(TENSORRT_INCLUDE_DIR AND TENSORRT_LIBRARY)
1919
if(WITH_DSO)
2020
set(TENSORRT_FOUND ON)
21-
endif(WITH DSO)
21+
endif(WITH_DSO)
2222
else()
2323
set(TENSORRT_FOUND OFF)
2424
endif()

doc/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# For Readers and Developers
2+
3+
Thanks for reading PaddlePaddle documentation.
4+
5+
Since **September 17th, 2018**, the **0.15.0 and develop** documentation source has been moved to [Fluiddoc Repo](https://github.com/PaddlePaddle/Paddle) and updated in Fluiddoc Repo.
6+
7+
Please turn to Fluiddoc Repo for the latest documentation.

doc/fluid/CMakeLists.txt

Lines changed: 0 additions & 54 deletions
This file was deleted.

doc/fluid/api/CMakeLists.txt

Lines changed: 0 additions & 25 deletions
This file was deleted.

doc/fluid/api/average.rst

Lines changed: 0 additions & 16 deletions
This file was deleted.

doc/fluid/api/backward.rst

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)