wuyi05
26d95a6bbf
fix new remote updater for go pserver
8 years ago
dongzhihong
bfc3b4365c
Merge remote-tracking branch 'origin/develop' into save_state
8 years ago
wuyi05
21dbff57da
Merge branch 'add_golang_precommit' of https://github.com/typhoonzero/Paddle into add_golang_precommit
8 years ago
wuyi05
7848a3fb5c
remove cclient test
8 years ago
yi.wu
4d2a83c750
update again
8 years ago
yi.wu
9f64332258
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_golang_precommit
8 years ago
yi.wu
b68e90be82
fix go test building
8 years ago
wuyi05
b220c4757e
fix auto cgo LDFLAGS
8 years ago
gongweibao
2e302085d7
fix bugs
8 years ago
wuyi05
7c6aa04f61
add go pre-commit and travis build
8 years ago
gongweibao
cd437f5072
fix bugs
8 years ago
gongweibao
166dfbb085
fix cmake errors
8 years ago
gongweibao
3f5e5a24c4
fix cmake error
8 years ago
Qiao Longfei
9045063b53
pserver etcd client ( #2559 )
...
* init etcd cclient
* add etcd
* add etcd.go
* fix compile problem
* move code to etcd.go
* add etcd_lister.go for pserver client
* add etcd_client_test.go
* merge etcd_client_test and client_test
* refine client_test.go
* refine code
* format code
* add TODO and use interface instead of struct
* fix typo of initDesiredPservers
* optimize dir structure of go/pserver/client
* add a flag to config index for pserver
* follow comment
* fix path
* optimize code
* remove err in pserver NewEtcd
* restore comment about /ps_desired
8 years ago
dongzhihong
65afbe1185
"fix gob register error"
8 years ago
dongzhihong
e6c98e4937
Merge remote-tracking branch 'origin/develop' into save_state
8 years ago
dongzhihong
f1330e216a
"saving checkpoint"
8 years ago
dongzhihong
1100f97e57
"fix style check"
8 years ago
dongzhihong
5ef1425adb
"init saving model"
8 years ago
dongzhihong
85c4352ea8
"pass style check"
8 years ago
dongzhihong
99e22a825d
"fix pre-commit hook failed"
8 years ago
dongzhihong
7228533121
test
8 years ago
dongzhihong
b9c15b6fff
"remove unused tests"
8 years ago
dongzhihong
7b2bcbe210
"polish cgo link option"
8 years ago
dongzhihong
f712b027a7
"fix protobuf depend"
8 years ago
dzhwinter
c38331315f
Merge branch 'develop' into go_optimizer
8 years ago
helinwang
fae606fc96
Merge pull request #2659 from helinwang/cmake
...
Improve Go cmake, add go/master/c into cmake include path..
8 years ago
dzhwinter
36f8b84809
Merge branch 'develop' into go_optimizer
8 years ago
Helin Wang
59cf5e7796
Fix Go cmake
8 years ago
dzhwinter
ff4b4cff4a
Merge pull request #2654 from dzhwinter/client_gradient
...
"fix client send empty gradients bug"
8 years ago
dongzhihong
c5e8e27ba6
"change empty gradient to error"
8 years ago
dongzhihong
44e3924663
"fix client send empty gradients bug"
8 years ago
dongzhihong
6bb84b963d
"remove unused debug info"
8 years ago
dongzhihong
42dcffc29c
"add optimizer full test"
8 years ago
dongzhihong
05ddf23e1d
"add log of create optimizer"
8 years ago
Helin Wang
4cc9680cc6
Make pserver able to get server index without etcd (decouple pserver with etcd)
...
The pserver need to have server index for saving model on the
distributed file system. The server index comes from etcd if etcd is
used, or user can manually specify them. So we need
pserver.NewService() to take index as an argument. Since index could
come from etcd, it would be strange if pserver takes an index as
argument, at the same time get the index from etcd. so we will need to
decouple pserver with etcd.
8 years ago
Helin Wang
2f52cb7909
fix pserver test
8 years ago
dongzhihong
a2fabcc114
"fix client test"
8 years ago
dongzhihong
b49c9baa35
"remove unuse comment"
8 years ago
dongzhihong
80d915049f
" add elementtype in optimizer"
8 years ago
dongzhihong
7f03817806
"cgo ldflags config"
8 years ago
gangliao
de77faf589
Merge pull request #2583 from gangliao/go_generic
...
FIX: Polish go library
8 years ago
dongzhihong
242df4f07b
"copy parameter content with memcpy"
8 years ago
dongzhihong
864386d596
"change log in optimizer"
8 years ago
dongzhihong
cebfae9467
"move proto.txt to testdata folder"
8 years ago
dongzhihong
c44a94b4dc
"fix cmake build flags"
8 years ago
dongzhihong
12749ad552
"fix cmake flags in optimizer"
8 years ago
liaogang
736af1f1a5
FIX: go get dependencies automatically
8 years ago
yi.wu
0824061ea3
set ps_desired when pserver init
8 years ago
dzhwinter
59b40ecb78
revert parameter with []byte
8 years ago
Helin Wang
fd8937556f
Master save and load state from etcd
8 years ago
liaogang
869f2b3861
FIX: Polish go library
8 years ago
Helin Wang
e558ed0d5e
fix etcd lease
...
I made a comment in WuYi's PR that this is not necessary, so WuYi
removed it. Turns out it's necessary after confirming with coreOS
developer.
8 years ago
武毅
94bfe2b64c
Merge pull request #2544 from typhoonzero/pserver_etcd
...
Pserver etcd registration
8 years ago
dzhwinter
7386b06ccd
"add optimizer naive link option"
8 years ago
dzhwinter
eaed87b00f
"fix optimizer include error"
8 years ago
wuyi05
0b936e9399
update pserver etcd
8 years ago
dzhwinter
cc487c09f7
"fix typo delete"
8 years ago
dzhwinter
1f217f0ab3
"add c testing, python testing TODO"
8 years ago
dzhwinter
5128714c00
"integrate go and optimizer library"
8 years ago
wuyi05
badcdfe1e5
pserver etcd registration
8 years ago
qiaolongfei
4c4b689f6a
disable go master
8 years ago
qiaolongfei
d9aac1e13d
add WITH_Go to disable compile go to paddle
8 years ago
helinwang
1a12720bb2
Merge pull request #2468 from helinwang/master_dispatch
...
Implement master client for reading training tasks
8 years ago
Helin Wang
094106adfa
use logrus for logging
8 years ago
Helin Wang
4970484d37
improve comment, fix build error
8 years ago
xuwei06
7613733d75
Fix pserver cmake
...
Use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR to make it more portable (when paddle is used as subdirectory)
8 years ago
Helin Wang
7b9080ef56
Implement master client, cgo and Python part
8 years ago
乔龙飞
91f82aba5c
Merge pull request #2413 from jacquesqiao/newparameterupdater
...
new parameterupdater use paddle pserver cclient of go
8 years ago
qiaolongfei
c093a24336
clang format check
8 years ago
qiaolongfei
ebba2b139b
update code with new cclient
8 years ago
qiaolongfei
8941a38514
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into newparameterupdater
8 years ago
Helin Wang
13867a0cb5
fix build issue caused by rebase
8 years ago
Helin Wang
0bebaa05be
fix according to comments
8 years ago
Helin Wang
9bd74ddac3
fix some linter warnings
8 years ago
Helin Wang
54e8263cae
implement master server client, remove unnecessary dummy variable
8 years ago
Helin Wang
72a73ab6d2
implement master server client, RPC part.
8 years ago
Helin Wang
f05649afb7
move connection to higher hierarchy, master package need to use it too.
8 years ago
Helin Wang
22b5a388cf
fix according to comments
8 years ago
qiaolongfei
37594eae17
add paramConfig for each parameter
8 years ago
qiaolongfei
dc458a0d5a
change go version
8 years ago
qiaolongfei
da3e84a6d2
change trainer_id
8 years ago
qiaolongfei
4f366be4e2
clang format
8 years ago
qiaolongfei
39d0b3de99
add test file mnist_test.py, free resource of newRemoteParameterUpdater properly
8 years ago
qiaolongfei
c44f5dd883
add simple updater, this version can train a model
8 years ago
Helin Wang
0e71ab29db
fix comment
8 years ago
Helin Wang
83c852c12b
better logging
8 years ago
Helin Wang
ce3408a7a6
modify pserver client C API, create better test
...
Please refer to the change design doc for what in API have changed.
8 years ago
qiaolongfei
966bf9ae1f
fix the problem in cclient when malloc paddle_parameter
8 years ago
qiaolongfei
28476f5f6e
fix the problem of paddle_send_grad
8 years ago
qiaolongfei
6f1c91da99
refine code
8 years ago
qiaolongfei
99dc60642d
new parameterupdater use paddle pserver cclient of go
8 years ago
Helin Wang
05f260d849
fix cclient build on mac, and test warnings
8 years ago
Helin Wang
17e2b3a19a
fix merge conflict
8 years ago
Helin Wang
319c91cc14
make variable name more expressive
8 years ago
Helin Wang
c225528739
fix cgo example
8 years ago
Helin Wang
0babf84b0f
implement pserver RPC part, and simple parameter partition.
8 years ago
Helin Wang
28b23e6db5
move paddle/go to go, move go/cclient to go/pserver/cclient, move go/crecordio to go/recordio/c
8 years ago