Skip to content

Commit

Permalink
Unittest recover (#41431) (#41590)
Browse files Browse the repository at this point in the history
* update name

* update name

* fix test

* fix fleet bind

* update name

* update name

* fix test

* fix gpups wrapper

* remove Push/Pull/Load/Save with context in client and wrapper base class

* fix

* fix

* remove some interface

* fix

* remove

* code style

* recover

* fix

* remove code unused

* remove some unused table & accessor & CommonDenseTable => MemoryDenseTable

* fix

* fix

* fix

* recover

* remove unused code

* recover unittest

* fix

* remove

* fix

* remove code unuseful

* remove

* fix

* recover

* remove

Co-authored-by: esythan <esythan@126.com>

Co-authored-by: esythan <esythan@126.com>
  • Loading branch information
zhaocaibei123 and esythan authored Apr 11, 2022
1 parent 5efa81b commit 74626f6
Show file tree
Hide file tree
Showing 12 changed files with 52 additions and 893 deletions.
310 changes: 0 additions & 310 deletions paddle/fluid/distributed/common/sparse_sharding_merge.h

This file was deleted.

38 changes: 37 additions & 1 deletion paddle/fluid/distributed/ps/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# 目录说明

> 成型之后,上级目录的 table、thirdparty、table、service 目录可以删除,communicator_common.h 、fleet.cc、fleet.h 删除
Table: for param storage and update
-----MemorySparseTable: table for sparse param, used in cpu async mode
-----MemoryDenseTable: table for dense param, used in cpu async/geo mode
-----MemorySparseGeoTable: table for sparse param, used in cpu async mode
-----CommonGraphTable: table used for graph learning
-----BarrierTable: table for barrier function, used in cpu sync mode
-----TensorTable: table which run program, used for learning rate decay only

ValueAccessor: for pull param and push gradient
-----CtrCommonAccessor: pull/push value with show/click, float type
-----DownpourCtrDoubleAccessor: same as CtrCommonAccessor, other than show/click with double type
-----SparseAccessor: used for common embedding, pull value without show/click, push value with show/click
-----CommMergeAccessor: used for dense table only, for get param dim

PsService(proto): for server to handle request
-----PsBaseService
----------BrpcPsService: for cpu dnn training task
----------GraphBrpcService: for graph learning
-----HeterService: for dnn training task with heterogeneous computing resources

PSServer: recv request from trainer and handle it by service
-----BrpcPsServer: for cpu dnn training task
-----GraphBrpcServer: for graph learning
-----PsLocalServer: for GpuPS

HeterServer: for HeterPS

PSClient: pull param and push gradient for trainer
-----BrpcPsClient: for cpu dnn training task
----------GraphBrpcClient: for graph learning
-----PsLocalClient: for GpuPS

HeterClient: for HeterPS

PSCore: Wrapper for InitServer

GraphPyService: for graph learning
Loading

0 comments on commit 74626f6

Please sign in to comment.