Skip to content

Commit af5afab

Browse files
authored
Create install-xgboost-gpu
1 parent 593da15 commit af5afab

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

install-xgboost-gpu

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## :key: win10上安装XGBoost-GPU
2+
1. 找个位置:`git clone --recursive https://github.com/dmlc/xgboost`;
3+
2. 下载[编译文件](http://www.picnet.com.au/blogs/guido/2016/09/22/xgboost-windows-x64-binaries-for-download/),并放到xgboost/python-package/xgboost中;
4+
3. 在xgboost/python-package/目录下运行`python setup.py install`;
5+
4. 检测`cd xgboost/demo/gpu-acceleration/ || python cover_type.py`。
6+
7+
## :key: Ubuntu上安装XGBoost-GPU
8+
1. 找个位置:`git clone --recursive https://github.com/dmlc/xgboost`;
9+
2. `cd xgboost`, then `mkdir build`, then `cmake .. -DUSE_CUDA=ON` and `make -j4`;
10+
3. `cd xgboost/python-package/`后,运行`sudo apt-get install python-setuptools`和`sudo -s python setup.py install`;
11+
4. 检测`cd xgboost/demo/gpu-acceleration\ || python cover_type.py`。

0 commit comments

Comments
 (0)