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. cc9a761a
  • Fix AUC is zero when label is dense vector. #5274
  • Fix bug in WarpCTC layer.

项目简介

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)

🚀 Github 镜像仓库 🚀

源项目地址

https://github.com/paddlepaddle/paddle

发行版本 60

PaddlePaddle 2.5.0 Release Note

全部发行版

贡献者 246

全部贡献者

开发语言

  • C++ 49.8 %
  • Python 41.0 %
  • Cuda 7.0 %
  • CMake 1.1 %
  • Shell 0.6 %