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 LightGBM to WebAssembly output #5372

Closed
ghost opened this issue Jul 13, 2022 · 3 comments
Closed

Compile LightGBM to WebAssembly output #5372

ghost opened this issue Jul 13, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 13, 2022

Summary

My team builds a c++ library which has direct dependency on LightGBM tool. We were planning to sandbox the tool and for that to complete we want documentation on how to compile LightGBM into WebAssembly code.

Motivation

Since sandboxing or running c++ code in browser is one of the hot topics in the market, LightGBM providing official documentation on compiling to WebAssembly will be a huge win for everyone.

Description

Requesting for new documentation to be created which shows compilation of LightGBM to WebAssembly. We don't have a preference for tool to be used for compilation as long as output is in wasm format.

References

emscripten-core/emscripten#16592 -> similar issue while using emscripten tool for compiling c++ code

@jameslamb
Copy link
Collaborator

Thanks very much for this @shyam-lab ! I've added it to our list of feature requests in #2302 . Per this repo's policy, I'll close this issue for now until someone leaves a comment saying they'd like to work on this.

But to set the right expectation...I don't believe this will be worked on by LightGBM's maintainers any time soon. I don't know if any of the current maintainers have any experience with WebAssembly, and we are already struggling to keep up with the demand for changes to the existing C, C++, Python, and R code in this project.

If you do figure out how to do this, please post your solution here.

If you or anyone else reading this are interested in doing the work to add this support and in maintaining that documentation, we can have a conversation here about possibly including that in this repository.

@github-actions
Copy link

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 github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2023
@jameslamb
Copy link
Collaborator

Sorry, this was locked accidentally. Just unlocked it. We'd still love help with this feature!

@microsoft microsoft unlocked this conversation Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant