occlum/demos/xgboost
yuanwu 66b64f8276 Update the xgboost to latest version
Intel has optimized the xgboost in latest version. Performance has
obvious acceleration in benchmark. In svm training with Yahoo LTR data,
latest version gets 7.8X acceleration in host, and 2X acceleration in occlum.

Signed-off-by: yuanwu <yuan.wu@intel.com>
2020-10-18 09:59:06 +08:00
..
patch Update the xgboost to latest version 2020-10-18 09:59:06 +08:00
.gitignore Add XGBoost demo 2019-11-30 13:39:26 +00:00
download_and_build_xgboost.sh Update the xgboost to latest version 2020-10-18 09:59:06 +08:00
install_cmake.sh Update the xgboost to latest version 2020-10-18 09:59:06 +08:00
Makefile Polish the XGBoost demo 2020-06-05 15:09:26 +08:00
README.md Fix the demo's compiling failure in some cases 2020-04-15 14:14:00 +08:00
run_xgboost.sh Add XGBoost demo 2019-11-30 13:39:26 +00:00

Use XGBoost in SGX with Occlum

Step 1: Download XGBoost and its dependencies, and then build XGBoost

./download_and_build_xgboost.sh

When completed, the resulting XGBoost can be found in xgboost_src directory.

Step 2: To train data with XGBoost in a single process, run

make test

Step 3: To train data with a two-node XGBoost cluster, run

make test-local-cluster

Step 4 (Optional): To train data with XGBoost in a single process in Linux, run

make test-native