Closed szilard closed 4 years ago
@szilard
in 3.0.0 version, LightGBM implements 2 different algorithms for tree learning.
one is better for single-thread, another one is good for multi-thread.
It will have a small test for these two before training, and choose the faster one.
So it is possible.
If you output the logs of LightGBM [Warning]
, there will be information about the chosen algorithms.
Thank you so much @guolinke for solving the "mystery". It was also weird that I saw this behavior only on c5 but not on r4 instances for example. Now it's all clear, thanks for clarifying. 💯
On 10M rows c5.metal lightgbm is 2.5x faster on 2 cores vs 1 core. Any idea @guolinke why?
so 1 core ~219 sec, 2 cores ~85 sec!