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> |
||
---|---|---|
.. | ||
patch | ||
.gitignore | ||
download_and_build_xgboost.sh | ||
install_cmake.sh | ||
Makefile | ||
README.md | ||
run_xgboost.sh |
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