Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LightGBM 中文文档 - 要构建 LightGBM GPU 版本, 运行以下命令( 内容更新了) #42

Open
jiangzhonglian opened this issue May 11, 2018 · 2 comments
Assignees

Comments

@jiangzhonglian
Copy link
Member

中文地址:
http://lightgbm.apachecn.org/zh/latest/Installation-Guide.html#id8

git clone --recursive https://github.com/Microsoft/LightGBM ; cd LightGBM
mkdir build ; cd build
cmake -DUSE_GPU=1 ..
# if you have installed the NVIDIA OpenGL, please using following instead
# sudo cmake -DUSE_GPU=1 -DOpenCL_LIBRARY=/usr/local/cuda/lib64/libOpenCL.so -OpenCL_INCLUDE_DIR=/usr/local/cuda/include/ ..
make -j4

英文原文地址:
http://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#id8

git clone --recursive https://github.com/Microsoft/LightGBM ; cd LightGBM
mkdir build ; cd build
cmake -DUSE_GPU=1 ..
# if you have installed NVIDIA CUDA to a customized location, you should specify paths to OpenCL headers and library like the following:
# cmake -DUSE_GPU=1 -DOpenCL_LIBRARY=/usr/local/cuda/lib64/libOpenCL.so -DOpenCL_INCLUDE_DIR=/usr/local/cuda/include/ ..
make -j4
@wangyangting
Copy link
Member

感谢提出该问题,由于这份文档,我们当时组织翻译的时候,最新版本为 v2.0.11,所以在我们 github 上的分支为 v2.0.11,随着官方技术文档的更新,貌似最新的已经迭代到 v2.1.1 了,升级了一个小版本,所以和我们的文档应该是有细微上的差别。

如果官方技术文档未有重大更新的话,我们可能暂时不会更新该中文文档的版本,暂时停留在 v2.0.11 版本了,由于贡献者个人精力和时间关系,谢谢谅解了。

@yuanjie-ai
Copy link

GPu加速不明显哇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants