forked from dmlc/xgboost
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support of xgb worker fail recovery for approx
- Loading branch information
Showing
10 changed files
with
80 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule rabit
updated
5 files
+10 −2 | CMakeLists.txt | |
+0 −4 | src/allreduce_base.cc | |
+5 −4 | src/allreduce_robust.cc | |
+2 −2 | src/allreduce_robust.h | |
+9 −7 | src/engine.cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Originally an example in demo/regression/ | ||
tree_method=approx | ||
eta = 0.5 | ||
gamma = 1.0 | ||
seed = 0 | ||
min_child_weight = 0 | ||
max_depth = 5 | ||
|
||
num_round = 12 | ||
save_period = 100 | ||
data = "../../demo/data/agaricus.txt.train" | ||
eval[test] = "../../demo/data/agaricus.txt.test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
tree_method=hist | ||
eta = 0.1 | ||
gamma = 1.0 | ||
seed = 0 | ||
min_child_weight = 0 | ||
max_depth = 5 | ||
|
||
num_round = 11 | ||
save_period = 100 | ||
data = "../../demo/data/agaricus.txt.train" | ||
eval[test] = "../../demo/data/agaricus.txt.test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
#run make in rabit/test to generate librabit_mock | ||
#update config.mk and build xgboost using mock | ||
export DMLC_SUBMIT_CLUSTER=local | ||
|
||
submit="python3 ../../dmlc-core/tracker/dmlc-submit" | ||
# build xgboost with librabit mock | ||
# define max worker retry with dmlc-core local num atempt | ||
# instrument worker failure with mock=xxxx | ||
# check if host recovered from expectected iteration | ||
echo "====== 1. Fault recovery distributed test ======" | ||
$submit --cluster=local --num-workers=10 --local-num-attempt=10 ../../xgboost $1 mock=0,10,1,0 mock=1,11,1,0 mock=1,11,1,1 mock=0,11,1,0 mock=4,11,1,0 mock=9,11,1,0 mock=8,11,2,0 mock=4,11,3,0 rabit_bootstrap_cache=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters