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

compile with multiple threads #15

Closed
chenglin opened this issue Mar 23, 2022 · 3 comments
Closed

compile with multiple threads #15

chenglin opened this issue Mar 23, 2022 · 3 comments

Comments

@chenglin
Copy link

I find that compile can only use one cpu core. For my model, it may take long time to compile.

Can make compile with multiple threads, just like make -j ?

@siboehm
Copy link
Owner

siboehm commented Mar 23, 2022

This would require splitting the tree into multiple compilation units, which has some downsides and lots of additional complexity. Parallelization is also only one of the ways to improve compilation time. Therefore it's not on my roadmap currently. Most workflows that I've heard of where people use lleaves is to compile their final model once for deployment, hence a ~20min compile time for a very large model is a nuisance but not a show stopper.

@siboehm
Copy link
Owner

siboehm commented Apr 3, 2022

Closing, since this is not currently on my agenda.

@siboehm siboehm closed this as completed Apr 3, 2022
@mirekphd
Copy link

a ~20min compile time for a very large model is a nuisance but not a show stopper.

... which is considerably longer than it takes to train such a model (even without a GPU) on say, 1 million rows and 100 cols of data:) Not good, but I agree it is not a show-stopper given that you can parallelize compilation over multiple models.

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