Skip to content

Distributed Training API and Benchmark on Paddle Fluid

License

Notifications You must be signed in to change notification settings

MrChengmo/Fleet

 
 

Repository files navigation

Fleet

Fleet is High-Level API for distributed training in PaddlePaddle. The name of Fleet means that a large crowd of ships working together to finish a large scale job. The design of Fleet makes a trade-off between easy-to-use and algorithmic extensibility and is highly efficient. First, a user can shift from local machine paddlepaddle code to distributed code within ten lines of code. Second, different algorithms can be easily defined through distributed strategy through Fleet API. Finally, distributed training is extremely fast with Fleet and just enjoy it.

Note: all the examples here should be replicated from develop branch of Paddle

Fleet is Highly Efficient

Deep neural networks training with Fleet API is highly efficient in PaddlePaddle. We benchmark serveral standard models here.

Parameter Server Training

Parameter server training benchmark is performed on click through rate estimation task on Criteo Dataset and Semantic Representation Learning on One-billion word Dataset. Details of hardware and software information for this benchmark can be found in .

Collective Training

Collective Training is usually used in GPU training in PaddlePaddle. Benchmark of collective training with Fleet is as follows. Details of hardware and software information for this benchmark can be found in .

Fleet is Easy To Use

Fleet is easy to use for both collective training and parameter server training. Here is an example for collective training with Fleet.

python -m paddle.distributed.launch --selected_gpus="0,1,2,3" trainer.py

More Examples

About

Distributed Training API and Benchmark on Paddle Fluid

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 63.8%
  • Python 29.9%
  • C++ 2.8%
  • Cuda 2.0%
  • Shell 1.1%
  • Makefile 0.3%
  • CMake 0.1%