LightGBM icon indicating copy to clipboard operation
LightGBM copied to clipboard

[Enhancement] Accelerate tree learning by GPU

Open guolinke opened this issue 10 years ago • 10 comments

This is an interesting topic and may can further accelerate the learning speed of LightGBM. @chivee @xuehui1991 Please investigate about this.

guolinke avatar Oct 20 '16 00:10 guolinke

yes, we still need to investigate the bottleneck for (or give an statics about ) GPU computing, such as moving data via PCI v.s. computing gradients. However, the multiprocessor feature will definitely helping accelerate the computing process.

chivee avatar Oct 20 '16 03:10 chivee

according to benchmarks in xgboost project, GPU can speed-up building tree severel times (i7-6700K vs. Titan X (pascal)), what is impresive..

https://github.com/dmlc/xgboost/pull/1848/commits/f0c61666a7041f4159d966b9ade8fa27e44eb786

gugatr0n1c avatar Dec 09 '16 13:12 gugatr0n1c

https://github.com/huanzhang12/lightgbm-gpu/issues/1, a community version of gpu

chivee avatar Mar 09 '17 08:03 chivee

@huanzhang12, glad to see you have the plan to create PR back. we can have discussion here, and work together to enable GPU training

chivee avatar Mar 13 '17 10:03 chivee

@chivee Thanks! I am working on finalizing my GPU code. One thing I need to do right now is to update my branch to the upstream LightGBM master. Since there are a lot of changes in v2 (commit 4f77bd28), I need to make sure I don't break anything. I will let you guys know if I have any questions or concerns. Thanks!

huanzhang12 avatar Mar 14 '17 04:03 huanzhang12

@huanzhang12 , Sure, feel to ask if you need any help.

chivee avatar Mar 14 '17 07:03 chivee

@guolinke @chivee Some quick updates: I have mostly finished upgrading my GPU code to v2: https://github.com/huanzhang12/lightgbm-gpu/tree/v2. I am currently working on implementing the Dense4bitsBin on GPU (which is new in v2), and doing more testing. I hope I can get the code ready to review and merge by the end of this week.

huanzhang12 avatar Mar 22 '17 04:03 huanzhang12

@huanzhang12 awesome, looking forward to your contribution.

guolinke avatar Mar 22 '17 04:03 guolinke

Refer to https://github.com/Microsoft/LightGBM/pull/368#

chivee avatar Mar 27 '17 06:03 chivee

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

github-actions[bot] avatar Aug 24 '23 02:08 github-actions[bot]