Skip to content

v0.11.0

Compare
Choose a tag to compare
@jacquesqiao jacquesqiao released this 09 Dec 03:11
· 42133 commits to develop since this release
6332b82

Fluid

Release v0.11.0 includes a new feature PaddlePaddle Fluid. Fluid is designed to allow users to program like PyTorch and TensorFlow Eager Execution. In these systems, there is no longer the concept model and applications do not include a symbolic description of a graph of operators nor a sequence of layers. Instead, applications look exactly like a usual program that describes a process of training or inference. The difference between Fluid and PyTorch or Eager Execution is that Fluid doesn't rely on Python's control-flow, if-then-else nor for. Instead, Fluid provides its C++ implementations and their Python binding using the with statement. For an example

https://github.com/PaddlePaddle/Paddle/blob/3df78ed2a98d37f7ae6725894cc7514effd5664b/python/paddle/v2/fluid/tests/test_while_op.py#L36-L44

In v0.11.0, we provides a C++ class Executor to run a Fluid program. Executor works like an interpreter. In future version, we will improve Executor into a debugger like GDB, and we might provide some compilers, which, for example, takes an application like the above one, and outputs an equivalent C++ source program, which can be compiled using nvcc to generate binaries that use CUDA, or using icc to generate binaries that make full use of Intel CPUs.

New Features

Improvements

  • Build and install using a single whl package.
  • Custom evaluating in V2 API.
  • Change PADDLE_ONLY_CPU to PADDLE_WITH_GPU, since we will support many kinds of devices.
  • Remove buggy BarrierStat.
  • Clean and remove unused functions in paddle::Parameter.
  • Remove ProtoDataProvider.
  • Huber loss supports both regression and classification.
  • Add the stride parameter for sequence pooling layers.
  • Enable v2 API use cudnn batch normalization automatically.
  • The BN layer's parameter can be shared by a fixed the parameter name.
  • Support variable-dimension input feature for 2D convolution operation.
  • Refine cmake about CUDA to automatically detect GPU architecture.
  • Improved website navigation.

Bug Fixes

  • Fix bug in ROI pooling. cc9a761
  • Fix AUC is zero when label is dense vector. #5274
  • Fix bug in WarpCTC layer.